-
Beta Was this translation helpful? Give feedback.
Answered by
mkasemer
Apr 8, 2022
Replies: 1 comment 6 replies
-
The orientations are by default printed as Rodrigues vectors. The orientation output can be printed using various parameterizations, including various flavors of Euler angles and angle-axis parameterizations. To get what you need, I suggest converting any of the parameterizations printed from Neper to a rotation matrix, and using said matrix to transform two vectors in the sample frame to the crystal frame using standard vector transformation techniques, facilitated through the calculation of the rotation matrix. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
rquey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@majidmech
The orientations are by default printed as Rodrigues vectors. The orientation output can be printed using various parameterizations, including various flavors of Euler angles and angle-axis parameterizations.
To get what you need, I suggest converting any of the parameterizations printed from Neper to a rotation matrix, and using said matrix to transform two vectors in the sample frame to the crystal frame using standard vector transformation techniques, facilitated through the calculation of the rotation matrix.