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)