myimagelib.corrLib.autocorr1d

myimagelib.corrLib.autocorr1d(x, t)

Compute the temporal autocorrelation of a 1-D signal.

Parameters
  • x – 1-D signal,

  • t – the corresponding time of the signal, should be np.array 1d

Returns

  • corr – correlation array, with lag time as index

  • lagt – lag time of the correlation function

Edit

07272022

Handle time series with missing values.