mne.read_talxfm

mne.read_talxfm(subject, subjects_dir=None, verbose=None)[source]

Compute MRI-to-MNI transform from FreeSurfer talairach.xfm file.

Parameters
subjectstr

The FreeSurfer subject name.

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.

Returns
mri_mni_tinstance of Transform

The affine transformation from MRI to MNI space for the subject.

Examples using mne.read_talxfm