mne.write_label

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

Write a FreeSurfer label.

Parameters:

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).

Notes

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