mne.head_to_mni(pos, subject, mri_head_t, subjects_dir=None, verbose=None)[source]

Convert pos from head coordinate system to MNI ones.

posarray, shape (n_pos, 3)

The coordinates (in m) in head coordinate system.


The FreeSurfer subject name.

mri_head_tinstance of Transform

MRI<->Head coordinate transformation.

subjects_dirstr | None

The path to the FreeSurfer subjects reconstructions. It corresponds to FreeSurfer environment variable SUBJECTS_DIR.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

coordinatesarray, shape (n_pos, 3)

The MNI coordinates (in mm) of pos.


This function requires either nibabel.

Examples using mne.head_to_mni