Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Automated Spectral Smoothing with Spatially Adaptive Penalized Least-Squares



Aaron A. Urbas, Steven J. Choquette


A variety of data smoothing techniques exist to address the issue of noise in spectroscopic data. The vast majority, however, require parameter specification by a knowledgeable user, which is typically accomplished by trial and error. In most situations, however, optimal parameters represent a compromise between noise reduction and signal preservation. In this work, we demonstrate a non-parametric regression approach to spectral smoothing using a spatially adaptive penalized least squares (SAPLS) approach. An iterative optimization procedure is employed that permits gradual flexibility in the smooth fit when statistically significant trends based on multiscale statistics assuming white Gaussian noise are detected. With an estimate of the noise level in the spectrum the procedure is fully automatic with a specified confidence level for the statistics. The potential application to the heteroscedastic noise case is also demonstrated. Performance was assessed in simulations using several synthetic spectra by traditional error measures as well as the modality of the resulting fits. For the simulated spectra, a bset case comparison with Savitzky-Golay smoothing method via an exhaustive parameter search was performed while the SAPLA method was assessed for automated application. The applicatiom to several dissimilar experimentally obtained Raman spectra is also presented.
Applied Spectroscopy


automated smoothing, noise reduction, non-parametric regression, spectroscopy


Urbas, A. and Choquette, S. (2011), Automated Spectral Smoothing with Spatially Adaptive Penalized Least-Squares, Applied Spectroscopy, [online], (Accessed May 26, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created June 1, 2011, Updated February 17, 2017