[Gate-users] IMAGE QUALITY-PET

Devin VanElburg vanelbud at tbh.net
Fri Aug 7 15:16:19 CEST 2015


Hello Lorena,

You need to give each of the F18 sources a different name, like you did
with your cold sources. That should solve your problem. 


Cheers,
Devin Van Elburg
------------------------
Physics w/ c/ Biomedical Physics
Lakehead University
>>> LORENA VÁZQUEZ CANELAS 08/07/15 9:05 AM >>>
Hi Gaters,
I make the phantom to calculate the image quality for PET: it have 6
spheres/clinders of diferents diameters, 4 hot sources of fluorine-18
and 2 cold sources. 
The error that my program returned is the following: 

 GateSourceMgr.cc (l.258): GateSourceMgr::CheckSourceName : ERROR :
source name  already exists

Can you help me?
how many times to define sources F-18? One for each sphere? i.e., Four
sources?

​
The part of my code referred to particle sources is this:
#============================================================
#          PARTICLE SOURCES
#============================================================
#------------------------------------------------------------
#          SPHERE 1-HOT SOURCE
#------------------------------------------------------------
/gate/source/addSource                F18 
/gate/source/F18/setActivity             0. becquerel
/gate/source/F18/setForcedHalfLife         6586 s

/gate/source/F18/gps/centre            0. 0. 0. cm

/gate/source/F18/gps/particle             e+
/gate/source/F18/setForcedUnstableFlag         true
/gate/source/F18/gps/energytype            Fluor18

/gate/source/F18/gps/shape            Cylinder
/gate/source/F18/gps/type             Volume

/gate/source/F18/gps/radius            0.5 cm
/gate/source/F18/gps/halfz            3.5 cm

/gate/source/F18/gps/angtype            iso
/gate/source/F18/gps/mintheta            0. deg
/gate/source/F18/gps/maxtheta            180. deg
/gate/source/F18/gps/minphi            0. deg
/gate/source/F18/gps/maxphi            360. deg
/gate/source/F18/gps/confine            phantom1
/gate/source/F18/attachTo            phantom1
/gate/source/list

#------------------------------------------------------------
#          SPHERE 2-HOT SOURCE
#------------------------------------------------------------
/gate/source/addSource                F18 
/gate/source/F18/setActivity             0. becquerel
/gate/source/F18/setForcedHalfLife         6586 s

/gate/source/F18/gps/centre            0. 0. 0. cm

/gate/source/F18/gps/particle             e+
/gate/source/F18/setForcedUnstableFlag         true
/gate/source/F18/gps/energytype            Fluor18

/gate/source/F18/gps/shape            Cylinder
/gate/source/F18/gps/type             Volume

/gate/source/F18/gps/radius            0.5 cm
/gate/source/F18/gps/halfz            3.5 cm

/gate/source/F18/gps/angtype            iso
/gate/source/F18/gps/mintheta            0. deg
/gate/source/F18/gps/maxtheta            180. deg
/gate/source/F18/gps/minphi            0. deg
/gate/source/F18/gps/maxphi            360. deg
/gate/source/F18/gps/confine            phantom2
/gate/source/F18/attachTo            phantom2
/gate/source/list
#------------------------------------------------------------
#          SPHERE 3-HOT SOURCE
#------------------------------------------------------------
/gate/source/addSource                F18 
/gate/source/F18/setActivity             0. becquerel
/gate/source/F18/setForcedHalfLife         6586 s

/gate/source/F18/gps/centre            0. 0. 0. cm

/gate/source/F18/gps/particle             e+
/gate/source/F18/setForcedUnstableFlag         true
/gate/source/F18/gps/energytype            Fluor18

/gate/source/F18/gps/shape            Cylinder
/gate/source/F18/gps/type             Volume

/gate/source/F18/gps/radius            0.5 cm
/gate/source/F18/gps/halfz            3.5 cm

/gate/source/F18/gps/angtype            iso
/gate/source/F18/gps/mintheta            0. deg
/gate/source/F18/gps/maxtheta            180. deg
/gate/source/F18/gps/minphi            0. deg
/gate/source/F18/gps/maxphi            360. deg
/gate/source/F18/gps/confine            phantom3
#------------------------------------------------------------
#          SPHERE 4-HOT SOURCE
#------------------------------------------------------------
/gate/source/addSource                F18 
/gate/source/F18/setActivity             0. becquerel
/gate/source/F18/setForcedHalfLife         6586 s

/gate/source/F18/gps/centre            0. 0. 0. cm

/gate/source/F18/gps/particle             e+
/gate/source/F18/setForcedUnstableFlag         true
/gate/source/F18/gps/energytype            Fluor18

/gate/source/F18/gps/shape            Cylinder
/gate/source/F18/gps/type             Volume

/gate/source/F18/gps/radius            0.5 cm
/gate/source/F18/gps/halfz            3.5 cm

/gate/source/F18/gps/angtype            iso
/gate/source/F18/gps/mintheta            0. deg
/gate/source/F18/gps/maxtheta            180. deg
/gate/source/F18/gps/minphi            0. deg
/gate/source/F18/gps/maxphi            360. deg
/gate/source/F18/gps/confine            phantom4
/gate/source/F18/attachTo            phantom4
/gate/source/list
#------------------------------------------------------------
#          SPHERE 5-COLD SOURCE
#------------------------------------------------------------
/gate/source/addSource                number1
/gate/source/number1/setActivity        0. becquerel
/gate/source/number1/gps/particle        gamma
/gate/source/number1/setType            backtoback
/gate/source/number1/gps/type            Volume
/gate/source/number1/gps/shape            Cylinder
/gate/source/number1/gps/radius            1.4 cm
/gate/source/number1/gps/halfz            3.5 cm
/gate/source/number1/gps/centre            1.76 -5.44 0. cm
/gate/source/number1/gps/monoenergy        511. keV
/gate/source/number1/gps/angtype        iso
/gate/source/number1/gps/Forbid            cold_area5
/gate/source/source/number1/dump        1
/gate/source/list
#------------------------------------------------------------
#          SPHERE 6-COLD SOURCE
#------------------------------------------------------------
/gate/source/addSource                number2
/gate/source/number2/setActivity        0. becquerel
/gate/source/number2/gps/particle        gamma
/gate/source/number2/setType            backtoback
/gate/source/number2/gps/type            Volume
/gate/source/number2/gps/shape            Cylinder
/gate/source/number2/gps/radius            1.85 cm
/gate/source/number2/gps/halfz            3.5 cm
/gate/source/number2/gps/centre            5.72 0. 0. cm
/gate/source/number2/gps/monoenergy        511. keV
/gate/source/number2/gps/angtype        iso
/gate/source/number2/gps/Forbid            cold_area6
/gate/source/source/number1/dump         1
/gate/source/list​

-- 
LORENA VÁZQUEZ CANELAS
PhD student, Research staff
LRI - Datación (Despacho Técnicos)
Calle Espejo, s/n, 37008 - Salamanca (Spain)
TEL: +34 923 294930 ext:4932 email: lorena.vazquez at usal.es
web: http://campus.usal.es/~lri/















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150807/b1681923/attachment.html>


More information about the Gate-users mailing list