Re: ROOT branch to python (numpy) array

From: <wlavrijsen_at_lbl.gov>
Date: Fri, 15 Apr 2011 09:45:26 -0700


Yngve,

> What is the recommended way to copy a branch into an array in python?

btw., just for the record, using SetBranchAddress() with a flat numpy array should work and would be the fastest approach (copying only in C/C++, not on the python side with all its subsequent temporaries).

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Fri Apr 15 2011 - 18:46:39 CEST

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 17:50:01 CEST