euler_zyz_to_orix#

de_ebsd.index.spherical.euler_zyz_to_orix(alpha, beta, gamma)[source]#

Convert active ZYZ Euler angles to an orix.quaternion.Rotation.

alpha, beta, gamma are array-likes (numpy arrays, torch tensors, or scalars, in radians) broadcast to a common shape. The returned Rotation has that shape and satisfies R.to_matrix() == (R_z(alpha) R_y(beta) R_z(gamma))^T: the SOFT triple is passed to orix’s Bunge (ZXZ) from_euler as (alpha + pi/2, beta, gamma - pi/2).