mne.channels.compute_dev_head_t

mne.channels.compute_dev_head_t(montage)[source]

Compute device to head transform from a DigMontage.

Parameters
montageinstance of DigMontage

The DigMontage must contain the fiducials in head coordinate system and hpi points in both head and meg device coordinate system.

Returns
dev_head_tinstance of Transform

A Device-to-Head transformation matrix.

Examples using mne.channels.compute_dev_head_t