Morph a set of labels.
This is useful when morphing a set of non-overlapping labels (such as those
obtained with read_labels_from_annot()
) from one subject to
another.
list
The labels to morph.
str
The subject to morph labels to.
str
| None
The subject to morph labels from. Can be None if the labels
have the .subject
property defined.
None
The path to the directory containing the FreeSurfer subjects
reconstructions. If None
, defaults to the SUBJECTS_DIR
environment
variable.
str
Surface used to obtain vertex locations, e.g., ‘white’, ‘pial’.
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.
list
The morphed labels.
See also
Notes
This does not use the same algorithm as Freesurfer, so the results
morphing (e.g., from 'fsaverage'
to your subject) might not match
what Freesurfer produces during recon-all
.
New in version 0.18.