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 | pathlib.Path | None

The path to the directory containing the FreeSurfer subjects reconstructions. If None, defaults to the SUBJECTS_DIR environment variable.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns
mri_mni_tinstance of Transform

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

Examples using mne.read_talxfm