lucabaldini / hexsample

Solid-state hybrid detectors with hexagonal sampling.
https://lucabaldini.github.io/hexsample/
GNU General Public License v3.0
2 stars 0 forks source link

Tweak double gaussian #45

Closed chiaratomaiuolo closed 7 months ago

chiaratomaiuolo commented 7 months ago

After improvement in modeling.py of DoubleGaussian fit method, analysis grids has been cleaned (being the order of fitted parameters guaranteed to be the standard one: 0 for alpha peak, 1 for beta peak) and rerun successfully.

Changing static method init_parameters() in DoubleGaussian permitted to improve fit, that now converges for all cases of the grid of values analyzed in analyze_grid.py.

PyLint has been run on all modified scripts.