tilt_matrix#

cbclib.bin.tilt_matrix(angles: numpy.ndarray)[source]#

Calculate a rotation matrix for a set of three angles 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\).

Parameters

angles (numpy.ndarray) – A set of angles \(\theta, \alpha, \beta\).

Returns

A set of rotation matrices.

Return type

numpy.ndarray