Skip to content

Commit

Permalink
fixed asymmetric parameter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GuenterQuast committed Apr 5, 2023
1 parent 2d769d8 commit b52e2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PhyPraKit/PhyPraKit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@ def k2hFit(fitf, data, bin_edges,
parae = np.array(list(zip(-pare, pare)))

if not quiet:
hfit.report(asymmetric_parameter_errors=True)
hfit.report(asymmetric_parameter_errors=asym_parerrs)

if plot:
# plot data, uncertainties, model line and model uncertainties
Expand All @@ -1848,7 +1848,7 @@ def k2hFit(fitf, data, bin_edges,

# plot with defined options
kplot.plot(fit_info=fit_info, residual=plot_residual,
asymmetric_parameter_errors=True)
asymmetric_parameter_errors=asym_parerrs)

if plot_cor:
cpf = ContoursProfiler(hfit)
Expand Down

0 comments on commit b52e2f6

Please sign in to comment.