mne.
write_labels_to_annot
(labels, subject=None, parc=None, overwrite=False, subjects_dir=None, annot_fname=None, colormap=’hsv’, hemi=’both’, verbose=None)[source]¶Create a FreeSurfer annotation from a list of labels.
Parameters: | labels : list with instances of mne.Label
subject : str | None
parc : str | None
overwrite : bool
subjects_dir : string, or None
annot_fname : str | None
colormap : str
hemi : ‘both’ | ‘lh’ | ‘rh’
verbose : bool, str, int, or None
|
---|
Notes
Vertices that are not covered by any of the labels are assigned to a label named “unknown”.