pyhf implementation of the ABCD method for background estimation
Project description
pyhf implementation of the ABCD method for background estimation
Instructions for lxplus
The code can be run on lxplus by following the instruction given below.
First, set up your environment with default version of python 3:
setupATLAS
lsetup "python pilot-default"
Then create a virtual python environment:
python3 -m venv env
This will create a directory named env
which will contain all the necessary packages to run the code.
Activate the virtual python environment with the following command:
source env/bin/activate
Any moment, you can shut down the virtual python environment with the bash command deactivate
.
You can later reactivate the environment by setting up the necessary python version on lxplus and
run the bash command source env/bin/activate
.
To run the code, you will have to download the necessary packages in the python environment (this only need to be done once):
pip install numpy matplotlib pyhf[contrib] iminuit
You can then use the package in python (in the src
folder):
from abcd_pyhf import ABCD
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
Hashes for abcd_pyhf-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6ece30f8dbdfc458b9d8fa1e2a4f6cf5071fe2f944927101c479473325359f |
|
MD5 | 17deff0303ce0c8a7d9490b4ed19c3ca |
|
BLAKE2b-256 | fa1d0839913d50d3e5b029bf2f52845ebdaf342e4cc782d920aaf77878546a27 |