Skip to content

Refactor analysis package#916

Open
thehrh wants to merge 7 commits intomasterfrom
refactor/analysis_package
Open

Refactor analysis package#916
thehrh wants to merge 7 commits intomasterfrom
refactor/analysis_package

Conversation

@thehrh
Copy link
Copy Markdown
Collaborator

@thehrh thehrh commented Mar 9, 2026

  • move configuration of scipy and nlopt minimization settings to separate modules
  • move parameter manipulation tools to another
  • make fit_history and detailed metric info in HypoFitResult configurable (less memory and disk space usage by default) and verify consistency between detailed metric info and the external metric value (where possible; not for a fit that used Detectors -> TODO added)
  • catch any exception due to random failure of constrained-slsqp test
  • remove setting of iprint and disp options for l-bfgs-b
  • cosmetics
  • removal of unused & broken Analysis class (is a replacement of nofit_hypo desirable?)
  • remove global scipy minimization from automatic unit testing (for reduced workflow duration)

Fixes #915
Fixes #913 (create a replacement issue for the randomness)
Closes #910
Fixes #827
Should at least partially address #644

In addition, #661 could be closed as not planned if this PR goes through.

thehrh added 5 commits March 9, 2026 23:21
…mization settings to separate modules, parameter manipulation tools to another; make fit_history and detailed metric info in HypoFitResult configurable; catch any exception due to random failure of constrained-slsqp test; cosmetics
…o use fit_recursively (and also apply some cleanups)
@thehrh thehrh marked this pull request as ready for review March 11, 2026 17:02
thehrh added 2 commits March 12, 2026 14:50
…o setter and warn in case of failure (e.g. for externally constructed HypoFitResult)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment