eeg_findboundaries#

eeg_findboundaries(*, EEG)#

EEG_FINDBOUNDARIES - return indices of boundary events.

Usage:

boundaries = eeg_findboundaries(EEG) boundaries = eeg_findboundaries(EEG=EEG[‘event’]) # if passing events directly

Inputs:

EEG - input EEG dataset structure (dict) or EEG[‘event’] (list of dicts)

Outputs:

boundaries - indices of boundary events (0-based)