scipp.spatial.rotations_from_rotvecs#

scipp.spatial.rotations_from_rotvecs(rotation_vectors)#

Creates rotation transformations from rotation vectors.

This requires scipy to be installed, as is wraps scipy.spatial.transform.Rotation.from_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.

Parameters:

rotation_vectors (Variable) – A Variable with vector dtype

Returns:

Variable – An array variable of dtype rotation3.