tomodrgn.utils.rot_3d_from_relion_scipy#

rot_3d_from_relion_scipy(euler_: ndarray, degrees: bool = True) ndarray[source]#

Convert a Nx3 array of RELION euler angles to rotation matrices using Scipy Rotations class.

Parameters:
  • euler – Array of Euler angles to convert to rotation matrices.

  • degrees – Whether angles in euler_ are expressed in degrees.

Returns:

Nx3x3 array of rotation matrices.