pycartool.io.read_is#

pycartool.io.read_is(filename, verbose=None)[source]#

Read Cartool inverse solution (.is) file.

Parameters:
filenamestr or file-like

Path to the inverse solution file (.is) to read.

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:
inverse_solutionarray

Inverse solution matrices. n_dim=1 if solutions are scalar or n_dim=3 for vectorial solutions. shape(n_regularizations, n_dim, n_solutionpoints, n_channels).