mne.read_source_spaces

mne.read_source_spaces(fname, patch_stats=False, verbose=None)[source]

Read the source spaces from a FIF file.

Parameters
fnamestr

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

patch_statsbool, optional (default False)

Calculate and add cortical patch statistics to the surfaces.

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.

Returns
srcSourceSpaces

The source spaces.

Examples using mne.read_source_spaces