Skip to main content

Tools for doing Collider HEP style analysis with columnar operations

Project description

coffea is currently organized into several sub-modules with specific purposes.

  1. analysis_objects - This package contains definitions of physics objects casted in the language of JaggedArrays

  2. arrays - Another take on making analysis objects with directly decorated LorentzVector objects instead of wrapped LorentzVectors.

  3. hist - A well-featured histogramming and plotting sub-package.

  4. jetmet_tools - CMS-specific tools for correcting Jets and Missing Energy

  5. lookup_tools - This package manages importing corrections and scale factors, and provides a unified interface for evaluating those corrections on physics objects.

  6. lumi tools - A CMS-specific package for parsing luminosity database files to derive integrated luminosity and good run lists.

  7. processor - An interface for defining and running analyses in a portable way across a variety of scale-out mechanisms.

  8. striped - This package defines transformations from the raw striped database into JaggedArrays and JaggedCandidateArrays, but is somewhat deprecated.

For further information please see the complete package index in our documentation.

Installation

Install coffea like any other Python package:

pip install coffea

or similar (use sudo, --user, virtualenv, or pip-in-conda if you wish).

Strict dependencies:

The following are installed automatically when you install coffea with pip:

  • numpy (1.15+)

  • awkward-array to manipulate data from non-flat TTrees, such as jagged arrays (part of Scikit-HEP)

  • uproot-methods to allow expressions of things as lorentz vectors

  • numba just-in-time compilation of python functions

  • scipy for statistical functions

  • matplitlib as a plotting backend

  • uproot for interacting with ROOT files

  • tqdm

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

coffea-0.6.4.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coffea-0.6.4-py2.py3-none-any.whl (82.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file coffea-0.6.4.tar.gz.

File metadata

  • Download URL: coffea-0.6.4.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for coffea-0.6.4.tar.gz
Algorithm Hash digest
SHA256 8262a627b7f416546c37696c90d358f5de43d392cfaa9e156f87e7de44bd5bf3
MD5 3c0bae68c0488ffbb85319b54328bb77
BLAKE2b-256 22b1075da71f367a0cdd9d9f7ede80a2018fc6a1b5516d1d5d27a5bdbe03870e

See more details on using hashes here.

File details

Details for the file coffea-0.6.4-py2.py3-none-any.whl.

File metadata

  • Download URL: coffea-0.6.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 82.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for coffea-0.6.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 85571182b130c6bc319cd7ba6f5ca4e97fec73bde9d755eb6c8232483cc78e6d
MD5 7e588d657505d0cda6e04494f49d6ac7
BLAKE2b-256 d0d34f99eacc80602be3cb758877250e7ddabd11504d4600987c54bf12cc4d50

See more details on using hashes here.

Supported by

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