def to_euler(self, degrees=False, sequence="XYZ"):
        """Converts the quaternion into euler angles."""
        q = Rotation.from_quat([self.x, self.y, self.z, self.w])
        return Euler(*q.as_euler(sequence, degrees=degrees))
Converts the quaternion into euler angles.
fiftyone/core/threed/transformation.py