I have this .txt file and I need to fit a Gauss Curve to every peak to get a spectrum. But I do not know why my code is not working. Any help?
I tried to fit a Gauss Curve to my data sets by defining it and using the data from the .txt file. Sadly that did not work.
Maybe you want to get this plot :
You can try this simple code :
With "data.txt" the file you linked.
I croped the data to 700 because after that it's only zeros.