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 uproot 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.5.5.tar.gz (1.1 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.5.5-py2.py3-none-any.whl (81.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: coffea-0.5.5.tar.gz
  • Upload date:
  • Size: 1.1 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.1 CPython/3.6.3

File hashes

Hashes for coffea-0.5.5.tar.gz
Algorithm Hash digest
SHA256 097b77c7f2646fca0865975b6aed270e7cb949a54c26f5f660e656c5ebb81a88
MD5 f612b0a589d6ed9157d2f37b9c698782
BLAKE2b-256 18e333621e0cf6d125edd981ef03ba544fb80056511ed3b7787d49f438b8862b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coffea-0.5.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 81.6 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.1 CPython/3.6.3

File hashes

Hashes for coffea-0.5.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4b3a4d42716d1ba7e299d3d5339535dbbba9ac08ceee472406c8c100eae312c2
MD5 7005754418f9a573dbeb981555a38168
BLAKE2b-256 0857da3a01ef2ed11d586120879595e90a5a15a7b907931c3e85f2212d58bb23

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