Skip to content

Iterface to NewMinuit #6

@eacharles

Description

@eacharles

As per Jean

Among the three suggestions in my C&A presentation (in bold at https://confluence.slac.stanford.edu/display/SCIGRPS/Convergence+issues+for+4FGL), only one remains standing.
It would be very convenient if there existed an interface allowing to retrieve the convergence status of NewMinuit, similar to that for Minuit (below), because NewMinuit is about twice faster than Minuit.
Is that something doable?
Happy 2020,
Jean

import pyLikelihood as pyLike
like = BinnedAnalysis(..., optimizer="Minuit")

myqual=pyLike.Minuit(like.logLike)
like.fit(covar=True, optObject=myqual)
qual=myqual.getQuality()

or if optObject was not set in the like.fit call

like.fit(covar=True)
quality = pyLike.Minuit.cast(like.optObject).getQuality()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions