inquiry about misorientation axis calculation #2245
Answered
by
ralfHielscher
dkajfnln
asked this question in
Ask Anything
-
Beta Was this translation helpful? Give feedback.
Answered by
ralfHielscher
Oct 12, 2024
Replies: 1 comment
-
In your case the misorientation axes of Aztec Crystal and MTEX coincide. They only differ by (1) rounding and (2) which of the symmetrically equivalent axes is returned. Check out the following code % set up the misorientation
cs = crystalSymmetry('6/mmm', [2.95 2.95 4.73], 'X||a*', 'Y||b', 'Z||c*', 'mineral', 'Ti-Hex', 'color', [0.53 0.81 0.98]);
ori1 = orientation.byEuler(117.1828*degree,54.6*degree,52.9143*degree,cs)
ori2 = orientation.byEuler(138.5187*degree,110.9740*degree,52.1452*degree,cs)
angle(ori1,ori2)/degree
% compute the misorientation
mori = inv(ori1)*ori2;
% compute the misorientation axis
ax1 = mori1.axis
% round the misorientation axis - now it coincides with the AZTEC axis
ax2 = round(mori.axis,'maxHKL',3)
% the angle between both axes
angle(ax1,ax2) /degree
% show both axes in an ipf plot
plot(mori.axis,'fundamentalSector')
hold on
plot(round(mori.axis,'maxHHK',3))
hold off Ralf. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ralfHielscher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your case the misorientation axes of Aztec Crystal and MTEX coincide. They only differ by (1) rounding and (2) which of the symmetrically equivalent axes is returned. Check out the following code