pub fn savitzky_golay(
y: VR1D<'_>,
window: usize,
order: usize,
deriv: usize,
delta: f64,
) -> Result<R1D, ErrorsJSL>Expand description
Applies a Savitzky-Golay filter to y. Near the ends the polynomial fitted to the first/last
window samples is evaluated (SciPy’s mode="interp"), so the output has the input’s length.
Requires y.len() >= window.