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_epochworkflow. Callingpop_epoch(EEG)opens the EEGPrep GUI; passingtypesandlimruns directly. Returnedindicesare 0-based Python indices into the accepted time-locking event list. Usereturn_com=Truefor GUI/session callers that need(EEG, command)for shared history.