Hi,<br>I experimented with voxelised Hoffman brain phantom as shown in the Gate examples and plug in the voxelized source and phantom in PET_Ecat_System.mac. I implemented the simulation for 3600 s as in order to produce many counts in the image. My macro file as as below and the reconstructed image using STIR (3D sinogram) is shown in AMIDE as below: However it seems that the image is noisy and has insufficient counts. How can I improve this? <br>
<br>To be truth, I am not very sure about the setting of <br>/gate/application/setTimeSlice 3600 s<br>/gate/application/setTimeStart 0 s<br>/gate/application/setTimeStop 3600 s<br><br>does it mean with longer simulation the more counts we have in GATE?<br>
<br>Thank you in advance for any advices.<br><br>Siti<br>Malaysia<br><br>#=====================================================<br># VISUALISATION<br>#=====================================================<br><br>#/vis/disable<br>
<br>#/vis/open OGLSX<br>#/vis/viewer/set/viewpointThetaPhi 60 60<br>#/vis/viewer/zoom 6.0<br>#/vis/drawVolume<br>#/tracking/storeTrajectory 1<br>#/vis/scene/add/trajectories <br>
#/vis/scene/endOfEventAction accumulate<br><br>/control/execute Verbose.mac<br><br><br>#=====================================================<br># GEOMETRY<br>#=====================================================<br>
<br><br>/gate/geometry/setMaterialDatabase ../../GateMaterials.db<br><br><br>#<br># W O R L D<br>#<br>/gate/world/geometry/setXLength 400. cm<br>/gate/world/geometry/setYLength 400. cm<br>/gate/world/geometry/setZLength 400. cm<br>
<br><br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br># #<br># D E F I N I T I O N A N D D E S C R I T I O N #<br>
# O F Y O U R P E T D E V I C E #<br># #<br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br><br>
# E C A T<br>/gate/world/daughters/name ecat<br>/gate/world/daughters/insert cylinder<br>/gate/ecat/setMaterial Air<br>/gate/ecat/geometry/setRmax 44.2 cm<br>/gate/ecat/geometry/setRmin 41.2 cm<br>/gate/ecat/geometry/setHeight 15.52 cm<br>
#ate/ecat/setTranslation 0.0 0.0 0.0 0.0 cm<br>/gate/ecat/vis/forceWireframe<br><br><br># B L O C K<br>/gate/ecat/daughters/name block<br>/gate/ecat/daughters/insert box<br>/gate/block/placement/setTranslation 427.0 0.0 0.0 mm<br>
/gate/block/geometry/setXLength 30.0 mm<br>/gate/block/geometry/setYLength 35.8594 mm<br>/gate/block/geometry/setZLength 38.7 mm<br>/gate/block/setMaterial Air<br>/gate/block/vis/forceWireframe<br><br><br><br># C R Y S T A L<br>
/gate/block/daughters/name crystal<br>/gate/block/daughters/insert box<br>#ate/ecat/setTranslation 0.0 0.0 0.0 0.0 cm<br>/gate/crystal/geometry/setXLength 30.0 mm<br>/gate/crystal/geometry/setYLength 4.4 mm<br>/gate/crystal/geometry/setZLength 4.75 mm<br>
/gate/crystal/setMaterial BGO<br>/gate/crystal/vis/setColor yellow<br><br><br><br><br># R E P E A T C R Y S T A L<br>/gate/crystal/repeaters/insert cubicArray<br>/gate/crystal/cubicArray/setRepeatNumberX 1<br>/gate/crystal/cubicArray/setRepeatNumberY 8<br>
/gate/crystal/cubicArray/setRepeatNumberZ 8<br>/gate/crystal/cubicArray/setRepeatVector 0. 4.4942 4.85 mm<br><br><br># R E P E A T BLOCK<br>/gate/block/repeaters/insert linear<br>/gate/block/linear/setRepeatNumber 4<br>
/gate/block/linear/setRepeatVector 0. 0. 38.8 mm<br>/gate/block/repeaters/insert ring<br>/gate/block/ring/setRepeatNumber 72<br><br><br># T U N G S T E N S H I E L D <br>/gate/world/daughters/name carter<br>/gate/world/daughters/insert cylinder<br>
/gate/carter/setMaterial Air<br>/gate/carter/geometry/setRmax 44. cm<br>/gate/carter/geometry/setRmin 28. cm<br>/gate/carter/geometry/setHeight 9. cm<br>/gate/carter/placement/setTranslation 0.0 0.0 12.5 cm<br>/gate/carter/vis/forceWireframe<br>
<br>/gate/carter/daughters/name carter1<br>/gate/carter/daughters/insert cylinder<br>/gate/carter1/setMaterial Tungsten<br>/gate/carter1/geometry/setRmax 30.0 cm<br>/gate/carter1/geometry/setRmin 29.0 cm<br>/gate/carter1/geometry/setHeight 3.0 cm<br>
/gate/carter1/vis/setColor grey<br>/gate/carter1/placement/setTranslation 0.0 0.0 -3 cm<br><br>/gate/carter/daughters/name carter2<br>/gate/carter/daughters/insert cylinder<br>/gate/carter2/setMaterial Tungsten<br>/gate/carter2/geometry/setRmax 40.7 cm<br>
/gate/carter2/geometry/setRmin 30.0 cm<br>/gate/carter2/geometry/setHeight 1.0 cm<br>/gate/carter2/vis/setColor grey<br>/gate/carter2/placement/setTranslation 0.0 0.0 -2 cm<br><br>/gate/carter/daughters/name carter3<br>/gate/carter/daughters/insert cylinder<br>
/gate/carter3/setMaterial Tungsten<br>/gate/carter3/geometry/setRmax 40.7 cm<br>/gate/carter3/geometry/setRmin 39.7 cm<br>/gate/carter3/geometry/setHeight 3.0 cm<br>/gate/carter3/vis/setColor grey<br>/gate/carter3/placement/setTranslation 0.0 0.0 0 cm<br>
<br>/gate/carter/daughters/name carter4<br>/gate/carter/daughters/insert cylinder<br>/gate/carter4/setMaterial Tungsten<br>/gate/carter4/geometry/setRmax 43.7 cm<br>/gate/carter4/geometry/setRmin 40.7 cm<br>/gate/carter4/geometry/setHeight 1.0 cm<br>
/gate/carter4/vis/setColor grey<br>/gate/carter4/placement/setTranslation 0.0 0.0 1 cm<br><br><br># A T T A C H S Y S T E M <br>/gate/systems/ecat/block/attach block<br>/gate/systems/ecat/crystal/attach crystal<br>
<br># A T T A C H C R Y S T A L SD<br>/gate/crystal/attachCrystalSD<br><br><br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br># #<br>
# D E F I N I T I O N A N D D E S C R I T I O N #<br># O F Y O U R P H A N T O M #<br># #<br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br>
#=====================================================<br># VOXEL PHANTOM<br>#=====================================================<br><br>/control/execute VoxelizedPhantom.mac<br><br>#=====================================================<br>
# PHYSICS<br>#=====================================================<br>/gate/physics/addProcess PhotoElectric<br>/gate/physics/processes/PhotoElectric/setModel StandardModel<br><br>/gate/physics/addProcess Compton<br>/gate/physics/processes/Compton/setModel StandardModel<br>
<br>/gate/physics/addProcess RayleighScattering<br>/gate/physics/processes/RayleighScattering/setModel PenelopeModel<br><br>/gate/physics/addProcess ElectronIonisation<br>/gate/physics/processes/ElectronIonisation/setModel StandardModel e-<br>
/gate/physics/processes/ElectronIonisation/setModel StandardModel e+<br><br>/gate/physics/addProcess Bremsstrahlung<br>/gate/physics/processes/Bremsstrahlung/setModel StandardModel e-<br>/gate/physics/processes/Bremsstrahlung/setModel StandardModel e+<br>
<br>/gate/physics/addProcess PositronAnnihilation<br><br>/gate/physics/addProcess MultipleScattering e+<br>/gate/physics/addProcess MultipleScattering e-<br><br>/gate/physics/processList Enabled<br>/gate/physics/processList Initialized<br>
<br>#=====================================================<br># CUTS<br>#=====================================================<br><br>/gate/physics/Gamma/SetCutInRegion crystal 1.0 cm<br>/gate/physics/Electron/SetCutInRegion crystal 1.0 cm<br>
/gate/physics/Positron/SetCutInRegion crystal 1.0 cm<br><br><br>/gate/physics/Gamma/SetCutInRegion hof_brain 0.1 mm<br>/gate/physics/Electron/SetCutInRegion hof_brain 0.1 mm<br>/gate/physics/Positron/SetCutInRegion hof_brain 0.1 mm<br>
<br>/gate/physics/SetMaxStepSizeInRegion hof_brain 0.01 mm<br><br>#=====================================================<br># INITIALISATION<br>#=====================================================<br><br>/gate/run/initialize<br>
<br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br># #<br># D E F I N I T I O N O F Y O U R A C Q U I S I T I O N #<br># D I G I T I Z E R & C O I N C I D E N C E S H O R T E R #<br>
# #<br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br># A D D E R<br>/gate/digitizer/Singles/insert adder<br><br><br># R E A D O U T <br>
/gate/digitizer/Singles/insert readout<br>/gate/digitizer/Singles/readout/setDepth 1<br><br><br># E N E R G Y B L U R R I N G<br>/gate/digitizer/Singles/insert blurring<br>/gate/digitizer/Singles/blurring/setResolution 0.26<br>
/gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV<br><br><br># E N E R G Y C U T<br>/gate/digitizer/Singles/insert thresholder<br>/gate/digitizer/Singles/thresholder/setThreshold 250. keV<br>/gate/digitizer/Singles/insert upholder<br>
/gate/digitizer/Singles/upholder/setUphold 750. keV<br><br><br># D E A D T I M E <br>/gate/digitizer/Singles/insert deadtime<br>/gate/digitizer/Singles/deadtime/setDeadTime 3000000. ps<br>/gate/digitizer/Singles/deadtime/setMode paralysable<br>
/gate/digitizer/Singles/deadtime/chooseDTVolume block<br><br><br># C O I N C I S O R T E R <br>/gate/digitizer/Coincidences/setWindow 10. ns<br>/gate/digitizer/Coincidences/setOffset 0. ns<br>/gate/digitizer/Coincidences/describe<br>
<br>/gate/digitizer/name delay<br>/gate/digitizer/insert coincidenceSorter<br>/gate/digitizer/delay/setWindow 10. ns<br>/gate/digitizer/delay/setOffset 500. ns<br>/gate/digitizer/delay/describe<br><br><br>/gate/digitizer/name finalCoinc<br>
/gate/digitizer/insert coincidenceChain<br>/gate/digitizer/finalCoinc/addInputName delay<br>/gate/digitizer/finalCoinc/addInputName Coincidences<br>/gate/digitizer/finalCoinc/usePriority true<br>/gate/digitizer/finalCoinc/describe<br>
<br><br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br># #<br># D E F I N I T I O N O F #<br>
# Y O U R O U T P U T F I L E #<br># #<br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br><br>
# R A N D O M<br><br># JamesRandom Ranlux64 MersenneTwister<br>/gate/random/setEngineName JamesRandom<br>#/gate/random/setEngineSeed default<br>#/gate/random/setEngineSeed auto<br>#/gate/random/setEngineSeed 123456789<br>
/gate/random/setEngineSeed default<br>#/gate/random/resetEngineFrom fileName<br>/gate/random/verbose 1<br><br><br># S E T U P - R O O T F I L E<br>/gate/output/root/disable<br>#/gate/output/root/setFileName YourPETSimu<br>
#/gate/output/root/setRootSinglesAdderFlag 1<br>#/gate/output/root/setRootSinglesReadoutFlag 1<br>#/gate/output/root/setRootHitFlag 1<br>#/gate/output/root/setRootSinglesFlag 1<br>#/gate/output/root/setRootCoincidencesFlag 1<br>
<br><br>###################################################<br># E C A T 7 O U T P U T<br>#<br># W I T H N E W F U N C T I O N A L I T I E S<br># *-*-* according to the coincidence sorter *-*-*<br>#<br>
# 01 J U N E 2 0 0 6<br>###################################################<br>/gate/output/sinogram/enable<br>/gate/output/sinogram/setTangCrystalBlurring 1.8 mm<br>/gate/output/sinogram/setAxialCrystalBlurring 1.8 mm<br>
/gate/output/sinogram/verbose 2<br>/gate/output/sinogram/RawOutputEnable <br>/gate/output/sinogram/setFileName PhantomSinogram<br>/gate/output/sinogram/StoreDelayeds<br>/gate/output/sinogram/StoreScatters<br>/gate/output/sinogram/setInputDataName finalCoinc<br>
/gate/output/sinogram/describe<br><br>/gate/output/ecat7/enable<br>/gate/output/ecat7/verbose 2<br>/gate/output/ecat7/setFileName PhantomSinogramEcat<br>/gate/output/ecat7/describe<br>/gate/output/ecat7/mashing 2<br>/gate/output/ecat7/span 9<br>
/gate/output/ecat7/maxringdiff 22<br>/gate/output/ecat7/system 962<br>/gate/output/ecat7/IsotopeCode F-18<br>/gate/output/ecat7/IsotopeHalflife 6586.2 second<br>/gate/output/ecat7/IsotopeBranchingFraction 1.0<br><br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br>
# #<br># D E F I N I T I O N O F #<br># Y O U R V E R B O S I T Y L E V E L #<br># #<br>
#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br>/control/execute Verbose.mac<br><br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br># #<br>
# D E F I N I T I O N O F #<br># Y O U R S O U R C E S <br># VOXELIZED SOURCE #<br># #<br>
#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br>/control/execute VoxelizedSource.mac<br><br><br><br>#/gate/source/list<br><br><br>#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br>
# #<br># S T A R T A C Q U I S I T I O N #<br># T I M E P A R A M E T E R S #<br># #<br>
#-------------------oooooOOOOO00000OOOOOooooo---------------------#<br><br>#<br># EXPERIMENT<br>#<br>/gate/application/setTimeSlice 3600 s<br>/gate/application/setTimeStart 0 s<br>/gate/application/setTimeStop 3600 s<br>
<br>#<br># LET'S RUN THE SIMULATION!<br>#<br>/gate/application/startDAQ<br><br><br><img alt="Inline image 1" src="cid:ii_13ca91fd043c030b"><br><br><br><br>