tomodrgn.utils.rot_3d_from_relion#

rot_3d_from_relion(a: float, b: float, y: float) ndarray[source]#

Convert Euler angles from RELION to a 3-D rotation matrix.

Parameters:
  • a – Rotation angle A in degrees (typically _rlnAngleRot).

  • b – Rotation angle B in degrees (typically _rlnAngleTilt).

  • y – Rotation angle Y in degrees (typically _rlnAnglePsi).

Returns:

3-D rotation matrix, shape (3, 3)