pub fn deconvolve(
signal: &[f64],
divisor: &[f64],
) -> Result<(Vec<f64>, Vec<f64>), ErrorsJSL>Expand description
Inverse filtering (SciPy’s deconvolve): the quotient q and remainder r with
signal = divisor ∗ q + r, q being the impulse response of signal(z)/divisor(z) for
len(signal) − len(divisor) + 1 samples. It is polynomial division, so it is unstable when the
divisor has zeros outside the unit circle.