Algorithm for optimal denoising of Raman spectra | Synapse