Finding an orientation of a grain based on another grain #2198
-
Hello Everyone, I am new to MTex, so pardon if the query is very trivial. I have a FCC grain (ley say g1) with a certain orientation (ley say with Bunge Euler Angle (in degrees): 21.46 156.22 245.5). I am interested in finding the orientation of another grain (ley say g2) such that the plane (111) of g1 is parallel to plane (-1-11) of g2 in a way that directions [ 0 1-1], [-1 0 1] and [1-1 0] of g1 are parallel to the directions [0 -1 -1] [1 0 1] [-1 1 0] of g2. I see from the documentation that probably rotation.map or rotation.fit should be used for this purpose. However, I am not very confident about it. Can you kindly suggest, how can I obtain the orientation of g2 using MTex? Regards, Danish |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You are welcome cs = crystalSymmetry('432');
g1 = orientation.byEuler([21.46 156.22 245.5]*degee,cs)
mori = orientation.map(Miller(1,1,1,cs),Miller(-1,-1,1,cs),Miller(0,1,-1,cs,'uvw'),Miller(0,-1,-1,cs,'uvw')))
g2 = g1 * inv(mori) Ralf. |
Beta Was this translation helpful? Give feedback.
You are welcome
Ralf.