2007年6月20日星期三

Fwd: How can I simu lation warm sphere sources in cylinder backgrond source?


你好

我做了一个简单的测试,象你那样使用了两个源,在我这里是可以的
。我模拟的是spect,程序如下:

# S O U R C E S
/gate/source/addSource cylinder_phantom
/gate/source/cylinder_phantom/setActivity 1000000. becquerel
/gate/source/cylinder_phantom/gps/particle gamma
/gate/source/cylinder_phantom/gps/energytype Mono
/gate/source/cylinder_phantom/gps/monoenergy 0.140 MeV
/gate/source/cylinder_phantom/setForcedHalfLife 21636 s
/gate/source/cylinder_phantom/gps/centre 0. 0. 0. cm
/gate/source/cylinder_phantom/gps/type Volume
/gate/source/cylinder_phantom/gps/shape Cylinder
/gate/source/cylinder_phantom/gps/radius 0.1 mm
/gate/source/cylinder_phantom/gps/halfz 0.5 mm
/gate/source/cylinder_phantom/gps/angtype iso
/gate/source/cylinder_phantom/gps/mintheta 0. deg
/gate/source/cylinder_phantom/gps/maxtheta 180. deg
/gate/source/cylinder_phantom/gps/minphi 0. deg
/gate/source/cylinder_phantom/gps/maxphi 360. deg

/gate/source/addSource SphereSource
/gate/source/SphereSource/setActivity 1000000. becquerel
/gate/source/SphereSource/gps/particle gamma
/gate/source/SphereSource/gps/monoenergy 0.140 MeV
/gate/source/SphereSource/setForcedHalfLife 65860 s
/gate/source/SphereSource/gps/energytype Mono
/gate/source/SphereSource/gps/type Volume
/gate/source/SphereSource/gps/shape Sphere
/gate/source/SphereSource/gps/radius 3 mm
/gate/source/SphereSource/gps/angtype iso
/gate/source/SphereSource/gps/centre 0.0 0.0 1.0 cm

/gate/source/list

---------- Forwarded message ----------
From: Guifen Lin
Date: Jun 17, 2007 2:14 AM
Subject: How can I simu lation warm sphere sources in cylinder backgrond source?
To: Shawn@tutorsky.net

Hi,All
  I want to simulation warm sphere sources in cylinder backgrond
source.
  Here is my scripts:
  #       P H A N T O M   G E O M E T R Y----"phantom.mac"
/gate/world/daughters/name Phantom
/gate/world/daughters/insert box
/gate/Phantom/placement/setTranslation 0.0 0.0 0.0 cm
/gate/Phantom/geometry/setXLength 35. cm
/gate/Phantom/geometry/setYLength 35. cm
/gate/Phantom/geometry/setZLength 35. cm
/gate/Phantom/setMaterial Air
/gate/Phantom/vis/forceWireframe
/gate/Phantom/vis/setColor gray
  # Outer SHell of Phantom
# Center Section of Upper Outer Shell
/gate/Phantom/daughters/name outershell
/gate/Phantom/daughters/insert cylinder
/gate/outershell/geometry/setRmax 11. cm
/gate/outershell/geometry/setRmin 10. cm
/gate/outershell/geometry/setHeight 20 cm
/gate/outershell/setMaterial Plastic
/gate/outershell/vis/forceWireframe
/gate/outershell/vis/setColor red
  # Water in Phantom
/gate/Phantom/daughters/name interior
/gate/Phantom/daughters/insert cylinder
/gate/interior/geometry/setRmax 10 cm
/gate/interior/geometry/setRmin  0.0 cm
/gate/interior/geometry/setHeight 20 cm
/gate/interior/setMaterial Water
/gate/interior/vis/forceWireframe
/gate/interior/vis/setColor blue
  
  # 10 mm Sphere
/gate/interior/daughters/name sphere10
/gate/interior/daughters/insert sphere
/gate/sphere10/placement/setTranslation 2.86 4.95367 0 cm
/gate/sphere10/geometry/setRmax 1 cm
/gate/sphere10/geometry/setRmin 0.0 cm
/gate/sphere10/setMaterial Air
#/gate/sphere10/vis/forceWireframe
/gate/sphere10/vis/setColor gray
  # 10 mm Sphere Exterior
/gate/interior/daughters/name sphere10out
/gate/interior/daughters/insert sphere
/gate/sphere10out/placement/setTranslation 2.86 4.95367 3.7 cm
/gate/sphere10out/geometry/setRmax 0.6 cm
/gate/sphere10out/geometry/setRmin 0.5 cm
/gate/sphere10out/setMaterial Plastic
#/gate/sphere10out/vis/forceWireframe
/gate/sphere10out/vis/setColor red
  #      A t t a c h   P h a n t o m
/gate/Phantom/attachPhantomSD
/gate/interior/attachPhantomSD
/gate/sphere10/attachPhantomSD
/gate/sphere10out/attachPhantomSD
/gate/outershell/attachPhantomSD
  
  
  # F A S T   P R O D U C T I O N   M O D U L E   F O R   F - 1 8   I S
O T O P E S---"source.mac"
/gate/source/addSource BackgroundSource
/gate/source/BackgroundSource/setActivity 50000. becquerel
/gate/source/BackgroundSource/gps/particle e+
/gate/source/BackgroundSource/setForcedUnstableFlag true
/gate/source/BackgroundSource/setForcedHalfLife 6586 s
/gate/source/BackgroundSource/gps/energytype Fluor18
/gate/source/BackgroundSource/gps/type Volume
/gate/source/BackgroundSource/gps/shape Cylinder
/gate/source/BackgroundSource/gps/radius 10 cm
/gate/source/BackgroundSource/gps/halfz 20 cm
/gate/source/BackgroundSource/gps/confine interior_P
/gate/source/BackgroundSource/gps/angtype iso
/gate/source/BackgroundSource/gps/centre 0.0 0.0 0. cm
  /gate/source/addSource SphereSource
/gate/source/SphereSource/setActivity 50000. becquerel
/gate/source/SphereSource/gps/particle e+
/gate/source/SphereSource/setForcedUnstableFlag true
/gate/source/SphereSource/setForcedHalfLife 6586 s
/gate/source/SphereSource/gps/energytype Fluor18
/gate/source/SphereSource/gps/type Volume
/gate/source/SphereSource/gps/shape Sphere
/gate/source/SphereSource/gps/radius 1 cm
/gate/source/SphereSource/gps/confine sphere10_P
/gate/source/SphereSource/gps/angtype iso
/gate/source/SphereSource/gps/centre 0.0 0.0 0. cm

  When I run the simulate,It shows the error. I think the sphere source
and the blackground sources are overlapped.But how to solve this 
problem
  
  
  Thanks in advance!
  


抢注雅虎免费邮箱-3.5G容量,20M附件!

0 条评论:

发表评论

订阅 博文评论 [Atom]

<< 主页