cogpy.spectral.psd

PSD estimators with unified return convention.

Status

STATUS: ACTIVE Reason: Unified (psd, freqs) interface over Welch and multitaper paths. Superseded by: n/a Safe to remove: no

All functions:

arr: (…, time) input signal psd: (…, freq) float64, one-sided power spectral density freqs: (freq,) float64, Hz, strictly increasing

Functions

psd_from_mtfft(mtfft, freqs, fs, N, *[, ...])

Derive averaged PSD from pre-computed tapered FFTs.

psd_multitaper(arr, fs, *[, NW, K, fmin, ...])

Multitaper PSD estimate using DPSS tapers.

psd_welch(arr, fs, *[, fmin, fmax, nperseg, ...])

Welch PSD estimate.