eeg_getdatact#

eeg_getdatact(EEG, *args, return_boundaries=False, **kwargs)#

Return selected channel data, component activity, or a backprojection.

Channel, component, trial, and sample selectors are EEGLAB-facing 1-based indices. icachansind remains an internal 0-based EEGPrep field. By default the result has shape (signals, samples, trials); pass reshape="2d" to concatenate trials along the sample axis.

Parameters:
  • EEG (Any) – One EEG dictionary, a .set path, or a sequence of datasets.

  • *args (Any) – Optional EEGLAB-style key/value pairs.

  • return_boundaries (bool) – Also return continuous boundary offsets.

  • **kwargs (Any) – channel, component, rmcomps, projchan, trialindices, samples, interp, reshape, and verbose.

Returns:

The selected data, optionally paired with continuous boundary offsets.

Return type:

Any