Skip to main content

exponential

Function exponential 

Source
pub fn exponential(
    m: usize,
    center: Option<f64>,
    tau: f64,
) -> FerrayResult<Array<f64, Ix1>>
Expand description

Exponentially decaying window centred on center with time-constant tau.

w(n) = exp(-|n - center| / tau). If center is None, defaults to the geometric centre (M - 1) / 2. tau must be > 0.

Mirrors scipy.signal.windows.exponential / torch.signal.windows.exponential.