The main problem is that I never see a fit for the first peak and sometimes it also doesn’t preform a fit on the second peak (they are both negative fyi). I first tried to use 1 function for the complete data set which was a sum of two gaussians, but this didn’t do the thing I wanted either. As you can see I’m now trying to fit the two peaks separatly by giving them their own range… anybody any ideas?
This should work, maybe there is a problem with the negative Gaussian., I would need to have a working macro, including the data object, to understand the issue