Why and How Savitzky–Golay Filters Should Be Replaced
Open accessThe DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
Savitzky-Golay (SG) filtering, based on local least-squares fitting of the data by polynomials, is a popular method for smoothing data and calculations of derivatives of noisy data. At frequencies above the cutoff, SG filters have poor noise suppression; this unnecessarily reduces the signal-to-noise ratio, especially when calculating derivatives of the data. In addition, SG filtering near the boundaries of the data range is prone to artifacts, which are especially strong when using SG filters for calculating derivatives of the data. We show how these disadvantages can be avoided while keeping the advantageous properties of SG filters. We present two classes of finite impulse response (FIR) filters with substantially improved frequency response: (i) SG filters with fitting weights in the shape of a window function and (ii) convolution kernels based on the sinc function with a Gaussian-like window function and additional corrections for improving the frequency response in the passband (modified sinc kernel). Compared with standard SG filters, the only price to pay for the improvement is a moderate increase in the kernel size. Smoothing at the boundaries of the data can be improved with a non-FIR method, the Whittaker-Henderson smoother, or by linear extrapolation of the data, followed by convolution with a modified sinc kernel, and we show that the latter is preferable in most cases. We provide computer programs and equations for the smoothing parameters of these smoothers when used as plug-in replacements for SG filters and describe how to choose smoothing parameters to preserve peak heights in spectra.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Smoothing and Differentiation of Data by Simplified Least Squares Procedures.
Savitzky, A., & Golay, M. J. E. (1964) · Analytical Chemistry · doi:10.1021/ac60214a047 · Cited by 21,904
Savitzky-Golay Smoothing Filters
Press, W. H., & Teukolsky, S. A. (1990) · Computers in Physics · doi:10.1063/1.4822961 · Cited by 11,670 · cited 1×
“1 The SG kernels can be calculated numerically 9 or from analytical formulas.”
On the use of windows for harmonic analysis with the discrete Fourier transform
Harris, F. J. (1978) · Proceedings of the IEEE · doi:10.1109/proc.1978.10837 · Cited by 7,326
Review of the most common pre-processing techniques for near-infrared spectra
Rinnan, Å., Berg, F. V. D., & Engelsen, S. B. (2009) · TrAC Trends in Analytical Chemistry · doi:10.1016/j.trac.2009.07.007 · Cited by 3,057 · cited 1×
“Since their introduction more than half a century ago, 1 Savitzky − Golay (SG) fi lters have been popular in many fi elds of data processing; ranging from spectra in analytical chemistry 2 − 4 via geosciences 5 to medicine.”
Reinsch, C. H. (1967) · Numerische Mathematik · doi:10.1007/bf02162161 · Cited by 2,236
What Is a Savitzky-Golay Filter? [Lecture Notes]
Schafer, R. (2011) · IEEE Signal Processing Magazine · doi:10.1109/msp.2011.941097 · Cited by 1,786 · cited 4×
“8,12 Most recent developments regarding SG fi lters focus on adaptive SG fi ltering and adjusting the fi lter parameters to best fi t the signal and noise of a given data set, 5,6,13 not on improving the fi lter.”
InfluentialEilers, P. H. C. (2003) · Analytical Chemistry · doi:10.1021/ac034173t · Cited by 1,340 · cited 2×
“15 WH smoothing is not an FIR fi lter; solving eq 9 for the smoothed function z leads to a matrix equation with a band-diagonal matrix that can be solved in O ( N ) time for N data points.”
Madden, H. H. (1978) · Analytical Chemistry · doi:10.1021/ac50031a048 · Cited by 742
General least-squares smoothing and differentiation by the convolution (Savitzky-Golay) method
Gorry, P. A. (1990) · Analytical Chemistry · doi:10.1021/ac00205a007 · Cited by 690 · cited 1×
“30 This method is also used in the Matlab and GNU Octave sgolayfilt function.”
Whittaker, E. T. (1922) · Proceedings of the Edinburgh Mathematical Society · doi:10.1017/s0013091500077853 · Cited by 504
Spline Smoothing: The Equivalent Variable Kernel Method
Silverman, B. W. (1984) · The Annals of Statistics · doi:10.1214/aos/1176346710 · Cited by 441 · cited 1×
“Far from the boundaries of the data set, WH smoothing behaves similar to an FIR fi lter (with a very large kernel), 26 with the response to the unit impulse corresponding to the kernel (Figure 1).”
Binomial smoothing filter: A way to avoid some pitfalls of least-squares polynomial smoothing
Marchand, P., & Marmet, L. (1983) · Review of Scientific Instruments · doi:10.1063/1.1137498 · Cited by 261 · cited 1×
“This problem has been noted previously, but the solution suggested in that work 31 was very similar to convolution with a Gaussian, sacri fi cing the good preservation of peak heights and the fl at passband and sharp cuto ff in the frequency domain.”
On the Selection of Optimum Savitzky-Golay Filters
Krishnan, S. R., & Seelamantula, C. S. (2013) · IEEE Transactions on Signal Processing · doi:10.1109/tsp.2012.2225055 · Cited by 241 · cited 2×
“8,12 Most recent developments regarding SG fi lters focus on adaptive SG fi ltering and adjusting the fi lter parameters to best fi t the signal and noise of a given data set, 5,6,13 not on improving the fi lter.”
Pre-processing in vibrational spectroscopy – when, why and how
Rinnan, Å. (2014) · Analytical Methods · doi:10.1039/c3ay42270d · Cited by 162
Peris‐Díaz, M. D., & Krężel, A. (2020) · TrAC Trends in Analytical Chemistry · doi:10.1016/j.trac.2020.116157 · Cited by 143
Signal-to-Noise Ratio Enhancement by Least-Squares Polynomial Smoothing
Enke, C. G., & Nieman, T. A. (1976) · Analytical Chemistry · doi:10.1021/ac50002a769 · Cited by 130
Compositional assessment of bone by Raman spectroscopy
Ünal, M., Ahmed, R., Mahadevan-Jansen, A. M., & Nyman, J. S. (2021) · The Analyst · doi:10.1039/d1an01560e · Cited by 108
Efficient computation for Whittaker–Henderson smoothing
Weinert, H. L. (2006) · Computational Statistics & Data Analysis · doi:10.1016/j.csda.2006.11.038 · Cited by 90 · cited 2×
“Whittaker − Henderson smoothing minimizes the functional − 16 The sums over i run over all data points.”
Discrete-time windows with minimal RMS bandwidth for given RMS temporal width
Starosielec, S., & Hägele, D. (2014) · Signal Processing · doi:10.1016/j.sigpro.2014.03.033 · Cited by 41
Improving the frequency response of Savitzky-Golay filters via colored-noise models
Kennedy, H. L. (2020) · Digital Signal Processing · doi:10.1016/j.dsp.2020.102743 · Cited by 29
A fast compact algorithm for cubic spline smoothing
Weinert, H. L. (2008) · Computational Statistics & Data Analysis · doi:10.1016/j.csda.2008.10.036 · Cited by 25
Roy, I. (2019) · Geophysical Prospecting · doi:10.1111/1365-2478.12892 · Cited by 25 · cited 2×
“8,12 Most recent developments regarding SG fi lters focus on adaptive SG fi ltering and adjusting the fi lter parameters to best fi t the signal and noise of a given data set, 5,6,13 not on improving the fi lter.”
He, J., Sun, C., & Wang, P. (2019) · Sensors · doi:10.3390/s19204382 · Cited by 21 · cited 1×
“8,12 Most recent developments regarding SG fi lters focus on adaptive SG fi ltering and adjusting the fi lter parameters to best fi t the signal and noise of a given data set, 5,6,13 not on improving the fi lter.”
Cited by
Visualizing the energy landscape for a molecular dynamics trajectory
Neuman, V., Wesołowski, P. A., Bojarski, K. K., Dewan, D., Schäffler, M., Smardz, P., & Wales, D. J. (2026) · The Journal of Chemical Physics · doi:10.1063/5.0310206 · Cited by 6
Metadata
- Authors
- Schmid, M., Rath, D., & Diebold, U.
- Venue
- ACS Measurement Science Au
- Publisher
- American Chemical Society (ACS)
- Published
- 2022-02-18
- Volume
- 2
- Issue
- 2
- Pages
- 185-196
- ISSN
- 2694-250X (ISSN-L)
- OpenAlex
- W4213281528
- Cited by
- 229
- References
- 23
- FWCI
- 18.31
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.