A previous PR (#20) introduced a basic check for the parametrization of the Savitzgy Golay filter.
It missed a condition for a window_length of 0 (i.e., disabling the filter), and would also crash
in those cases. This change rectifies this, and let's a window length of zero pass.
A previous PR (#20) introduced a basic check for the parametrization of the Savitzgy Golay filter. It missed a condition for a window_length of 0 (i.e., disabling the filter), and would also crash in those cases. This change rectifies this, and let's a window length of zero pass.