Pythonic mix-ins for ROOT classes.
Project description
This package is typically used as a dependency for uproot 3.x, to define methods on the classes that are automatically generated from ROOT files. This includes histograms (TH*) and physics objects like TLorentzVectors. The reason it’s a separate library is so that we can add physics-specific functionality on a shorter timescale than we can update uproot itself, which is purely an I/O package.
Occasionally, this library is used without uproot, as a way to make arrays of TLorentzVectors.
Note: this package is incompatible with awkward>=1.0 and uproot>=4.0! For Lorentz vectors, use vector. Since the versions of Awkward Array and Uproot that this is compatible with are deprecated, this library is deprecated as well.
Installation
Install uproot-methods like any other Python package:
pip install uproot-methods # maybe with sudo or --user, or in virtualenv
Dependencies:
- numpy (1.13.1+)
- Awkward Array 0.x
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size uproot_methods-0.9.1-py3-none-any.whl (32.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size uproot-methods-0.9.1.tar.gz (21.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for uproot_methods-0.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ab2a48d4697d6b2adf464a1f3c8b727dbe758def5a5ce5918dd6f0b6f90be9 |
|
MD5 | 9ed1c00f6db06d37dc8c651e9b6d4b8a |
|
BLAKE2-256 | 71acb086cb590635c3a606e8b53f5b9724bcd4869106cf5df0e92fc0348f416a |