<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:14pt"><div id="yiv0368253339"><div><div style="color:#000;background-color:#fff;font-family:bookman old style, new york, times, serif;font-size:14pt;"><div id="yiv0368253339yui_3_7_2_33_1381232511088_39">Hi,<br></div><div id="yiv0368253339yui_3_7_2_33_1381232511088_54" style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;">Dear Gate users,</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_62">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:</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;"
 id="yiv0368253339yui_3_7_2_33_1381232511088_71"><br></div><div style="color:rgb(0, 0, 0);
font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_65">/gate/digitizer/Singles/insert adder<br>/gate/digitizer/Singles/insert blurring<br>/gate/digitizer/Singles/blurring/setResolution 0.10<br>/gate/digitizer/Singles/blurring/setEnergyOfReference 140. keV<br>/gate/digitizer/Singles/insert spblurring<br>/gate/digitizer/Singles/spblurring/setSpresolution 2.0 mm<br id="yiv0368253339yui_3_7_2_33_1381232511088_69">/gate/digitizer/Singles/spblurring/verbose 0</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_67"><br>/gate/digitizer/Singles/insert thresholder<br>/gate/digitizer/Singles/thresholder/setThreshold 126. keV<br>/gate/digitizer/Singles/insert upholder<br>/gate/digitizer/Singles/upholder/setUphold 154. keV<br><br>/gate/digitizer/name
 window1<br>/gate/digitizer/insert singleChain<br>/gate/digitizer/window1/setInputName singles<br>/gate/digitizer/window1/insert thresholder<br>/gate/digitizer/window1/thresholder/setThreshold 126. keV<br>/gate/digitizer/window1/insert upholder<br>/gate/digitizer/window1/upholder/setUphold 135. keV<br><br>/gate/digitizer/name window2<br>/gate/digitizer/insert singleChain<br>/gate/digitizer/window2/setInputName singles<br>/gate/digitizer/window2/insert thresholder<br>/gate/digitizer/window2/thresholder/setThreshold 135. keV<br>/gate/digitizer/window2/insert upholder<br>/gate/digitizer/window2/upholder/setUphold 146. keV<br><br>/gate/digitizer/name window3<br>/gate/digitizer/insert singleChain<br>/gate/digitizer/window3/setInputName singles<br>/gate/digitizer/window3/insert thresholder<br>/gate/digitizer/window3/thresholder/setThreshold 146. keV<br>/gate/digitizer/window3/insert upholder<br
 id="yiv0368253339yui_3_7_2_33_1381232511088_82">/gate/digitizer/window3/uphold</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_181"><br id="yiv0368253339yui_3_7_2_33_1381232511088_183"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_86">and for output add this commands:</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_190"><br id="yiv0368253339yui_3_7_2_33_1381232511088_192"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_187">/gate/output/projection/enable<br>/gate/output/projection/setFileName SPECT<br>/gate/output/projection/pixelSizeX 6.25
 mm<br>/gate/output/projection/pixelSizeY 6.25 mm<br>/gate/output/projection/pixelNumberX 64<br id="yiv0368253339yui_3_7_2_33_1381232511088_199">/gate/output/projection/pixelNumberY 64</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_205"><br id="yiv0368253339yui_3_7_2_33_1381232511088_207"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_197">/gate/output/projection/projectionPlane YZ<br>/gate/output/projection/addInputDataName window1<br>/gate/output/projection/addInputDataName window2<br>/gate/output/projection/addInputDataName window3<br></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_92"><br id="yiv0368253339yui_3_7_2_33_1381232511088_94"></div><div
 style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_98">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.</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_213">Does anyone know why this occurs?</div><div style="color:rgb(0, 0, 0);font-size:18.67px;
background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_218">Thanks</div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_224">Best Regards<br id="yiv0368253339yui_3_7_2_33_1381232511088_226"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_229"><br id="yiv0368253339yui_3_7_2_33_1381232511088_231"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_221"><br></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_104"><br id="yiv0368253339yui_3_7_2_33_1381232511088_106"></div><div style="color:rgb(0, 0,
 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_110"><br id="yiv0368253339yui_3_7_2_33_1381232511088_112"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_116"><br id="yiv0368253339yui_3_7_2_33_1381232511088_148"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_152"><br id="yiv0368253339yui_3_7_2_33_1381232511088_154"></div><div style="color:rgb(0, 0, 0);font-size:18.67px;background-color:transparent;font-style:normal;" id="yiv0368253339yui_3_7_2_33_1381232511088_158">setUphold 154. keV</div></div></div></div></div></body></html>