Raman spectra background removal
104 views (last 30 days)
Show older comments
I have a problem with the removal of background of my SERS spectra. The raw spectrum looks like thisNormally I use the Asymetric least square baseline removal after I create a spectrum with a flat line instead of the first big peak and then I subtract it from the original spectrum. In spectra like this when I follow this procedure I get negative values in the beggining after the removal of the background. I am not an expert but negative values should not exist right? Any ideas how to solve this? Thank you all in advance
1 Comment
Csaba
on 2 Oct 2019
Edited: Csaba
on 2 Oct 2019
You probably have an edge filter to remove the backscattered light (Raleigh scattering) from the very low wavenumber region. So the "first big peak" is probably because of the transparency of the filter. You should not replace it with a flat line, just simple omit it and have a spectrum from ~ 50-200 cm-1 up to the desied value. If you try the Asymetric least square baseline removal for this part of the spectrum only, it will probably work fine. ALS does not like sudden, big jumps.
Accepted Answer
Star Strider
on 27 Sep 2019
The ‘baseline’ of your data appears to be something resembling a logistic curve, although perhaps reversed. You will likely have to fit the section where the x- values are greater than 1000, then evaluate it over the entire x-range. See if the approach in Shifting Baselines of Raman Spectra suggests a solution to your problem.
6 Comments
Star Strider
on 8 Oct 2019
As always, my pleasure!
I am not certain what it should look like, so my code may need to be tweaked. (For some reason, the plot image I posted appeared only as the file name, and not the image. If I had known that, I would have attached it separately.)
More Answers (2)
Eirini Bernikola
on 6 Oct 2019
3 Comments
Star Strider
on 9 Oct 2019
@Csaba — The one you are commenting on belongs to Erini Bernikola (and should have been posted as a Comment to my Answer rather than an Answer). Mine is the first Answer in the thread.
See Also
Categories
Find more on Digital Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!