timescales.conversions.acf_to_psd

timescales.conversions.acf_to_psd(lags, corrs, fs, normalize=None)[source]

Convert ACF to PSD.

Parameters
lags1d array

Lag definitions.

corrs1d array

Auto-correlations.

fsfloat

Sampling rate, in Hertz.

normalizetuple of (float, float), default: None

Normalize from (min, max).

Returns
freqs1d array

Frequency definition.

powers1d

Power spectral density.