<div dir="auto">Thanks a lot! <div dir="auto"><br></div><div dir="auto">how can read it by python ?.<br></div><div dir="auto"><br></div><div dir="auto">I Found the commands below , but it is for read the root Phase space.<br></div><div dir="auto">........</div><div dir="auto"><br></div><div dir="auto"># read a PHSP
root_filename = Path('./output_ref/output-PhS-g.root')</div><div dir="auto"> try:
    f = uproot.open(root_filename)
except Exception:
    print("File '"+root_filename+"' cannot be opened, not root file ?") </div><div dir="auto"> exit()<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 8 janv. 2022 à 12:07, Konstantinos P. Chatzipapas <<a href="mailto:konhat88@yahoo.gr">konhat88@yahoo.gr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:courier new,courier,monaco,monospace,sans-serif;font-size:13px"><div><div dir="ltr">Hello,</div><div dir="ltr"><br></div><div dir="ltr">You could use Python, with Gate libraries.</div><div dir="ltr"><br></div><div dir="ltr">Regards,</div><div dir="ltr">Konstantinos</div><div><br></div><div><div style="font-family:courier,monaco,monospace,sans-serif;font-size:13px"><div style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-style:italic">-----------------------------------------------------</span></div><span style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-style:italic"> Konstantinos Chatzipapas<br>    Medical Physicist, Ph.D.</span><span style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-style:italic"><br></span><div style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><span style="font-style:italic">        <span style="font-weight:bold">University of Patras</span></span></div><div><span style="font-style:italic"><span style="font-weight:bold"><br></span></span></div><div dir="ltr"><br></div></div></div></div></div><div><br></div>
        
        </div><div id="m_-7811808544292514358yahoo_quoted_2290038026">
            <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a">
                
                <div>
                    Στις Πέμπτη, 6 Ιανουαρίου 2022, 06:09:03 μ.μ. EET, ο χρήστης Abo Yousuf <<a href="mailto:phys4med@gmail.com" target="_blank" rel="noreferrer">phys4med@gmail.com</a>> έγραψε:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="m_-7811808544292514358yiv6849278496"><div dir="ltr">Dear Gate users, <div><br><div> I need to analyze a IAEA phase space, do you know any software to do this.<br></div></div><div><br></div><div>Many thanks for your help!<br></div></div>
</div>_______________________________________________<br>Gate-users mailing list<br><a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" rel="noreferrer">Gate-users@lists.opengatecollaboration.org</a><br><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" rel="noreferrer">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
            </div>
        </div></div></blockquote></div>