[Gate-users] How to open GATE output files
surabhi balagopal nair
sn3be at virginia.edu
Wed Sep 30 16:38:00 CEST 2015
Thank you very much David and Santos.
I was using vGATE and when I tried the mentioned steps in the terminal of
the virtual box, the program said there was some segmentation error.
However, when I tried the same steps on my desktop, it worked marvelously
well!
Thank you again,
Have a wonderful day :)
Surabhi
On 29 September 2015 at 04:52, David Boersma <david.boersma at physics.uu.se>
wrote:
> Hi Suzanne,
>
> ROOT files should not be opened with GATE, but with the ROOT program. If
> you managed to compile GATE and produce ROOT files, then I assume that your
> shell environment is set up so that ROOT is in your PATH. Or if you are
> using vGate, then this should also case. You start root by opening a
> terminal and typing
>
> root -l
>
> (The -l flag is to avoid an annoying splash screen.)
>
> Then at the ROOT prompt you type e.g.:
>
> new TBrowser;
>
> which should open a new window with lots of stuff in it. On the left side
> of that window you should see some directory tree, in which you should be
> able to navigate to your ROOT output file, and then open it. I don't know
> what exactly is saved in CT simulation output, I am in a different
> business, but hopefully the results are nicely plottable in the TBrowser.
> And if not, then the TBrowser should still help you to figure out what kind
> of objects are stored in any given ROOT file.
>
> Once you figured out with the browser what actions to perform with CT root
> files, you can do those actions (and a lot more) also in a script (a "root
> macro"). A script is useful if you run lots of simulations, it would be
> tedious to perform the same GUI actions on every output file.
>
> ROOT is a pretty big program (and a framework for other programs) that was
> originally developed for doing high energy particle physics at CERN. It
> could be useful to spend some time with the ROOT User Guide and some
> tutorials at root.cern.ch. Be careful not to drown in the information.
> Maybe other people doing CT simulation can help you with some example
> scripts.
>
> HTH,
> David
>
>
> Den 28/09/2015 kl. 20:11, skrev surabhi balagopal nair:
>
>> Hello All,
>>
>> I am trying to simulate a model of CTscanner in Gate. The codes run
>> successfully without any errors and outputs 1 .root file and 4 .dat
>> files. The dat files are the ImageCT outputs mentioned in the GATE user
>> guide. However, I am not able to open any of these files. I tried
>> opening the dat file using ImageJ (File>Import>Raw) but it opens a black
>> window with no images.
>>
>> If anyone could help me with these (how to open both root and dat
>> files), I would be very grateful.
>>
>> Thank you,
>> Suzanne
>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>> _______________________________________________
> Gate-users mailing list
> 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/mailman/private/gate-users/attachments/20150930/423405a1/attachment.html>
More information about the Gate-users
mailing list