Skip to main content

chebwin

Function chebwin 

Source
pub fn chebwin(m: usize, at: f64, sym: bool) -> Vec<f64>
Expand description

The Dolph-Chebyshev window of length m with side lobes at dB below the main lobe.

Its transform is the Chebyshev polynomial T_{m−1}(β cos(πk/m)), with β = cosh(acosh(10^{at/20}) / (m − 1)), which has all side lobes at the same level and the narrowest main lobe for that level. The window is obtained from it by a DFT, centred and normalised to a peak of 1, following SciPy’s chebwin.