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, 10)

MaxFilter-formatted position and quaternion parameters.

Returns:

translation : ndarray, shape (N, 3)

Translations at each time point.

rotation : ndarray, shape (N, 3, 3)

Rotations at each time point.

t : ndarray, shape (N,)

The time points.