eegprep.timewarp#
- eegprep.timewarp(ev_latency, new_latency)#
Return the linear interpolation matrix that warps event latencies.
ev_latencyandnew_latencyuse EEGLAB’s 1-based frame indexing. Multiplying the returned matrix by a column time series maps samples so the original event frames align with the requested event frames.