Skip to main content

Module maximum_entropy

Module maximum_entropy 

Source
Expand description

Maximum entropy spectral estimation (Burg’s method).

Among all spectra consistent with a set of measured autocorrelation lags, the maximum entropy one is the all-pole (autoregressive) spectrum σ² / |A(e^{jω})|². Burg’s algorithm estimates the AR model directly from the data by minimising the forward and backward prediction error together, stage by stage, without first forming an autocorrelation estimate. Compared with the periodogram it resolves closely spaced sinusoids from short records and never windows the data, at the price of needing a model order (and, for high orders, spurious peaks).

See the book entry Parametric spectra: linear prediction, Burg and MUSIC.

Structs§

BurgResult
The result of Burg’s AR estimation.

Functions§

ar_psd
Evaluates the all-pole power spectral density σ² / (fs |A(e^{jω})|²) at the given frequencies (Hz), as a two-sided density per Hz.
burg
Burg’s method for an AR model of the given order (1 <= order < x.len()).
maximum_entropy_spectrum
Maximum entropy power spectral density estimate of a real signal from an order-order Burg AR model, on num_points evenly spaced frequencies from 0 to Nyquist inclusive.