correlation_shift

mdcraft.analysis.polymer.correlation_shift(x: ndarray[float | complex], y: ndarray[float | complex] = None, /, axis: int = None, *, average: bool = False, double: bool = False, vector: bool = False) ndarray[float | complex][source]

Evaluates the autocorrelation functions (ACF) \(\mathrm{R_\mathbf{XX}}(\tau)\) or cross-correlation functions (CCF) \(\mathrm{R_\mathbf{XY}}(\tau)\) of time series \(\mathbf{X}(t)\) and \(\mathbf{Y}(t)\) directly by using sliding windows.

See also

This function is an alias for mdcraft.algorithm.correlation.correlation_shift().