mne.channels.compute_dev_head_t#

mne.channels.compute_dev_head_t(montage)[source]#

Compute device to head transform from a DigMontage.

Parameters:
montageDigMontage

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

Returns:
dev_head_tTransform

A Device-to-Head transformation matrix.