root_numpy 3.0.0 released

12 views
Skip to first unread message

Noel Dawe

unread,
Aug 13, 2013, 9:53:05 PM8/13/13
to rootp...@googlegroups.com, rootpy...@googlegroups.com

root_numpy 3.0.0 has just been released!

This tag provides the new functions array2root and array2tree for converting NumPy arrays into TTrees (currently only basic types are supported in this conversion; no array-type columns).

The API has also changed slightly to replace the previous offset and entries arguments in root2array, root2rec, tree2array and tree2rec with start, stop, and step, so that slicing is now possible while reading the input TTree in exactly the same way slicing is implemented in Python lists.

See the updated docs here:


and the new tag on PyPI:


Upgrading should be as simple as:

pip install -U --user root_numpy

In rootpy, root2hdf5 has been updated to respect the root_numpy API changes so if you use the HEAD of roopty, be sure to update to the HEAD or tag 3.0.0 of root_numpy.

Enjoy!
Noel (for the rootpy and root_numpy developers)
Reply all
Reply to author
Forward
0 new messages