scipp.spatial.rotation_as_rotvec#
- scipp.spatial.rotation_as_rotvec(rotation, *, unit='rad')#
Represent a rotation matrix (or matrices) as rotation vector(s).
This requires
scipy
to be installed, as is wrapsscipy.spatial.transform.Rotation.as_rotvec()
.A rotation vector is a 3 dimensional vector which is co-directional to the axis of rotation and whose norm gives the angle of rotation.