mne.transforms.
quat_to_rot
Convert a set of quaternions to rotations.
quat : array, shape (…, 3)
q1, q2, and q3 (x, y, z) parameters of a unit quaternion.
rot : array, shape (…, 3, 3)
The corresponding rotation matrices.
See also
rot_to_quat