Skip to main content

bohman

Function bohman 

Source
pub fn bohman(m: usize) -> FerrayResult<Array<f64, Ix1>>
Expand description

Bohman window of length m (#738).

w(n) = (1 - |r|) cos(π|r|) + (1/π) sin(π|r|), where r is the normalised position in [-1, 1]. Equivalent to scipy.signal.windows.bohman.

§Errors

Only on internal array construction failure.