-
(note: I am using the orix fork mentioned in #442 to fix mean orientation issues) Hello! I was wondering whether I was doing this correctly. # what pole figure direction are we interested in?
pole_figure_direction = Miller(uvw=[1,1,1], phase=Phase_B)
# we have one Orix `Orientation` for grain A, and one Orix `Orientation` each for grains in B
B_direcs_in_A_frame = []
# iterate over grains in B
for orien_B in oriens_B:
# get [111] crystal direction from grain B frame into lab frame
B_direc_in_lab = ~orien_B * pole_figure_direction
# rotate into the frame of the parent grain
B_direc_in_A = orien_A * B_direc_in_lab
B_direcs_in_A_frame.append(B_direc_in_A.data)
# then make a pole figure of B_direcs_in_A_frame... Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi James! Yes, my understanding agrees with yours here. The transformations you stack should give you the crystal directions in grain A that are parallel with [111] in grain B. Do you get expected results? |
Beta Was this translation helpful? Give feedback.
Hi James!
Yes, my understanding agrees with yours here. The transformations you stack should give you the crystal directions in grain A that are parallel with [111] in grain B. Do you get expected results?