tomodrgn.utils.rot_3d_from_eman#

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

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

Parameters:
  • a – Rotation angle A in degrees.

  • b – Rotation angle B in degrees.

  • y – Rotation angle Y in degrees.

Returns:

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