SiLab-Bonn / pylandau

Simple Landau distribution definitions to be used in Python.
GNU Lesser General Public License v2.1
20 stars 4 forks source link

Getting a Langauss fit for Alpha spectrometry data #26

Closed Gomeztroika closed 2 years ago

Gomeztroika commented 2 years ago

I would like to get a Langauss or Landau distribution fitting my data from Alpha spectra I have out of a PIPS detector. I am an intern in Radioactive Measures Laboratory at the University of Basque Country and I want to get characteristics from alpha peaks out of the distribution I get from this. 1-s2 0-S0168900211002725-gr1 My data is a text file wich plotted turns to be 3 well differences peaks: newplot I want the input for the pylandau to be each one of these peaks (inverted, since the real spectra has the "tail" to the left) wich would be an array that plotted is this: newplot (1) Is a one dimensional array in which each term has the number of counts corresponding to a channel from the detector.

image

I don't know if it is possible to get those 9 peak characteristics out of the distribution built by pylandau code, but I would be interested in getting them to feed a Neural Network. The final idea is to get this Neural Network to identify automatically a peak and be able to distinguish overlapped peaks, but of course this has nothing to do directly with your code, is just to give some context. I have very little programming knowledge so would like to get some help with this.

leloup314 commented 2 years ago

Hi @Gomeztroika, thanks for using the issue tracker and providing the detailed description. Sorry for the late reply but currently it is vacation season around here. As you have correctly stated yourself already, your "issue" is not related to the pylandau package but rather generic. Unfortunately, we cannot provide help regarding application-specific user problems. I wish you the best of luck with your idea