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

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