This documentation is for development version 0.18.dev0.


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

Write a FreeSurfer label.

filename : string

Path to label file to produce.

label : Label

The label object to save.

verbose : bool, str, int, or None

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


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