A binned fit intermediate representation library
Project description
rhalphalib
Quickstart
CMSSW with EL8/EL9
We use the scram-venv utility to create a python virtual environment in our CMSSW area:
cmsrel CMSSW_14_1_0_pre4
cd CMSSW_14_1_0_pre4/src
cmsenv
scram-venv
cmsenv
git clone https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit
cd HiggsAnalysis/CombinedLimit
git checkout v10.1.0
scram b -j4
python3 -m pip install git+https://github.com/nsmith-/rhalphalib.git
Elsewhere (no warranty)
First, install Combine v10 using your choice of installation instructions (with CMSSW, using LCG, or inside a Conda environment). In a python virtual environment, run:
python3 -m pip install --user git+https://github.com/nsmith-/rhalphalib.git
Usage
Take a look at test_rhalphalib.py for examples of how to use the package. You can run a test with, e.g.
curl -Ol https://raw.githubusercontent.com/nsmith-/rhalphalib/master/tests/test_rhalphalib.py
python3 test_rhalphalib.py
cd tmp/testModel
. build.sh
combine -M FitDiagnostics model_combined.root
An example output of the final line is:
<<< Combine >>>
<<< v10.1.0 >>>
>>> Random number generator seed is 123456
>>> Method used is FitDiagnostics
--- FitDiagnostics ---
Best fit r: 0.999999 -0.208174/+0.212715 (68% CL)
Done in 0.59 min (cpu), 0.59 min (real)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rhalphalib-0.3.0.tar.gz.
File metadata
- Download URL: rhalphalib-0.3.0.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7689b28e0e09af13f7464cc0cf7c77404ed0d859dfefff5f66dca215808a957
|
|
| MD5 |
585624a5edd8891e44290ecf2e21cb86
|
|
| BLAKE2b-256 |
b341776622413a262755a1a268bad54f94e8ff031cbf033740969c32d63bedc8
|
Provenance
The following attestation bundles were made for rhalphalib-0.3.0.tar.gz:
Publisher:
pythonpublish.yml on nsmith-/rhalphalib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rhalphalib-0.3.0.tar.gz -
Subject digest:
d7689b28e0e09af13f7464cc0cf7c77404ed0d859dfefff5f66dca215808a957 - Sigstore transparency entry: 174629766
- Sigstore integration time:
-
Permalink:
nsmith-/rhalphalib@d5cb172459dbb5fa4cad9064350642457c01738a -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/nsmith-
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pythonpublish.yml@d5cb172459dbb5fa4cad9064350642457c01738a -
Trigger Event:
release
-
Statement type:
File details
Details for the file rhalphalib-0.3.0-py3-none-any.whl.
File metadata
- Download URL: rhalphalib-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32773a195bfc09f628f38d6ed522aaa9623abcb1ed4d6302717bf8d7f8e2b92f
|
|
| MD5 |
f17a749ad17129324bb900e8e2c691d3
|
|
| BLAKE2b-256 |
8c5b9c3dc0c70cbfd107cbc4ee876bc629ea011674ebc5635ef5938167fe1362
|
Provenance
The following attestation bundles were made for rhalphalib-0.3.0-py3-none-any.whl:
Publisher:
pythonpublish.yml on nsmith-/rhalphalib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rhalphalib-0.3.0-py3-none-any.whl -
Subject digest:
32773a195bfc09f628f38d6ed522aaa9623abcb1ed4d6302717bf8d7f8e2b92f - Sigstore transparency entry: 174629768
- Sigstore integration time:
-
Permalink:
nsmith-/rhalphalib@d5cb172459dbb5fa4cad9064350642457c01738a -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/nsmith-
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pythonpublish.yml@d5cb172459dbb5fa4cad9064350642457c01738a -
Trigger Event:
release
-
Statement type: