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
quatsndarray, shape (N, 10)

MaxFilter-formatted position and quaternion parameters.

Returns
translationndarray, shape (N, 3)

Translations at each time point.

rotationndarray, shape (N, 3, 3)

Rotations at each time point.

tndarray, shape (N,)

The time points.