Python, Cross Correlation, Geophysics, Time Series Analysis, Time Series Data.
ax[1].axvline(x=timeshift, c='r', lw=0.5, ls='--') ax[1].axvline(x=lags[np.argmax(rs)], c='r', lw=0.5, ls='--', label='max time correlation') ax[1].legend(fontsize=6) plt.subplots_adjust(hspace=0.25, wspace=0.1) plt.savefig('xcorr_fn_delta.png', bbox_inches='tight', dpi=300) plt.close('all')