[Gate-users] "Forbid" command: cold source simulation inside a background hot source
Peyman Sheikhzadeh
psh82 at yahoo.com
Wed May 9 21:55:27 CEST 2018
Hello Nicolas and Sara,I revised your code as follows, TubeSource2 shouldn't to be used in your code.
/gate/world/daughters/name innerCylinder1
/gate/world/daughters/insert cylinder
/gate/innerCylinder1/placement/setTranslation 0.0 0.0 0.0 cm
/gate/innerCylinder1/geometry/setRmax 1.5 cm
/gate/innerCylinder1/geometry/setHeight 6.0 cm
/gate/innerCylinder1/setMaterial Water
/gate/innerCylinder1/vis/forceWireframe
/gate/innerCylinder1/vis/setColor blue
/gate/innerCylinder1/attachPhantomSD
/gate/source/addSource TubeSource1/gate/source/TubeSource1/gps/type Volume/gate/source/TubeSource1/gps/shape Cylinder/gate/source/TubeSource1/gps/radius 3.0 cm/gate/source/TubeSource1/gps/halfz 3.0 cm/gate/source/TubeSource1/setActivity 20000 becquerel #### to be specified/gate/source/TubeSource1/gps/particle e+/gate/source/TubeSource1/setForcedUnstableFlag true/gate/source/TubeSource1/gps/energytype Fluor18/gate/source/TubeSource1/setForcedHalfLife 6586.2 s/gate/source/TubeSource1/gps/angtype iso/gate/source/TubeSource1/gps/centre 0. 0. 0 cm/gate/source/TubeSource1/gps/Forbid innerCylinder1
Best Regards
-------------------
Peyman Sheikhzadeh
PhD Candidate in Medical Physics
Medical Physics & Biomedical Engineering Department
Center for Molecular & Cellular Imaging
Institute for Advanced medical Technologies
Tehran University Of Medical Science
Tehran-Iran
On Wednesday, May 9, 2018, 10:33:34 PM GMT+4:30, Nicolas Karakatsanis <nicolas.karakatsanis at gmail.com> wrote:
Dear GATE users,
On behalf of my colleague, Dr. Sara Zein, I am forwarding you her question below. We would appreciate any help from the GATE community.
We would like to simulate a cylindrical radioactive source having a hollow center without activity. We are using the cold source command "Forbid" on the region we wish to exclude from our source. However the background activity from the larger source still persists. Below you may find our code.
/gate/source/addSource TubeSource1
/gate/source/TubeSource1/gps/type Volume
/gate/source/TubeSource1/gps/shape Cylinder
/gate/source/TubeSource1/gps/radius 3.0 cm
/gate/source/TubeSource1/gps/halfz 3.0 cm
/gate/source/TubeSource1/setActivity 2000000 becquerel #### to be specified
/gate/source/TubeSource1/gps/particle e+
/gate/source/TubeSource1/setForcedUnstableFlag true
/gate/source/TubeSource1/gps/energytype Fluor18
/gate/source/TubeSource1/setForcedHalfLife 6586.2 s
/gate/source/TubeSource1/gps/angtype iso
/gate/source/TubeSource1/gps/centre 0. 0. 0 cm
/gate/world/daughters/name innerCylinder1
/gate/world/daughters/insert cylinder
/gate/innerCylinder1/placement/setTranslation 0.0 0.0 0.0 cm
/gate/innerCylinder1/geometry/setRmax 1.5 cm
/gate/innerCylinder1/geometry/setHeight 6.0 cm
/gate/innerCylinder1/setMaterial Water
/gate/innerCylinder1/vis/forceWireframe
/gate/innerCylinder1/vis/setColor blue
/gate/source/addSource TubeSource2
/gate/source/TubeSource2/gps/type Volume
/gate/source/TubeSource2/gps/shape Cylinder
/gate/source/TubeSource2/gps/radius 1.5 cm
/gate/source/TubeSource2/gps/halfz 3 cm
/gate/source/TubeSource2/setActivity 2000000 becquerel #### to be specified
/gate/source/TubeSource2/gps/particle gamma
/gate/source/TubeSource2/gps/monoenergy 511. keV
/gate/source/TubeSource2/gps/angtype iso
/gate/source/TubeSource2/gps/centre 0. 0. 0 cm
/gate/source/TubeSource2/gps/Forbid innerCylinder1
/gate/source/TubeSource2/dump 1
/gate/source/list
Thank you in advance,
RegardsSara Zein
Nikolaos (Nicolas) A. Karakatsanis, PhD, DABSNM
Assistant Professorof Biomedical Engineering in Radiology
WeillCornell Medical College
Weill Cornell Medicine
Divisionof Radiopharmaceutical Sciences, Department of Radiology
515 East71st Street, S-120, New York, NY 10021
nak2032 at med.cornell.edu
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180509/9c46bad8/attachment-0001.html>
More information about the Gate-users
mailing list