to_euler#
- Rotation.to_euler(degrees: bool = False, **kwargs) ndarray[source]#
Return the rotations as Euler angles in the Bunge convention [Rowenhorst et al., 2015].
- Parameters:
- degrees
If
True, the given angles are returned in degrees. Default isFalse.
- Returns:
euArray 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]\).