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
- Host: GitHub
- URL: https://github.com/alexander-held/datacard-to-pyhf
- Owner: alexander-held
- Created: 2021-03-03T14:50:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-22T17:57:22.000Z (about 4 years ago)
- Last Synced: 2024-12-27T03:41:50.725Z (5 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)