Hello,
my fitting routine seems to be unable to produce any proper results.
I am not that experienced yet, so it might be a rather simple mistake, but please take a look nonetheless.
Here is the code:
pastebin.com/Z8vH6v1s
Here is the data:
pastebin.com/aRKjwVaZ
EDIT:
data[i] = (0-data[i])+380e3;
This line rearranges my data in such a way, that the peaks are positive and start at zero. If possible I want to fit the peaks in their original form, but as I was unable to do so, I settled for this workaround. In case you are able to fit them in previous state, please tell me how you did that.
Thanks in advance,
Zephy