Skip to main content

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.


Install uproot-methods like any other Python package:

pip install uproot-methods                # maybe with sudo or --user, or in virtualenv


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for uproot-methods, version 0.9.1
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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page