Skip to main content

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/).

PyPI version downloads
DOI SSLBinder MyBinder

Stable Unstable
workflow test
Coverage Status Coverage Status
Codacy Badge Codacy Badge
Codacy Badge Codacy Badge
Documentation Documentation

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

plot

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

hepi-0.2.17.tar.gz (565.7 kB view hashes)

Uploaded Source

Built Distribution

hepi-0.2.17-py3-none-any.whl (647.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page