mne.chpi.head_pos_to_trans_rot_t#
- mne.chpi.head_pos_to_trans_rot_t(quats)[source]#
Convert Maxfilter-formatted head position quaternions.
- Parameters:
- quats
ndarray, shape (n_pos, 10) MaxFilter-formatted position and quaternion parameters. See
mne.chpi.read_head_pos()for details on the columns.
- quats
- Returns:
- translation
ndarray, shape (n_pos, 3) Translations at each time point.
- rotation
ndarray, shape (n_pos, 3, 3) Rotations at each time point.
- t
ndarray, shape (n_pos,) The time points.
- translation
See also