Python, Cross Correlation, Geophysics, Time Series Analysis, Time Series Data.
author) Compute the cross-correlation in time-domain d1, d2 = timeSeriesDf[time_series[ind1]], timeSeriesDf[time_series[ind2]] window = 10 # lags = np.arange(-(fs), (fs), 1) # uncontrained lags = np.arange(-(200), (200), 1) # contrained rs = np.nan_to_num([crosscorr(d1, d2, lag) for lag in lags])