Skip to content

Crystal orientation issue #434

Answered by mkasemer
majidmech asked this question in Q&A
Apr 8, 2022 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

@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.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@mkasemer
Comment options

@majidmech
Comment options

@majidmech
Comment options

@rquey
Comment options

@majidmech
Comment options

Answer selected by rquey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants