Skip to content

Commit

Permalink
Merge pull request #507 from ggmarshall/new_main
Browse files Browse the repository at this point in the history
Updates to energy calibration to fix issues found and to a/e to combine multiple calibration runs
  • Loading branch information
jasondet authored Aug 2, 2023
2 parents 034a3fb + c15507b commit 5301420
Show file tree
Hide file tree
Showing 6 changed files with 2,046 additions and 658 deletions.
2 changes: 1 addition & 1 deletion src/pygama/math/peak_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def fit_unbinned(func, data, guess=None,
m.simplex().migrad()
else:
m.migrad()
m.hesse()
m.minos()
return m.values, m.errors, m.covariance

def goodness_of_fit(hist, bins, var, func, pars, method='var', scale_bins=False):
Expand Down
Loading

0 comments on commit 5301420

Please sign in to comment.