[Gate-users] How to open the output?

Simon Stute gate.stute at gmail.com
Tue Nov 29 12:21:17 CET 2011


Hey,

Projections are in interfile format, the .hdr is the header and the other
file contains the data.
See in the header file for all informations (it is in ascii format)...

Then if you do not explicitely enable an output, it won't work.
So if you want a root output, you have first to use /gate/output/root/enable

Cheers,
Simon

On Tue, Nov 29, 2011 at 11:58 AM, 林威佐 <t891t17 at gmail.com> wrote:

> A pinhole SPECT model was simulated with GATE in our study.
> We finally got two projection files, the one was "gate-projection.hdr" and
> the other one was "gate-projection.sin",
> but I don't know how to open these two projection files, the code was as
> follows.
> How should I to open these files?
>
> The other question was the output file was named as "mySPECT" in following
> code, but
> why I cannot find this output file in my PC?
>
> #Output
> /gate/output/root/setFileName mySPECT
> /gate/output/root/setRootSinglesAdderFlag 1
> /gate/output/root/setRootSinglesBlurringFlag 1
> /gate/output/root/setRootSinglesSpblurringFlag 1
> /gate/output/root/setRootSinglesThresholderFlag 1
> /gate/output/root/setRootSinglesUpholderFlag 1
> /gate/output/ascii/setOutFileSinglesAdderFlag 0
> /gate/output/ascii/setOutFileSinglesBlurringFlag 0
> /gate/output/ascii/setOutFileSinglesSpblurringFlag 0
> /gate/output/ascii/setOutFileSinglesThresholderFlag 0
> /gate/output/ascii/setOutFileSinglesUpholderFlag 0
>
> #Projection
> /gate/output/projection/enable
> /gate/output/projection/setFileName gate-projection
> /gate/output/projection/pixelSizeX 0.904 mm
> /gate/output/projection/pixelSizeY 0.904 mm
> /gate/output/projection/pixelNumberX 128
> /gate/output/projection/pixelNumberY 128
> # Specify the projection plane (XY, YZ or ZX)
> /gate/output/projection/projectionPlane ZX
>
> Thank you!
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


More information about the Gate-users mailing list