mne.channels.compute_native_head_t

mne.channels.compute_native_head_t(montage)[source]

Compute the native-to-head transformation for a montage.

This uses the fiducials in the native space to transform to compute the transform to the head coordinate frame.

Parameters
montageinstance of DigMontage

The montage.

Returns
native_head_tinstance of Transform

A native-to-head transformation matrix.