to_euler#

Quaternion.to_euler(degrees: bool = False, **kwargs) ndarray[source]#

Return the normalized quaternions as Euler angles in the Bunge convention [Rowenhorst et al., 2015].

Parameters:
degrees

If True, the given angles are returned in degrees. Default is False.

Returns:
eu

Array of Euler angles in radians (degrees=False) or degrees (degrees=True), in the ranges \(\phi_1 \in [0, 2\pi]\), \(\Phi \in [0, \pi]\), and \(\phi_1 \in [0, 2\pi]\).