-
Notifications
You must be signed in to change notification settings - Fork 1
Iterface to NewMinuit #6
Copy link
Copy link
Open
Labels
Description
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()
Reactions are currently unavailable