Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterface to NewMinuit #6

Open
eacharles opened this issue Jan 9, 2020 · 0 comments
Open

Iterface to NewMinuit #6

eacharles opened this issue Jan 9, 2020 · 0 comments
Assignees

Comments

@eacharles
Copy link
Contributor

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants