<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ks_c_5601-1987">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Gulim;
panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:Gulim;
panose-1:2 11 6 0 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Malgun Gothic";
color:#1F497D;}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Malgun Gothic";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Malgun Gothic";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Hi, Hojjat.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Thank you for your advice.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Here is my code.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># V I S U A L I S A T I O N</span><span lang=EN-US style='font-size:10.0pt'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/vis/disable<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/control/execute vis.mac<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># M A N D A T O R Y<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/geometry/setMaterialDatabase /GATE/gate_v7.0/GateMaterials.db<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># G E O M E T R Y<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/control/execute Geometry.mac<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/geometry/rebuild<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># C O L L I M A T O R<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/control/execute Collimator.mac<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/geometry/rebuild<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># C R Y S T A L<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/control/execute Crystal.mac<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/geometry/rebuild<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># P H A N T O M<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom volume (Plastic)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/name Phantom<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/geometry/setRmax 2 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/geometry/setHeight 4 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/placement/setTranslation 0 0 0 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/placement/setRotationAxis 0 1 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/placement/setRotationAngle 90 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/setMaterial Plastic<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/vis/setColor blue<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/vis/forceWireframe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom volume (Air for Ce)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/daughters/name Phantom_Air_1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/placement/setTranslation 0 1.05 0 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/setMaterial Air<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/vis/setColor blue<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/vis/forceWireframe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom volume (Air for Gd)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/daughters/name Phantom_Air_2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/placement/setTranslation -0.909327 -0.525 0 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/setMaterial Air<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/vis/setColor blue<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/vis/forceWireframe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom volume (Air for W)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/daughters/name Phantom_Air_3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/placement/setTranslation 0.909327 -0.525 0 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/setMaterial Air<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/vis/setColor blue<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/vis/forceWireframe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom (detector) volume (Ce)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/name Inner_Phantom_1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/systemType SPECThead<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/placement/setRotationAxis 0 1 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/placement/setRotationAngle 90 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/placement/setTranslation 0 1.05 0 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/setMaterial Cerium<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/vis/setColor grey<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom crystal (detector) volume (Ce)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/daughters/name Inner_Phantom_Crystal_1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_1/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_1/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_1/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_1/placement/setTranslation 0. 0. 0. cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_1/setMaterial Cerium<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_1/vis/setColor yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom (detector) volume (Gd)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/name Inner_Phantom_2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/systemType SPECThead<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/placement/setRotationAxis 0 1 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/placement/setRotationAngle 90 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/placement/setTranslation 0 -0.525 0.909327 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/setMaterial Gadolinium<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/vis/setColor grey<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom crystal (detector) volume (Gd)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/daughters/name Inner_Phantom_Crystal_2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_2/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_2/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_2/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_2/placement/setTranslation 0. 0. 0. cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_2/setMaterial Gadolinium<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_2/vis/setColor yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom (detector) volume (W)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/name Inner_Phantom_3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/systemType SPECThead<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/world/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/placement/setRotationAxis 0 1 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/placement/setRotationAngle 90 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/placement/setTranslation 0 -0.525 -0.909327 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/setMaterial Tungsten<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/vis/setColor grey<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Create the phantom crystal (detector) volume (W)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/daughters/name Inner_Phantom_Crystal_3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_3/daughters/insert cylinder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_3/geometry/setRmax 0.5 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_3/geometry/setHeight 3.9 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_3/placement/setTranslation 0. 0. 0. cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_3/setMaterial Tungsten<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_3/vis/setColor yellow<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># S Y S T E M<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>######<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># The system acts as an interpretor between the GATE geometry and data outputs for reconstruction <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># in our case, the Interfile writer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># A system must know which components of the geometry are parts of the scanner, and what <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># their role are.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># For the moment, there is only a system SPECThead, which was built when the SPECThead volume<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># was inserted. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># The SPECThead system is made of three levels: base (for the head), crystal (for the crystal and crystal matrix) <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># and pixel (for individual crystals for pixellated gamma camera)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># For now, only the base of the system is attached to a volume: the volume SPECThead<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># For the system to get information about your crystal, the level crystal must be attached to the volume <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># that has been defined for the scintillating crystal (crystal)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/systems/SPECT_CdTe/crystal/attach Crystal_CdTe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##/gate/systems/SPECT_CdTe/describe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/systems/SPECT_CsI/crystal/attach Crystal_CsI<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##/gate/systems/SPECT_CsI/describe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/systems/Inner_Phantom_1/crystal/attach Inner_Phantom_Crystal_1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/systems/Inner_Phantom_1/describe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/systems/Inner_Phantom_2/crystal/attach Inner_Phantom_Crystal_2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/systems/Inner_Phantom_2/describe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/systems/Inner_Phantom_3/crystal/attach Inner_Phantom_Crystal_3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/systems/Inner_Phantom_3/describe<b><u><o:p></o:p></u></b></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># S E N S I T I V E D E T E C T O R S<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>######<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># GATE provides two sensitive detectors, which have two different functions<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Using them properly is very important for getting accurate results<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># Crystal SD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># The crystal SD makes it possible to record hits in a sensitive volume (e.g.,. in a scintillation crystal)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># It must be attached to any volume for which hit-data must be obtained<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># For recording hits in the NaI volume only, the name of which is crystal, this volume is attached <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># to the crystal SD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/Crystal_CdTe/attachCrystalSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/Crystal_CsI/attachCrystalSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_1/attachCrystalSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_2/attachCrystalSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Inner_Phantom_Crystal_3/attachCrystalSD<b><u><o:p></o:p></u></b></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># Phantom SD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># The phantom SD makes it possible to record Compton events in the volumes within the field of view<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># This can provide information for result analysis to discriminate between <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># scattered and unscattered photons<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># It must be attached to each and every volume for whom Compton interactions have to be recorded<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_1/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_2/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Phantom_Air_3/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/SPECT_CdTe/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/Collimator/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/SPECT_CsI/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/Inner_Phantom_1/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/Inner_Phantom_2/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/Inner_Phantom_3/attachPhantomSD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># P H Y S I C S<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/addProcess PhotoElectric<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/processes/PhotoElectric/setModel StandardModel<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/addProcess Compton<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/processes/Compton/setModel StandardModel<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/addProcess Bremsstrahlung<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/processes/Bremsstrahlung/setModel StandardModel<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/processList Enabled<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/physics/processList Initialized<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/run/initialize<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># D E F I N E T H E S O U R C E<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/addSource Source<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/type Point<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/centre 0 0 30 cm<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/particle gamma<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/energy 150 keV<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/setActivity 300000. Bq<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/angtype iso<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/mintheta 0 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/Source/gps/maxtheta 5 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/source/Source/gps/minphi 0 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/source/Source/gps/maxphi 360 deg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/source/Source/visualize 100000 red 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/source/list<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/digitizer/Singles/insert adder<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># O U T P U T<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Select the options of the data output <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># As there are several modules, settings have to be defined for each module, especially in SPECT, where there <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># are a lots of hits for only a few counts, so it's better to limit the amount of data produced<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Here the SingleDigi output can be used if you have your own program to process the data<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/output/ascii/disable<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/output/ascii/enable<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/output/ascii/setOutFileHitsFlag 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/output/ascii/setOutFileSinglesFlag 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/output/ascii/setFileName SPECT_<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/output/ascii/setSingleMask 1 1 0 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#/gate/output/ascii/setOutFileSizeLimit 104857600<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># R A N D O M<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># #<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/random/setEngineSeed auto<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/random/verbose 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/random/verbose 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># E X P E R I M E N T <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Define the parameters of the experiment (start time, stop time and time slice)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># The number of projections depends on the number of time slice, the rotation speed of the system and the <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># number of heads<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># Here, define a total acquisition of 8 seconds by step of 0.05 seconds <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US># This will give 8 projections by head by table position<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>##<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/application/setTimeSlice 1. s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/application/setTimeStart 0. s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/application/setTimeStop 200. s<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># V E R B O S I T Y<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/control/verbose 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/run/verbose 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/event/verbose 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/tracking/verbose 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US># L E T' S R U N T H E S I M U L A T I O N !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>#####<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>/gate/application/startDAQ<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>When I disable outer phantom volume, correct output file is obtained.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Is there any problem in code ??<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Thank you.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> gate-users-bounces@lists.opengatecollaboration.org [mailto:gate-users-bounces@lists.opengatecollaboration.org] <b>On Behalf Of </b>Hojjat Mahani<br><b>Sent:</b> Wednesday, February 18, 2015 12:04 AM<br><b>To:</b> GATErs<br><b>Subject:</b> Re: [Gate-users] How to make complicate phantom<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><div><div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>The provided code seems to be correct for such a multi-system Gate simulation. I think the problem may come from the rest of your script (for example, "digitizer" modules) where you should specify readout level. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>P.S.: I would recommend you to use a more generalized system type, "scanner", instead of the "SPECThead" one.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Good luck,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Hojjat<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div></div></div></div></div></div></body></html>