Tools for doing Collider HEP style analysis with columnar operations at Fermilab
Project description
This package is currently organized into three subpackages:
- lookup_tools - This package manages importing corrections and scale factors, and provides a unified interface for evaluating those corrections on physics objects.
lookup_tools.extractor: handles importing the lookups from root files
lookup_tools.evaluator: handles organizing, providing an interface for, and evaluating the lookups
- analysis_objects - This package contains definitions of physics objects casted in the language of JaggedArrays
JaggedCandidateArray - This object represents a list of candidates (things with four momenta and other attribute). Upon creation one can add extra columns of data that were not imported at construction, and all columns are accessible as though they were attributes of the class. This gives analysts a simple-to-read but rich, descriptive, and highly configurable object to represent muons, electrons, etc.
JaggedTLorentzVectorArray - This is a jagged representation of a TLorentzVectorArray.
- striped - This package defines transformations from the raw striped database into JaggedArrays and JaggedCandidateArrays
ColumnGroup - This object takes the name of a column that has attributes in striped and creates a dictionary of all given attributes.
PhysicalColumnGroup - Just like ColumnGroup except it requires a “p4” attribute to be defined, and is specialized to aide in creating JaggedCandidateArrays
jaggedFromColumnGroup - This is a function that takes a column group and returns a JaggedArray if it is a normal column group, or a JaggedCandidateArray if given a PhysicalColumnGroup
Installation
Install fnal-column-analysis-tools like any other Python package:
pip install fnal-column-analysis-tools
or similar (use sudo, --user, virtualenv, or pip-in-conda if you wish).
Strict dependencies:
Python (2.7+, 3.6+)
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
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 fnal-column-analysis-tools-0.4.23.tar.gz
.
File metadata
- Download URL: fnal-column-analysis-tools-0.4.23.tar.gz
- Upload date:
- Size: 2.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc5aaeacba32611576229898a229432a91e7528323869ae108887398fb12b0d7 |
|
MD5 | 7bc44314c004bd075f5a64fac7ddb7cd |
|
BLAKE2b-256 | 166191074be9aa48df0b9e63254bd5f37cea8944bb2656a1a972c6936743c50f |
File details
Details for the file fnal_column_analysis_tools-0.4.23-py2.py3-none-any.whl
.
File metadata
- Download URL: fnal_column_analysis_tools-0.4.23-py2.py3-none-any.whl
- Upload date:
- Size: 85.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e097005f877e7c1c80632f9e1c576c4059cbeb25290ddba82b8dd8670186ea0d |
|
MD5 | 510aac920c6e4b3a4083ca3b807da6f1 |
|
BLAKE2b-256 | e87471c79ea396c3e4ee066f55d740fb5a5bfa9eb97adc6407cfb95b55ac444a |