euler_zyz_to_orix#
- de_ebsd.index.spherical.euler_zyz_to_orix(alpha, beta, gamma)[source]#
Convert active
ZYZEuler angles to anorix.quaternion.Rotation.alpha,beta,gammaare array-likes (numpy arrays, torch tensors, or scalars, in radians) broadcast to a common shape. The returned Rotation has that shape and satisfiesR.to_matrix() == (R_z(alpha) R_y(beta) R_z(gamma))^T: the SOFT triple is passed to orix’s Bunge (ZXZ)from_euleras(alpha + pi/2, beta, gamma - pi/2).