tilt_angles#
- cbclib.bin.tilt_angles(rot_mats: numpy.ndarray)[source]#
Calculate an axis of rotation and a rotation angle for a rotation matrix.
- Parameters
rot_mats (numpy.ndarray) – A set of rotation matrices.
- Returns
A set of three angles \(\theta, \alpha, \beta\), a rotation angle \(\theta\), an angle between the axis of rotation and OZ axis \(\alpha\), and a polar angle of the axis of rotation \(\beta\).
- Return type