eegprep.pop_epoch#

eegprep.pop_epoch(EEG=<object object>, types=<object object>, lim=<object object>, *args, gui=None, renderer=None, return_com=False, **kwargs)#

Extract data epochs time locked to event types or event indices.

This mirrors EEGLAB’s pop_epoch workflow. Calling pop_epoch(EEG) opens the EEGPrep GUI; passing types and lim runs directly. Returned indices are 0-based Python indices into the accepted time-locking event list. Use return_com=True for GUI/session callers that need (EEG, command) for shared history.

Parameters: