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

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.0.0.tar.gz (565.4 kB view details)

Uploaded Source

Built Distribution

hepi-0.0.0-py3-none-any.whl (646.7 kB view details)

Uploaded Python 3

File details

Details for the file hepi-0.0.0.tar.gz.

File metadata

  • Download URL: hepi-0.0.0.tar.gz
  • Upload date:
  • Size: 565.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for hepi-0.0.0.tar.gz
Algorithm Hash digest
SHA256 3b13665da53280f5ce498e7d62771c65158936679c492b7f061930d20c442e6f
MD5 82da2837fac77a2aae4c15b91d8f0ef8
BLAKE2b-256 796a268a22dfd603e94a31d4386759cd20bad7e54a97006316e1a9289fa6a5ac

See more details on using hashes here.

File details

Details for the file hepi-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: hepi-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 646.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for hepi-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa640928457b74c8fd448ea5fcbd4698bc3c083ab792823d87c0064b47c97d1
MD5 3bf18198f033fcda114ba62f9b05819f
BLAKE2b-256 45944bac1ccd19c69eac54ea922631439319cb6a808baeed77fc8050fc196081

See more details on using hashes here.

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