<div dir="ltr">Hi Nikolaos, Sara,<div>The forbid command should be used with the source TubeSource1. It's not necessary to define a new source for the cold region. In my experience, something like this should work:</div><div><br></div><div><span style="font-size:12.8px">/gate/world/daughters/insert cylinder</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/innerCylinder1/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">placement/setTranslation 0.0 0.0 0.0 cm</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/innerCylinder1/geometry/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setRmax 1.5 cm</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/innerCylinder1/geometry/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setHeight 6.0 cm</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/innerCylinder1/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setMaterial Water</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/innerCylinder1/vis/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">forceWireframe</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/innerCylinder1/vis/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setColor blue</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">/gate/source/addSource TubeSource1</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">type Volume</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">shape Cylinder</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">radius 3.0 cm</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">halfz 3.0 cm</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setActivity 2000000 becquerel   #### to be specified</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">particle e+</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setForcedUnstableFlag true</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">energytype Fluor18</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">setForcedHalfLife 6586.2 s</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">angtype iso</span><br style="font-size:12.8px"><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">centre 0. 0. 0 cm</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">/gate/source/TubeSource1/gps/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">Forbid innerCylinder1</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Kind regards,</span></div><div><span style="font-size:12.8px">Martin</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 9, 2018 at 7:02 PM, Nicolas Karakatsanis <span dir="ltr"><<a href="mailto:nicolas.karakatsanis@gmail.com" target="_blank">nicolas.karakatsanis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​GATE users</div>,<br><br><div class="gmail_default" style="font-family:tahoma,sans-serif">​On behalf of my colleague, Dr. Sara Zein, I am forwarding you her question below. </div><div class="gmail_default" style="font-family:tahoma,sans-serif">

<div class="gmail_default" style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;font-family:tahoma,sans-serif;display:inline">We</div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> would appreciate any help from the GATE community.</span>

 ​</div><br><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​We would like</div> to simulate a cylindrical radioactive source having a hollow center without activity. <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​We are</div> using the cold source command "Forbid" on the region <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​we wish</div> to exclude from <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​our</div> source. However the background activity from the larger source still persists. <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​</div><div>Below you <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​may​</div> find <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​our​</div> code.<br><br>/gate/source/addSource TubeSource1<br>/gate/source/TubeSource1/gps/<wbr>type Volume<br>/gate/source/TubeSource1/gps/<wbr>shape Cylinder<br>/gate/source/TubeSource1/gps/<wbr>radius 3.0 cm<br>/gate/source/TubeSource1/gps/<wbr>halfz 3.0 cm<br>/gate/source/TubeSource1/<wbr>setActivity 2000000 becquerel   #### to be specified<br>/gate/source/TubeSource1/gps/<wbr>particle e+<br>/gate/source/TubeSource1/<wbr>setForcedUnstableFlag true<br>/gate/source/TubeSource1/gps/<wbr>energytype Fluor18<br>/gate/source/TubeSource1/<wbr>setForcedHalfLife 6586.2 s<br>/gate/source/TubeSource1/gps/<wbr>angtype iso<br>/gate/source/TubeSource1/gps/<wbr>centre 0. 0. 0 cm<br><br>/gate/world/daughters/name innerCylinder1<br>/gate/world/daughters/insert cylinder<br>/gate/innerCylinder1/<wbr>placement/setTranslation 0.0 0.0 0.0 cm<br>/gate/innerCylinder1/geometry/<wbr>setRmax 1.5 cm<br>/gate/innerCylinder1/geometry/<wbr>setHeight 6.0 cm<br>/gate/innerCylinder1/<wbr>setMaterial Water<br>/gate/innerCylinder1/vis/<wbr>forceWireframe<br>/gate/innerCylinder1/vis/<wbr>setColor blue<br><br>/gate/source/addSource TubeSource2<br>/gate/source/TubeSource2/gps/<wbr>type Volume<br>/gate/source/TubeSource2/gps/<wbr>shape Cylinder<br>/gate/source/TubeSource2/gps/<wbr>radius 1.5 cm<br>/gate/source/TubeSource2/gps/<wbr>halfz 3 cm<br>/gate/source/TubeSource2/<wbr>setActivity 2000000 becquerel   #### to be specified<br>/gate/source/TubeSource2/gps/<wbr>particle gamma<br>/gate/source/TubeSource2/gps/<wbr>monoenergy 511. keV<br>/gate/source/TubeSource2/gps/<wbr>angtype iso<br>/gate/source/TubeSource2/gps/<wbr>centre 0. 0. 0 cm<br>/gate/source/TubeSource2/gps/<wbr>Forbid innerCylinder1<br>/gate/source/TubeSource2/dump 1<br>/gate/source/list<br> <br><br>Thank you<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​ in advance​</div>,<br>Regards</div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">​Sara Zein​</div><br><div><br><div><div class="m_3955128217294367204gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><a name="m_3955128217294367204_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#e87722">Nikolaos (Nicolas) A.</span></b></a><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial"> </span><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#e87722">Karakatsanis, PhD, DABSNM</span></b><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial"> </span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">Assistant Professor
of Biomedical Engineering in Radiology</span><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial"> </span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">Weill
Cornell Medical College<br>
</span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
</span><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#cf4520">Weill Cornell Medicine</span></b><span style="font-size:9pt;font-family:Arial,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial"> </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">Division
of Radiopharmaceutical Sciences, Department of Radiology</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial"> </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">515 East
71st Street, S-120</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial">, </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">New York, NY</span><span style="font-size:9pt;font-family:Arial,sans-serif;color:black;background-image:initial;background-position:initial;background-repeat:initial"> </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">10021</span><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><br>
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0563c1"><a href="mailto:nak2032@med.cornell.edu" target="_blank">nak2032@med.cornell.edu</a> </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777"></span></p></div><div dir="ltr"><span style="font-size:12px;color:rgb(119,119,119);font-family:Arial"></span></div></div></div></div></div></div></div></div></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br></blockquote></div><br></div>