pycartool.io.read_ris#

pycartool.io.read_ris(filename, source_space=None, subject=None, verbose=None)[source]#

Read Cartool Results of Inverse Solution computation (.ris) file.

Parameters:
filenamestr or file-like

The .ris file to read.

source_spacepycartool.spi.SourceSpace

The source space corresponding to the source estimate.

subjectstr or file-like

The subject used to create the source estimate.

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:
source_estimatepycartool.ris.SourceEstimate

The SourceEstimate extracted from ris file.