[Gate-users] Question in moving the source

林威佐 t891t17 at gmail.com
Fri Dec 16 07:40:00 CET 2011


Hi gaters,
I setted three sources in the phantom of my SPECT.
I rotated my phantom to attain to rotating the sources,
but the sources still at fixed location.
What should I modify my command to reach rotating the sources?
As following is my command.



#Phantom
/gate/world/daughters/name phantom
/gate/world/daughters/insert sphere
/gate/phantom/geometry/setRmax 30.  mm
/gate/phantom/geometry/setRmin 0. mm
/gate/phantom/placement/setTranslation 0. 0. 0. mm
/gate/phantom/setMaterial Air
/gate/phantom/vis/setColor white
/gate/phantom/vis/forceWireframe

#Sources
/gate/phantom/daughters/name sources
/gate/phantom/daughters/insert sphere
/gate/sources/geometry/setRmax 20.  mm
/gate/sources/geometry/setRmin 0. mm
/gate/sources/placement/setTranslation 0. 0. 0. mm
/gate/sources/moves/insert rotation
/gate/sources/rotation/setSpeed  1 deg/s
/gate/sources/rotation/setAxis 0 0 1
/gate/sources/setMaterial Air
/gate/sources/vis/setColor yellow
/gate/sources/vis/forceWireframe
--------------------------------------------------------------------------------------------------
#---source1---#
/gate/source/addSource GammaSource
/gate/source/GammaSource/gps/type Volume
/gate/source/GammaSource/gps/shape Sphere
/gate/source/GammaSource/gps/radius 0.5 mm
/gate/source/GammaSource/gps/centre -18.05577 0. 0. mm
/gate/source/GammaSource/gps/particle gamma
/gate/source/GammaSource/gps/energy 140. keV
/gate/source/GammaSource/setActivity 37800. Bq
/gate/source/GammaSource/gps/angtype iso

#---source2---#
/gate/source/addSource GammaSource2
/gate/source/GammaSource2/gps/type Volume
/gate/source/GammaSource2/gps/shape Sphere
/gate/source/GammaSource2/gps/radius 0.5 mm
/gate/source/GammaSource2/gps/centre 14.9169 0. 10.1734 mm
/gate/source/GammaSource2/gps/particle gamma
/gate/source/GammaSource2/gps/energy 140. keV
/gate/source/GammaSource2/setActivity 37800. Bq
/gate/source/GammaSource2/gps/angtype iso

#---source3---#
/gate/source/addSource GammaSource3
/gate/source/GammaSource3/gps/type Volume
/gate/source/GammaSource3/gps/shape Sphere
/gate/source/GammaSource3/gps/radius 0.5 mm
/gate/source/GammaSource3/gps/centre 14.9169 0. -10.1734 mm
/gate/source/GammaSource3/gps/particle gamma
/gate/source/GammaSource3/gps/energy 140. keV
/gate/source/GammaSource3/setActivity 37800. Bq
/gate/source/GammaSource3/gps/angtype iso

/gate/source/GammaSource/gps/confine sources_P
/gate/source/GammaSource2/gps/confine sources_P
/gate/source/GammaSource3/gps/confine sources_P


Willie


More information about the Gate-users mailing list