euler_from_rotationmatrix#

euler_from_rotationmatrix(rotation_matrix, seq='ZYZ')[source]#

Convert a rotation matrix to Euler angles.

Parameters:
rotation_matrixNDArray

Rotation matrix (d,d).

seqstr, optional

Euler angle convention, default to intrinsic ZYZ.

Returns:
NDArray

Corresponding Euler angles in degrees.