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). If used, it should be passed as a keyword-argument only.

Notes

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

Examples using mne.write_label