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

Returns
srcSourceSpaces

The source spaces.

Examples using mne.read_source_spaces