Interface to High Energy Physics tools.
Project description
HEPi
Python interface for gluing together several HEP programs (e.g. from HEPForge https://www.hepforge.org/).
Stable | Unstable |
---|---|
Goals
The goal of this project is to provide a simple and easy to use interface to common high-energy-physics tools (currently mainly SUSY related Tools). Parameter scans and plotting is also included. Different tools should just be plugged in and out as desired (i.e. generate a SUSY spectrum before running a scan with MadGraph).
Idea
First generate a list of interested parameter points i.e. mass 100 to 1000 GeV squark. Then if you also want to scan over the gluino mass just ask for a scan over previous list, and you get a 2d scan. After generating all parameters they can be used to directly run the codes (in parallel or sequential) or just generate the input file for distribution across several clusters. The results then can be imported again and plotted nicely.
Realisation
In the working directory you have an input
and output
folder. The input would typically contain the baseline slha file.
The output
will contain the produced scripts to execute the tools.
To avoid file collisions the files in the output folder correspond to a hashed value of all input parameters.
If a result already exists hepi won't rerun the tool.
Documentation
For more details on the usage of different tools, called runners, check the respective documentation.
Versions
Stable
pip install hepi[opt] [--user] [--upgrade]
Dev
pip install --index-url https://test.pypi.org/simple/ hepi[opt]
[opt]
can be omitted to avoid optional dependencies (ie. lhapdf).
HEPi-fast
HEPi-fast interpolates grids in a similar fashion to (n)nll-fast but also for Resummino.
They are given as json files as for the CERN SUSY wiki in xsec.
A default set of grids is in the source folder hepi/data/json/
.
HEPi can be used to generate such json files for convenient reloading of the data.
$ hepi-fast --help
$ hepi-fast pp13_squark_NNLO+NNLL.json
400
0 400.0 21.6 -1.509999999999991 1.509999999999991 0.0 0.0 0.0 0.0
500
0 500.0 6.12 -0.4560000000000013 0.4560000000000013 0.0 0.0 0.0 0.0
[...]
Above shows squark squark cross section for requested 400 and 500 GeV mass at NNLO+NNLL. The order of the output is
id | Central value | error down | error up | error pdf down | error pdf up | error scale down | error scale up
If you just want to look at a quick plot of the interpolation run
$ hepi-fast pp13_squark_NNLO+NNLL.json --plot
for something like
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file hepi-0.2.17.tar.gz
.
File metadata
- Download URL: hepi-0.2.17.tar.gz
- Upload date:
- Size: 565.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4036a6575f08518863d199feca0751198149c9a5fc358e7752bf4ba56a46643 |
|
MD5 | cb03bb47475c8fa1be7af9734368e09c |
|
BLAKE2b-256 | ba8b0e0563ec82aedddc38c18f1d7b62770b33c94463d7ec7b11977c10d24639 |
File details
Details for the file hepi-0.2.17-py3-none-any.whl
.
File metadata
- Download URL: hepi-0.2.17-py3-none-any.whl
- Upload date:
- Size: 647.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b218baa588be1dec84973a5b548e12f546c62cbfc5bacc0bb7dc22d6e91125 |
|
MD5 | 2df6ca79ca1fb1f819e7ea282e004149 |
|
BLAKE2b-256 | e1b9752fae0f83fc85c47b0069bf15b92b1ce9daa98ba0619f366cf0898fbf9a |