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, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Notes

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