pycartool.io.read_spi#

pycartool.io.read_spi(filename, subject=None)[source]#

Create a SourceSpace instance from Cartool .spi file.

Parameters:
filenamestr or file-like

The spi file to read.

subjectstr

The subject used to create the source space.

Returns:
SourceSpacepycartool.spi.SourceSpace

The SourceSpace.