eeg_context#

eeg_context(EEG, targets=None, neighbors=None, positions=None, field=None, alltargs=None)#

Return target-event context from the original urevent sequence.

Event identifiers in the returned matrices are 1-based. Neighbor searches stop at boundary events and delays are returned in milliseconds.

Parameters:
Return type:

tuple[ndarray, ndarray, ndarray, ndarray, Any, Any]