A simple algorithm is presented for the fast and fully automatic removal of peak shifts in large spectral data sets. It is able to remove peak shifts exceeding the discrete spectral resolution. The algorithm has been applied to Raman spectra of three solution copolymerizations of styrene (Sty) and butyl acrylate (BA) performed on three separate days. Small Raman peak shifts, smaller than the spectral resolution, and induced by the on/off switching of the laser and the repositioning of the grating, could successfully be removed prior to partial least squares (PLS) regression. It is demonstrated that after shift correction, the ability of PLS to predict Sty and BA concentrations is improved. Due to its speed, the algorithm is suitable to eliminate real time (on-line) spectral shifts from the spectra. This makes re-calibration or model adaptation forced by spectral shifts superfluous. The proposed algorithm may likewise be used to remove peak/wavelength shifts in mid-IR, near-IR, and NMR spectra, as well as to remove retention time shifts in chromatograms.
Witjes, H., van den Brink, H. J. T., Melssen, W. J., & Buydens, L. M. C. (2000). Automatic correction of peak shifts in Raman spectra before PLS regression. Chemometrics and Intelligent Laboratory Systems, 52(1), 105-116. https://doi.org/10.1016/S0169-7439(00)00085-X