05-16-2018 05:41 AM - edited 05-16-2018 05:42 AM
Hello,
I have as input a set of 16 spectra.
I would like to correct automatically the baseline.
I did an attempt that I attached here and I hope I can get your help to make it work properly.
My objective is to use the vi to correct the baseline for similar spectra without the need to adjust manually the parameters of the correction.
Thanks,
Zied
05-16-2018 05:55 AM
Hi Zied,
I would like to correct automatically the baseline. I did an attempt that I attached here
And what is your problem?
Where do you need help?
Right now you calculate a BSpline fit for each spectrum: is this your "baseline"?
05-22-2018 06:59 AM
Hi Gerd,
I attached an updated Vi where I plotted the spectra. you will notice that the spctra have different baseline especially for the first 35 points.
My goal is to have a method that can correct automatically the baselines in order to compare the spectra between each other.
I think I have something missing inside the for loop.
Thanks,
Zied
05-23-2018 06:23 PM
Hi ziedhosni,
It seems like this is an artifact of your data, but if you wanted to force these down you could potentially put a high pass filter from 0 to 35 to filter out everything but the smaller peaks.