scipp.spatial.rotations(*, dims, values)#

Creates a rotation-type variable from the provided quaternion coefficients.

The quaternion coefficients are provided in scalar-last order (x, y, z, w), where x, y, z and w form the quaternion w + xi + yj + zk.


values (Union[ndarray, list]) – a numpy array of numpy arrays corresponding to the quaternion coefficients (w, x*i, y*j, z*k)