pyCGM2.Model.frame.quaternion_TO_angleAxis#
- pyCGM2.Model.frame.quaternion_TO_angleAxis(quaternion: ndarray) ndarray #
Converts a quaternion to an angle-axis representation.
- Parameters:
quaternion (np.ndarray) – A 4-element array representing a quaternion.
- Returns:
np.ndarray – Angle-axis representation of the quaternion.