Plotting API for HEP flavour tagging plots.
Project description
puma - Plotting UMami Api
The Python package puma
provides a plotting API for commonly used plots in flavour tagging.
ROC curves | Histogram plots | Variable vs efficiency |
---|---|---|
Installation
The puma
package is currently under construction. It can be installed from PyPI or
using the latest code from this repository.
Install latest release from PyPI
pip install puma-hep
The installation from PyPI only allows to install tagged releases, meaning you can not
install the latest code from this repo using the above command.
If you just want to use a stable release of puma
, this is the way to go.
Install latest version from GitHub
pip install https://github.com/umami-hep/puma/archive/main.tar.gz
This will install the latest version of puma
, i.e. the current version
from the main
branch (no matter if it is a release/tagged commit).
If you plan on contributing to puma
and/or want the latest version possible, this
is what you want.
Docker images
The Docker images are built on GitHub and contain the latest version from the main
branch.
The container registry with all available tags can be found here.
The puma:latest
image is based on python:3.8-slim
and is meant for users who want to use the latest version of puma
. For each release, there is a corresponding tagged image.
You can start an interactive shell in a container with your current working directory
mounted into the container by using one of the commands provided below.
On a machine with Docker installed:
docker run -it --rm -v $PWD:/puma_container -w /puma_container gitlab-registry.cern.ch/atlas-flavor-tagging-tools/training-images/puma-images/puma:latest bash
On a machine/cluster with singularity installed:
singularity shell -B $PWD docker://gitlab-registry.cern.ch/atlas-flavor-tagging-tools/training-images/puma-images/puma:latest
Extended image for development
For development, just replace the tag of the image:
latest
-> latest-dev
In addition to the minimal requirements that are required to use puma
, the
puma:latest-dev
image has the requirements.txt
from the puma
repo installed as
well.
This means that packages like pytest
, black
, pylint
, etc. are installed as well.
However, note that puma
itself is not installed in that image such that the dev-version
on your machine can be used/tested.
The images are automatically updated via GitHub and pushed to this repository registry.
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 puma-hep-0.1.5.tar.gz
.
File metadata
- Download URL: puma-hep-0.1.5.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3df8c2b152a3ad31fd31c54cca72ebb2ce3e96b889ac760c8983ed2de51a23a8 |
|
MD5 | 7dd8c47eab9b04b58196b3c3e70332b1 |
|
BLAKE2b-256 | 535004c2da2f2da0e6e75c46165603ab2206082a82368e6da79fac2afd396162 |
File details
Details for the file puma_hep-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: puma_hep-0.1.5-py3-none-any.whl
- Upload date:
- Size: 40.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ec9ce57857a64793ee1a0d67739ba88e6be4e5baad42f094746d49c04c2459 |
|
MD5 | 2b6cc64f49a4276abea62621b99b14e3 |
|
BLAKE2b-256 | 310aae1601722e52535f430fdd194b1e33322aacf1746bf5682298f67f8b3839 |