pyeeg.utils.lag_sparse

pyeeg.utils.lag_sparse(times, srate=125)

Create an array of lags for the requested time point in times.

Parameters:
  • times (list) – List of time point in seconds

  • srate (float) – Sampling rate

Returns:

lags – Array of lags in _samples_

Return type:

1d array