pyhf v0.6.0 released

16 views
Skip to first unread message

pyhf announcements

unread,
Feb 15, 2021, 8:25:31 PM2/15/21
to pyhf announcements
Dear pyhf users,

We're very happy to announce that pyhf v0.6.0 is out now on PyPI and Conda-forge!
This is a minor release with API breaking changes so please read the full release notes carefully while updating your code to the v0.6.0 API. Below we list the most important points from the release notes.

* Perhaps the most relevant breaking changes are the changes to the pyhf.infer.hypotest API, which now uses a calctype argument to differentiate between using an asymptotic calculator or a toy calculator, and a test_stat kwarg to specify which test statistic the calculator should use, with 'qtilde', corresponding to pyhf.infer.test_statistics.qmu_tilde, now the default option. It also relies more heavily on using kwargs to pass options through to the optimizer.
* Support for the discovery test statistic, q_0, has now been added through the pyhf.infer.test_statistics.q0 API.
* Support for pseudoexperiments (toys) has been added through the pyhf.infer.calculators.ToyCalculator API. Please see the full release notes for more information.
* The 'minuit' extra now uses and requires the iminuit v2.X release series and API. Note that iminuit v2.X can result in slight differences in minimization results from iminuit v1.X.
* The documentation will now be versioned with releases on ReadTheDocs. Please use pyhf.readthedocs.io to access the documentation for the latest stable release of pyhf.
* pyhf is transitioning away from Stack Overflow to GitHub Discussions for resolving user questions not covered in the documentation. Please check the GitHub Discussions page to search for discussions addressing your questions and to open up a new discussion if your question is not covered.
* pyhf has published a paper in the Journal of Open Source Software (DOI: 10.21105/joss.02823). Please make sure to include the paper reference in all citations of pyhf, as documented in the Use and Citations section of the documentation.

Development work on an upcoming patch release v0.6.1 has already started, but please report back to us any questions or problems you run into while updating after you have read the documentation for the new API. Please don't hesitate to contact us through the recommended channels!

Best,
The pyhf dev team (Lukas, Matthew, and Giordon)
Reply all
Reply to author
Forward
0 new messages