Hi,
I have a certain trouble with working with data I have in the table and after few days of thinking I cannot find a solution which would work fast.
The data (map of spectra) I need to work with is imported from the file as a table with following columns:
{position x, position y, spectrum parameter (x1), spectrum intensity (y1)}
Now, I need to substract background and fit a gauss curve for each of the spectra. I tried using EstimatedBackground[] on the whole column with intensities, however, it is far from elegant and leads to mistakes in the background substraction near the beginnings and ends of spectra.
So how to reference spectra in each of the points separately? How to create a tables of spectra with background substracted and tables of fitting parameters in each point (fitting itself is not a problem, I’m doing that currently by selecting each position manually and deleting rows with different x and y, however it takes few hours to compute map with about 1000 points)?
could you please help me? thanks in advance