skip to navigation
skip to content

Histogrammar 1.0.9

Composable histogram primitives for distributed data reduction.

Histogrammar is a suite of data aggregation primitives designed for use in parallel processing. In the simplest case, you can use this to compute histograms, but the generality of the primitives allows much more.

See http://histogrammar.org for a complete introduction.

This Python implementation of Histogrammar adheres to version 1.0 of the specification and has been tested to guarantee compatibility with the Scala implementation. The test suite includes empty datasets, NaN/infinity handling, associativity tests, and numerical agreement at the level of one part in a trillion (double precision). Several common histogram types can be plotted in Matplotlib, PyROOT, and Bokeh with a single method call.

If Numpy or Pandas is available, histograms and other aggregators can be filled from arrays ten to a hundred times more quickly via Numpy commands, rather than Python for loops.

If PyROOT is available, histograms and other aggregators can be filled from ROOT TTrees hundreds of times more quickly by JIT-compiling a specialized C++ filler.

Histograms and other aggregators may also be converted into CUDA code for inclusion in a GPU workflow. And if PyCUDA is available, they can also be filled from Numpy arrays by JIT-compiling the CUDA.

 
File Type Py Version Uploaded on Size
histogrammar-1.0.9-py2.7.egg (md5) Python Egg 2.7 2017-08-15 607KB
histogrammar-1.0.9-py3.5.egg (md5) Python Egg 3.5 2017-08-15 621KB
histogrammar-1.0.9.tar.gz (md5) Source 2017-08-15 214KB