[Gate-users] Energy windows

Marc Chamberland MarcChamberland at cmail.carleton.ca
Tue Oct 8 19:59:34 CEST 2013


Hi,

I think Gate is case sensitive. So try to change "singles" to "Singles" on the following lines:

/gate/digitizer/window1/setInputName singles
/gate/digitizer/window2/setInputName singles
/gate/digitizer/window3/setInputName singles

If that does not work, then I do not know.

Good luck!
Marc



__________________________

Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)

On 2013-10-08, at 8:04 AM, mojtaba jahdasa <mjahdasa at yahoo.com>
 wrote:

> Hi,
> Dear Gate users,
> i have a problem with define energy windows in SPECT Simulation. i'm using gate v6.2. i define 3 energy windows (window1,2,3) according Gate manual with this commands:
> 
> /gate/digitizer/Singles/insert adder
> /gate/digitizer/Singles/insert blurring
> /gate/digitizer/Singles/blurring/setResolution 0.10
> /gate/digitizer/Singles/blurring/setEnergyOfReference 140. keV
> /gate/digitizer/Singles/insert spblurring
> /gate/digitizer/Singles/spblurring/setSpresolution 2.0 mm
> /gate/digitizer/Singles/spblurring/verbose 0
> 
> /gate/digitizer/Singles/insert thresholder
> /gate/digitizer/Singles/thresholder/setThreshold 126. keV
> /gate/digitizer/Singles/insert upholder
> /gate/digitizer/Singles/upholder/setUphold 154. keV
> 
> /gate/digitizer/name window1
> /gate/digitizer/insert singleChain
> /gate/digitizer/window1/setInputName singles
> /gate/digitizer/window1/insert thresholder
> /gate/digitizer/window1/thresholder/setThreshold 126. keV
> /gate/digitizer/window1/insert upholder
> /gate/digitizer/window1/upholder/setUphold 135. keV
> 
> /gate/digitizer/name window2
> /gate/digitizer/insert singleChain
> /gate/digitizer/window2/setInputName singles
> /gate/digitizer/window2/insert thresholder
> /gate/digitizer/window2/thresholder/setThreshold 135. keV
> /gate/digitizer/window2/insert upholder
> /gate/digitizer/window2/upholder/setUphold 146. keV
> 
> /gate/digitizer/name window3
> /gate/digitizer/insert singleChain
> /gate/digitizer/window3/setInputName singles
> /gate/digitizer/window3/insert thresholder
> /gate/digitizer/window3/thresholder/setThreshold 146. keV
> /gate/digitizer/window3/insert upholder
> /gate/digitizer/window3/uphold/setUphold 154. keV
> 
> and for output add this commands:
> 
> /gate/output/projection/enable
> /gate/output/projection/setFileName SPECT
> /gate/output/projection/pixelSizeX 6.25 mm
> /gate/output/projection/pixelSizeY 6.25 mm
> /gate/output/projection/pixelNumberX 64
> /gate/output/projection/pixelNumberY 64
> 
> /gate/output/projection/projectionPlane YZ
> /gate/output/projection/addInputDataName window1
> /gate/output/projection/addInputDataName window2
> /gate/output/projection/addInputDataName window3
> 
> but in the end of 1 run, in the output file (interfile, SPECT.sin) there are 2 image and 6 black projection(attach file) instead of 8 image,indeed output is only for main window (126-154 kev) ,not oder windows.
> Does anyone know why this occurs?
> Thanks
> Best Regards
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> <image.jpg>_______________________________________________
> 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