precess_mat#

diffsims.utils.kinematic_simulation_utils.precess_mat(alpha, theta)[source]#

Generates rotation matrices for precession curves.

Parameters:
alphafloat

Angle (in degrees) of precession tilt

thetafloat

Angle (in degrees) along precession curve

Returns:
Rnumpy.ndarray [float], (3, 3)

Rotation matrix associated to the tilt of alpha away from the vertical axis and a rotation of theta about the vertical axis.