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