[Gate-users] How do I split the root output file for ease in analysing it?
Nils Krah
nils.krah at creatis.insa-lyon.fr
Wed Sep 23 12:10:28 CEST 2020
Another potentially interesting package if you want to work with root files in python is uproot. You’ll find it with google.
Also to keep in mind: most libraries only create file handles when opening a root files. The data is actually only read from disk once you access a branch explicitly. So a big root file might be less of an issue than it seems in first place. Difficult to give more specific advice with further details.
Cheers,
Nils
>
> On Sep 23, 2020 at 11:13 AM, <Konstantinos P. Chatzipapas (mailto:konhat88 at yahoo.gr)> wrote:
>
>
>
>
>
> Hello Satyajit,
>
>
>
> You could probably take advantage of PyROOT to save what you need in another format, if you know how to use Python.
>
>
>
> Or else, to transfer your files, you could zip them in pieces...
>
>
>
>
>
> Regards,
>
> Konstantinos
>
>
>
>
>
> -----------------------------------------------------
> Konstantinos Chatzipapas
> Medical Physicist, MSc
>
>
> University of Patras
>
>
>
> web: Physics Magazine (http://physicsfeed.blogspot.com/)
>
>
>
>
>
>
>
>
>
>
>
> Στις Τετάρτη, 23 Σεπτεμβρίου 2020, 11:14:28 π.μ. EEST, ο χρήστης Satyajit Ghosh <satyajitghosh.email at gmail.com> έγραψε:
>
>
>
>
>
>
>
> Dear Gaters,
>
>
> We know how to merge various root output files (given in GATE manual). But what if the root file is too large and we want to split the root file for ease of data analysis. Is there any way to do that?
>
>
>
> Thanking you
>
> Satyajit
>
> 23-Sept.-2020
>
>
> --
>
>
>
>
>
>
>
>
>
>
>
>
>
> Satyajit Ghosh, M.Sc.
>
>
> PhD Student
>
> Nuclear Spectroscopy and Molecular Imaging Lab,
>
> Physics Department, IIT Bombay,
>
>
> Mumbai-400076, INDIA
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org (mailto:Gate-users at lists.opengatecollaboration.org)
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200923/b55501ea/attachment.html>
More information about the Gate-users
mailing list