precess_mat#
- diffsims.utils.atomic_diffraction_generator_utils.precess_mat(alpha, theta)[source]#
Generates rotation matrices for precession curves.
- Parameters:
alpha (float) – Angle (in degrees) of precession tilt
theta (float) – Angle (in degrees) along precession curve
- Returns:
R – Rotation matrix associated to the tilt of alpha away from the vertical axis and a rotation of theta about the vertical axis.
- Return type:
numpy.ndarray [float], (3, 3)