visbrain.io.read_stc

visbrain.io.read_stc(path)[source][source]

Read an STC file from the MNE package.

STC files contain activations or source reconstructions obtained from EEG and MEG data.

This function is a copy from the PySurfer package. See : https://github.com/nipy/PySurfer/blob/master/surfer/io.py

Parameters:
pathstring

Path to STC file

Returns:
datadict
The STC structure. It has the following keys:

tmin The first time point of the data in seconds tstep Time between frames in seconds vertices vertex indices (0 based) data The data matrix (nvert * ntime)

Examples using visbrain.io.read_stc

Brain object (BrainObj) : complete tutorial

Brain object (BrainObj) : complete tutorial

Plot MEG inverse solution

Plot MEG inverse solution

Plot vector-valued MEG inverse solution

Plot vector-valued MEG inverse solution