sample_to_detector#

property EBSDDetector.sample_to_detector: Rotation#

Return the orientation matrix which transforms vectors in the sample reference frame, CSs, to the detector reference frame, CSd.

Notes

This is the matrix U_s as defined in the paper by Britton et al. [Britton et al., 2016].

The return value has type orix.quaternion.Rotation. To obtain a np.ndarray from this, call u_s_rot.to_matrix(), or u_s_rot.to_matrix().squeeze(), to obtain a 2D, 3x3 array.

The matrix describing the reverse transformation, i.e. from the detector reference frame, CSd, to the sample reference frame, CSs, can be obtained like this: ~EBSDDetector.sample_to_detector