tomodrgn.utils.rot_3d_to_relion_scipy#

rot_3d_to_relion_scipy(rot: ndarray, degrees: bool = True) ndarray[source]#

Convert an array of Nx3x3 rotation matrices to RELION euler angles using Scipy Rotations class.

Parameters:
  • rot – Nx3x3 array of rotation matrices.

  • degrees – Whether to express the output Euler angles in degrees

Returns:

Nx3 array of RELION euler angles