make_timewarp#

make_timewarp(eeg, event_sequence, *args, baseline_latency=0.0, event_conditions=None, max_std_for_absolute=inf, max_std_for_relative=inf, **kwargs)#

Select epochs containing an ordered event sequence.

Conditions may be callables receiving the current event-field mapping or simple arithmetic/comparison strings such as "latency < 200". Strings are parsed with a restricted expression evaluator; arbitrary code is never executed. Returned epoch indices are zero-based.

EEGLAB names baselineLatency, eventConditions, maxSTDForAbsolute, and maxSTDForRelative are accepted as keywords or positional name/value pairs. A MATLAB cell row is accepted as the event sequence or the condition list.

Parameters:
Return type:

dict[str, Any]