hepi

HEPi glues together several HEP tools.

https://github.com/apn-pucky/hepi

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary

Keywords

hep hep-ph
Last synced: 6 months ago · JSON representation

Repository

HEPi glues together several HEP tools.

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 18
  • Releases: 5
Topics
hep hep-ph
Created almost 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation

README.md

HEPi

Python interface for gluing together several HEP programs (e.g. from HEPForge https://www.hepforge.org/).

PyPI version downloads DOI SSLBinder MyBinder Unstable test Coverage Status Codacy Badge Codacy Badge 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.

Realization

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

sh pip install hepi[opt] [--user] [--upgrade]

[opt] can be omitted to avoid optional dependencies (ie. lhapdf).

HEPi-fast

HEPi-fast interpolates grids similarly 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. Just enter a mass point and the cross sections are returned:

$ hepi-fast --help [...] $ hepi-fast 13600_sleptons_1000011_-1000011_NNLL.json 547 0 547.0 0.0003595877111213834 2.524930051307783e-05 -2.520906052972218e-05 1.7378151961260709e-06 -9.940418204744763e-07 2.5189449167488203e-05 -2.5189449167488203e-05 988 0 988.0 1.431846191827644e-05 2.44205862446039e-06 -2.4413596449724868e-06 6.14033144355307e-08 -2.0494188119845572e-08 2.4412735921747426e-06 -2.4412735921747426e-06 547 0 547.0 0.00035958771606265744 -2.5249300930888148e-05 2.5209060862746587e-05 -1.737815390324732e-06 9.940418677810902e-07 -2.5189449417355387e-05 2.5189449417355387e-05 988 0 988.0 1.4318461918225316e-05 -2.4420586244508355e-06 2.441359644963803e-06 -6.140331443352323e-08 2.0494188119359375e-08 -2.4412735921671295e-06 2.4412735921671295e-06 [...]

Above shows slepton-pair cross section for requested 547 and 988 GeV mass at aNNLO+NNLL. The order of the output is ID | Central value | error up | error down | error scale up | error scale down | error pdf up | error pdf down 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

Owner

  • Name: Alexander Puck Neuwirth
  • Login: APN-Pucky
  • Kind: user
  • Company: Uni Münster

GitHub Events

Total
  • Create event: 40
  • Release event: 1
  • Issues event: 5
  • Watch event: 1
  • Delete event: 33
  • Issue comment event: 4
  • Push event: 63
  • Pull request review event: 6
  • Pull request review comment event: 4
  • Pull request event: 79
Last Year
  • Create event: 40
  • Release event: 1
  • Issues event: 5
  • Watch event: 1
  • Delete event: 33
  • Issue comment event: 4
  • Push event: 63
  • Pull request review event: 6
  • Pull request review comment event: 4
  • Pull request event: 79

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 65
  • Total pull requests: 295
  • Average time to close issues: 5 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.37
  • Average comments per pull request: 0.24
  • Merged pull requests: 261
  • Bot issues: 0
  • Bot pull requests: 264
Past Year
  • Issues: 5
  • Pull requests: 92
  • Average time to close issues: 3 days
  • Average time to close pull requests: 1 day
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.1
  • Merged pull requests: 81
  • Bot issues: 0
  • Bot pull requests: 82
Top Authors
Issue Authors
  • APN-Pucky (63)
  • jshahinian (2)
  • dependabot[bot] (1)
Pull Request Authors
  • dependabot[bot] (362)
  • APN-Pucky (35)
Top Labels
Issue Labels
Tool (4) CI (4) documentation (3) enhancement (1) dependencies (1) python (1)
Pull Request Labels
dependencies (362) python (359) fast-forward (15) github_actions (3)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 264 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 26
  • Total maintainers: 1
pypi.org: hepi

Interface to High Energy Physics tools.

  • Versions: 26
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 264 Last month
Rankings
Dependent packages count: 10.1%
Downloads: 15.7%
Dependent repos count: 21.6%
Average: 21.8%
Forks count: 29.8%
Stargazers count: 31.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/devel.yml actions
  • APN-Pucky/make-python-action main composite
.github/workflows/fast-forward.yml actions
  • APN-Pucky/fast-forward-action main composite
.github/workflows/stable.yml actions
  • APN-Pucky/make-python-action main composite
.github/workflows/unstable.yml actions
  • APN-Pucky/make-python-action main composite
.github/workflows/dependabot.yml actions
.github/workflows/tag.yml actions
  • APN-Pucky/make-python-action main composite
binder/Dockerfile docker
  • apnpucky/gentoo-hepi latest build
poetry.lock pypi
  • 219 dependencies
pyproject.toml pypi
  • ipython * develop
  • jupyter * develop
  • jupyterlab * develop
  • poetry-dynamic-versioning >=1.0.0,<2.0.0 develop
  • pre-commit >=2.20,<4.0 develop
  • jupyter-sphinx * docs
  • myst-parser * docs
  • nbsphinx * docs
  • numpydoc * docs
  • pandoc * docs
  • sphinx <7.0.0 docs
  • sphinx-autoapi * docs
  • sphinx-rtd-theme * docs
  • sphinx_autobuild * docs
  • sphinx_math_dollar * docs
  • sphinxcontrib-napoleon * docs
  • toml * docs
  • matplotlib *
  • numpy *
  • pandas >=1.0.0
  • particle *
  • pqdm *
  • pyslha *
  • python ^3.8
  • scipy >=1.7.0
  • smpl >=0.0.152 < 1.3.0
  • sympy *
  • uncertainties *
  • validators *
  • pytest * test
  • pytest-cov * test
  • pytest-line-profiler-apn >=0.1.3 test
  • pytest-profiling * test