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, the destination file (if it exists) will be overwritten. If False (default), an error will be raised if the file exists.

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.

Examples using mne.write_source_spaces