mne.coreg.estimate_head_mri_t

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

Estimate the head->mri transform from fsaverage fiducials.

A subject’s fiducials can be estimated given a Freesurfer recon-all by transforming fsaverage fiducials using the inverse Talairach transform, see mne.coreg.get_mni_fiducials().

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
transstr | dict | instance of Transform

If str, the path to the head<->MRI transform *-trans.fif file produced during coregistration. Can also be 'fsaverage' to use the built-in fsaverage transformation.

Examples using mne.coreg.estimate_head_mri_t