Skip to main content

dpss

Function dpss 

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

The discrete prolate spheroidal sequence (Slepian) window with time-half-bandwidth product nw: of all sequences of length m, the one with the largest fraction of its energy in the band |f| < nw / m. It is the eigenvector for the largest eigenvalue of a symmetric tridiagonal matrix that commutes with the concentration problem; that eigenvalue is located by Sturm bisection and the eigenvector found by inverse iteration, as in SciPy’s dpss.