rootpy/root_numpy — pull request #20 by cdeil (2012-12-10 09:05:26+00:00)
Title: WIP: Add hist2array and array2hist functions

This feature was originally discussed here:
https://github.com/rootpy/rootpy/issues/24

Since it explicitly uses numpy, it is better located in `root_numpy`.

The following things should be done before merging this PR:
* Implement `array2hist`. Anyone has an idea how / if this works with Python only?
* Add to tutorial documentation
* Add more unit tests
* Give hists unique names to avoid the ROOT warnings:
```
TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hist (Potential memory leak).
```
* Add speed / memory benchmark