Skip to main content

gausspulse

Function gausspulse 

Source
pub fn gausspulse(
    t: &[f64],
    fc: f64,
    bw: f64,
    bwr: f64,
) -> Result<GaussPulse, ErrorsJSL>
Expand description

exp(−a t²) exp(2πi f_c t) (SciPy’s gausspulse), with a chosen so that the spectrum’s width at bwr dB (−6 by default) is the fraction bw of f_c.