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.

srcSourceSpaces

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

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.