scipp.geometry.rotation_matrix_from_quaternion_coeffs#
- scipp.geometry.rotation_matrix_from_quaternion_coeffs(value)#
Construct a rotation matrix from quaternions.
- Parameters:
value (
Union
[list
,tuple
,ndarray
]) – Coefficients for the 4 quaternions in a one dimensional array of 4 elements.- Raises:
If the input size is not 4.
- Returns:
Variable
– 3x3 rotation matrix
Deprecated since version 23.03.1: Will be removed in favor of
scipp.spatial.rotations()
.