Skip to main content

Module savitzky_golay

Module savitzky_golay 

Source
Expand description

Savitzky-Golay smoothing and differentiation by local polynomial least squares.

See the book entry Savitzky-Golay smoothing.

Functions§

savitzky_golay
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.
savitzky_golay_coefficients
Convolution coefficients of a Savitzky-Golay filter.