timescales.conversions.psd_to_acf

Contents

timescales.conversions.psd_to_acf#

timescales.conversions.psd_to_acf(freqs, powers, fs)[source]#

Convert a PSD to ACF.

Parameters:
freqs1d array

Frequency definition.

powers1d

Power spectral density.

fsfloat

Sampling rate, in Hertz.

Returns:
lags1d array

Lag definitions.

corrs1d array

Correlation coefficients.