pub fn envelope(x: &[f64]) -> Result<Vec<f64>, ErrorsJSL>
The amplitude envelope |x + i H{x}|, the magnitude of the analytic signal (equal to SciPy’s abs(hilbert(x))).
|x + i H{x}|
abs(hilbert(x))