In this study, we introduced a k-iterative double sliding-window (DSW^k) method for the estimation of spectral noise, signal-to-noise ratio (SNR), and baseline correction. The performance was evaluated using simulated spectra and compared against other commonly employed methods. Convergent evaluation determined that a k value of 20 strikes an optimal balance between convergence and computational intensity. The DSW^k method demonstrated outstanding performance across different spectral types (flat baseline, baseline with elevation, baseline with fluctuation, baseline with elevation and fluctuation) coupled with SNR values from 10 to 1000, achieving results that ranged from 1.01 to 1.08 times of the reference value in estimating spectral noise. It also showed that the estimated SNR values are 0.89 to 0.93 times of the reference value, demonstrating a 74.5 % − 131.7 % improvement over the conventional method in spectra with elevated and/or fluctuating baselines. Additionally, the DSW^k method proved effective in correcting baselines and identifying polymers in environmental samples of polyethylene (PE), polypropylene (PP), and polystyrene (PS), despite the limitation of reducing the peak height in spectra with low SNR. This method offers the potential to enhance the automatic and accurate evaluation of spectral quality and could assist in the development of guidelines for more rapid parameter adjustments in Raman measurements.
Read full abstract