FitResults#

class jetset.minimizer.FitResults(name, mm, parameters, calls, mesg, success, chisq, dof, chisq_red, null_hyp_sig, wd, chisq_no_UL=None, dof_no_UL=None, chisq_red_no_UL=None, null_hyp_sig_no_UL=None)[source]#

Bases: object

Container for fit statistics and parameter-report state.

Notes

Instances are produced after minimization and collect convergence information, chi-square metrics (optionally including UL-free variants), and parameter tables used by reporting and serialization helpers.

Attributes Summary

bestfit_table

Bestfit table.

Methods Summary

load_report(file_name)

Load object state from disk.

save_report([name])

Save object state to disk.

show_report()

Print the formatted fit report to stdout.

update_report()

Refresh cached report tables from current parameter state.

Attributes Documentation

bestfit_table#

Bestfit table.

Returns:

Requested value.

Return type:

object

Methods Documentation

classmethod load_report(file_name)[source]#

Load object state from disk.

Parameters:

file_name (object) – Input/output file path.

Returns:

Loaded object.

Return type:

object

save_report(name=None)[source]#

Save object state to disk.

Parameters:

name (object, optional) – Name identifier.

show_report()[source]#

Print the formatted fit report to stdout.

Notes

Falls back to a plain warning if rich formatting fails.

update_report()[source]#

Refresh cached report tables from current parameter state.

Notes

This rebuilds both full and best-fit parameter tables.