An open API service indexing awesome lists of open source software.

https://github.com/alexander-held/datacard-to-pyhf

translation of datacards to pyhf workspaces
https://github.com/alexander-held/datacard-to-pyhf

Last synced: 3 months ago
JSON representation

translation of datacards to pyhf workspaces

Awesome Lists containing this project

README

        

# datacard-to-pyhf

Translates datacards used with [CMS `Combine`](https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit) to a [`pyhf`](https://pyhf.readthedocs.io/) `HistFactory` workspace in `JSON` format.
This repository exists as an exploration to learn more about the CMS approach used in `Combine`.
It is incomplete, supports only a subset of systematics, and there are likely other issues with it.

Useful links:
- [datacard section in tutorial](https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part2/settinguptheanalysis/)
- [example datacards on GitHub](https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/tree/102x/data/tutorials/counting)