Noise calculation of Raman spectra #79
georgievgeorgi
started this conversation in
Ideas
Replies: 1 comment
-
Sorry, even though I plan to allocated some specific time to play with your code and try a couple of things, I did not have time yet to look into it. In short, I was thinking in maybe using SNIP with a large radious of the rolling ball to substract the whole spectrum. So the same approach as using savitzky golay. Alternatively, after baseline substraction, cut all the higher intensities from the values in the spectrum (removing the peaks) and see what is left, if we end up with the background, this could give a value of the noise. But i am not sure how well this will work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@nicocopez, @lellid
I am trying to automate the peak finding algorithm. In order to do so a reliable estimate for the noise is needed. Here I implemented the algorithm proposed by @lellid but the results, however, are still not satisfactory.
The idea behind the algorithm is to subtract a smooth version of the signal (thinking that smoothing will suppress the noise) from the original signal. This should result to noise-only spectrum. The signal smoothing is done by savgol(width=3, order=1). Using wider window will be averaging also the peaks.
Here is an example that illustrates the problem:
In the case of Neon the noise is a little overestimated due to the sharp peaks. While in the polystyrene case the noise underestimated. Possible reason for this is that the "noise" in polystyrene measurement does not have that high frequency.
For example here:
Beta Was this translation helpful? Give feedback.
All reactions