GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rootpy/rootpy: A pythonic interface for the ROOT libraries on top of the PyROOT bindings.

BranchesTags
Open more actions menu

Latest commit

 

History

4,020 Commits
4,020 Commits

Folders and files

NameName
Last commit message
Last commit date
ci
ci
 
 
docs
docs
 
 
examples
examples
 
 
requirements
requirements
 
 
rootpy
rootpy
 
 
scripts
scripts
 
 
.coveragerc
.coveragerc
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
ghp-import
ghp-import
 
 
setup.py
setup.py
 
 

Repository files navigation

[see full documentation]

rootpy: Pythonic ROOT

https://travis-ci.org/rootpy/rootpy.png

Python has become the language of choice for high-level applications where fast prototyping and efficient development are important, while glueing together low-level libraries for performance-critical tasks. The PyROOT bindings introduced ROOT into the world of Python, however, interacting with ROOT in Python should not feel like you are still writing C++.

The rootpy project is a community-driven initiative aiming to provide a more pythonic interface with ROOT on top of the existing PyROOT bindings. Given Python's reflective and dynamic nature, rootpy also aims to improve ROOT design flaws and supplement existing ROOT functionality. The scientific Python community also offers a multitude of powerful packages such as SciPy, NumPy, matplotlib, scikit-learn, and PyTables, but a suitable interface between them and ROOT has been lacking. rootpy provides the interfaces and conversion mechanisms required to liberate your data and to take advantage of these alternatives if needed.

Key features include:

  • Improvements to help you create and manipulate trees, histograms, cuts and vectors.
  • Dictionaries for STL types are compiled for you automatically.
  • Redirect ROOT's messages through Python's logging system.
  • Optionally turn ROOT errors into Python exceptions.
  • Get and Set methods on ROOT objects are also properties.
  • Easy navigation through ROOT files. You can now access objects with my_file.some_directory.tree_name, for example.
  • Colours and other style attributes can be referred to by descriptive strings.
  • Provides a way of mapping ROOT trees onto python objects and collections.
  • Plot your ROOT histograms or graphs with matplotlib.
  • Conversion of ROOT trees into NumPy ndarrays and recarrays through the related root_numpy package.
  • Conversion of ROOT files containing trees into HDF5 format with PyTables.
  • roosh, a Bash-like shell environment for the ROOT file, very useful for quick ROOT file inspection and interactive plotting.
  • rootpy, a command for common tasks such as summing histograms or drawing tree expressions over multiple files, listing the contents of a file, or inspecting tree branches and their sizes and types.

About

A pythonic interface for the ROOT libraries on top of the PyROOT bindings.

rootpy.org

Topics

cernhdf5hepmatplotlibnumpypythonroot

Resources

Readme
BSD-3-Clause license

Contributing

Contributing
Activity
Custom properties

Stars

205 stars

Watchers

26 watching

Forks

69 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.