mne.write_source_spaces#

mne.write_source_spaces(fname, src, *, overwrite=False, verbose=None)[source]#

Write source spaces to a file.

Parameters
fnamestr

The name of the file, which should end with -src.fif or -src.fif.gz.

srcinstance of SourceSpaces

The source spaces (as returned by read_source_spaces).

overwritebool

If True (default False), overwrite the destination file if it exists.

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.