mne.write_label

mne.write_label(filename, label, verbose=None)[source]

Write a FreeSurfer label.

Parameters
filenamestr

Path to label file to produce.

labelLabel

The label object to save.

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.

Notes

Note that due to file specification limitations, the Label’s subject and color attributes are not saved to disk.