euler_xzy#

pyCGM2.Math.euler.euler_xzy(Matrix: ndarray, similarOrder: bool = True)#

Decompose a rotation matrix using the YZX Euler sequence.

Parameters:
  • Matrix (np.ndarray) – Rotation matrix to decompose.

  • similarOrder (bool, optional) – Flag to return outputs mapping the YZX sequence. Defaults to True.

Returns:

Tuple[float, float, float] – Euler angles (YZX) derived from the rotation matrix.