Skip to content

Commit

Permalink
Merge pull request #79 from piberger/fixVcalChiSquared
Browse files Browse the repository at this point in the history
fix chi2/ndf for linear fit in vcal calibration
  • Loading branch information
macjohnny committed May 28, 2015
2 parents 12f5f45 + 00748c2 commit c9afdb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ def PopulateResultData(self):
'Sigma': round(fit.GetParError(0), 3),
},
'chi2': {
'Value': round(fit.GetParameter(0), 3),
'Value': round(fit.GetChisquare() / fit.GetNDF(), 3),
'Label': 'Chi2',
'Unit': 'per NDF',
'Sigma': round(fit.GetChisquare() / fit.GetNDF(), 3),
'Sigma': 0,
},

}
Expand Down

0 comments on commit c9afdb9

Please sign in to comment.