pop_importegimat#
- pop_importegimat(filename, srate=None, latpoint0=0.0, data_field='Session', *, fileloc='auto', return_com=False)#
Import a segmented or continuous EGI Net Station MATLAB file.
Net Station segmented exports store one channel-by-sample matrix per
<condition>_Segment<number>variable. They become trials ordered first by condition name and then by segment number, with one event per trial. Continuous exports are read fromdata_field("Session"by default). An embedded scalarsamplingRatetakes precedence oversrate.- Parameters:
filename (str | Path) – MATLAB file exported by EGI Net Station.
srate (float | None) – Sampling rate in Hz when the file does not contain
samplingRate.latpoint0 (float) – Milliseconds from the start of each segment to time zero.
data_field (str) – Continuous-data variable name or MATLAB-compatible prefix.
fileloc (str | Path | None) – EGI montage filename.
"auto"selects the packaged montage from the imported channel count; an empty string skips locations.return_com (bool) – Return
(EEG, command)when true.
- Returns:
An EEG dictionary, optionally paired with its replayable history command.
- Return type: