Skip to main content

triang

Function triang 

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

Triangular window of length m (#738).

Centre = 1, linearly decreasing to (1/m) at the edges (slightly different from Bartlett, which decays to 0 at the edges). Equivalent to scipy.signal.windows.triang.

ยงErrors

Only on internal array construction failure.