Skip to main content

ATLAS Flavour Tagging Plotting Code

Project description

puma - Plotting UMami Api

Code style: black Umami docs PyPI version DOI

codecov Testing workflow Linting workflow Pages workflow Docker build workflow

The Python package puma provides a plotting API for commonly used plots in flavour tagging.

ROC curves Histogram plots Variable vs efficiency

Installation

puma 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.15 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

The images are automatically updated via GitHub and pushed to this repository registry.

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

puma-hep-0.3.3.tar.gz (87.4 kB view details)

Uploaded Source

Built Distribution

puma_hep-0.3.3-py3-none-any.whl (109.9 kB view details)

Uploaded Python 3

File details

Details for the file puma-hep-0.3.3.tar.gz.

File metadata

  • Download URL: puma-hep-0.3.3.tar.gz
  • Upload date:
  • Size: 87.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for puma-hep-0.3.3.tar.gz
Algorithm Hash digest
SHA256 11d4daad54b6abc0c3a075814f769fadf357791e62d2059c789de328a3e8c37d
MD5 8362dca03533d920bdb54c11d137d615
BLAKE2b-256 268bd298376586703952c089f376f1b573365a9c8217edb059ca5671f0785ace

See more details on using hashes here.

File details

Details for the file puma_hep-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: puma_hep-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 109.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for puma_hep-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d393b8fdb8d2153612b57ebee33b0b344ee62bcd1119249a5f311a4df4294860
MD5 7962d54f80592c1f34ec6ae629be0f1e
BLAKE2b-256 e3265a43da60cabcda9d1e9ef5ac95519179f33de0bf80760a70fac652110f2a

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