Skip to content
This repository

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

branch: master

Merge pull request #562 from ndawe/master

[MRG] workspace.fit add return_nll
latest commit ee896eb095
Noel Dawe ndawe authored April 16, 2014
Octocat-spinner-32 benchmarks read speed improvements for read_branches_on_demand August 24, 2013
Octocat-spinner-32 devscripts clean the root repo before making a new build for travis June 16, 2013
Octocat-spinner-32 docs showstack -> show_stack April 01, 2014
Octocat-spinner-32 examples update plotting example March 27, 2014
Octocat-spinner-32 requirements increment root_numpy minimum version October 12, 2013
Octocat-spinner-32 rootpy workspace.fit add return_nll argument April 16, 2014
Octocat-spinner-32 scripts IPython notebook support: display canvas, hist, func inline February 02, 2014
Octocat-spinner-32 .coveragerc coverage November 11, 2013
Octocat-spinner-32 .gitignore include setuptools instructions if not installed February 10, 2014
Octocat-spinner-32 .mailmap update mailmap March 12, 2013
Octocat-spinner-32 .travis.yml root2hdf5: use new tables API if version >=3.0 is installed October 16, 2013
Octocat-spinner-32 CONTRIBUTING.rst CONTRIBUTING.rst formatting December 09, 2012
Octocat-spinner-32 COPYING add copyright at the top of all source files, move LICENSE to COPYING December 12, 2012
Octocat-spinner-32 MANIFEST.in include test.cxx in package_data March 11, 2013
Octocat-spinner-32 Makefile switch from distribute to setuptools >= 0.7 February 09, 2014
Octocat-spinner-32 README.rst add crate badges December 21, 2013
Octocat-spinner-32 WHATSNEW.md showstack -> show_stack April 01, 2014
Octocat-spinner-32 ghp-import add ghp-import script and entry in Makefile to update gh-pages February 07, 2013
Octocat-spinner-32 pyflakes.exclude update flakes ignore file March 11, 2013
Octocat-spinner-32 pyflakes.ignore pyflakes, add pyflakes wrapper script, add pep8 in makefile December 17, 2012
Octocat-spinner-32 run-pyflakes pyflakes, add pyflakes wrapper script, add pep8 in makefile December 17, 2012
Octocat-spinner-32 setup.py minor change March 03, 2014
Octocat-spinner-32 version.txt bump version to 0.7.1 March 11, 2013
README.rst

[see full documentation]

rootpy: Pythonic ROOT

https://travis-ci.org/rootpy/rootpy.png https://pypip.in/v/rootpy/badge.png https://pypip.in/d/rootpy/badge.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. Now take advantage of the many statistical and numerical packages that Python offers (NumPy, SciPy, StatsModels, and scikit-learn).
  • 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.
Something went wrong with that request. Please try again.