<div dir="ltr">Hi Sara<div><br></div><div>If I understand, you need to eliminate the background in this central region, in this case can be better to use a Filter on Volume:</div><div><a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide:Tools_to_Interact_with_the_Simulation_:_Actors#Filter_on_volume">http://wiki.opengatecollaboration.org/index.php/Users_Guide:Tools_to_Interact_with_the_Simulation_:_Actors#Filter_on_volume</a><br></div><div><br></div><div>With this filter you can eliminate any particle that go inside, therefore you will eliminate the background totally. </div><div><br></div><div><b>But it is important to be careful about the use of filters because they generate artificial results, they exist mainly to reduce the simulation time if you have volumes that are not important for your experiment. Also you can lost back-scatter from this volume to your source.</b></div><div><br></div><div>In general all the volumes inside of a source will have scatter interactions, but everything depends of what is your goal with the simulation.</div><div><br></div><div>Best regards </div><div>Maikol</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-15 16:25 GMT+02:00 Sara Zein <span dir="ltr"><<a href="mailto:saz2007@med.cornell.edu" target="_blank">saz2007@med.cornell.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-3461833035801791597WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Martin,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">We want our cold source to be located inside a cylinder that has activity. When using the “forbid’ command we are trying to get a completely cold source without
 any activity. However, we are not able to eliminate the background activity from the container cylinder. We tried to apply the solutions suggested by the Gate users but till now we are not successful. We appreciate all the suggestions.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thank you
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sara
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Martín Belzunce <<a href="mailto:martin.sure@gmail.com" target="_blank">martin.sure@gmail.com</a>>
<br>
<b>Sent:</b> Monday, May 14, 2018 3:32 PM<br>
<b>To:</b> Nicolas Karakatsanis <<a href="mailto:nicolas.karakatsanis@gmail.com" target="_blank">nicolas.karakatsanis@gmail.<wbr>com</a>><br>
<b>Cc:</b> gate-users <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.<wbr>opengatecollaboration.org</a>>; Sara Zein <<a href="mailto:saz2007@med.cornell.edu" target="_blank">saz2007@med.cornell.edu</a>><br>
<b>Subject:</b> [EXTERNAL] Re: [Gate-users] "Forbid" command: cold source simulation inside a background hot source<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Nikolaos, Sara,<u></u><u></u></p>
<div>
<p class="MsoNormal">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:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">/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</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">/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</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">/gate/source/TubeSource1/gps/<wbr>Forbid innerCylinder1</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Kind regards,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Martin</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, May 9, 2018 at 7:02 PM, Nicolas Karakatsanis <<a href="mailto:nicolas.karakatsanis@gmail.com" target="_blank">nicolas.karakatsanis@gmail.<wbr>com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Dear <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​GATE users<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">,<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​On behalf of my colleague, Dr. Sara Zein, I am forwarding you her question below. <u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Tahoma",sans-serif;color:#222222">We<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#222222;background:white"> would appreciate any help from the GATE community.</span><span style="font-family:"Tahoma",sans-serif">  ​<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​We would like<u></u><u></u></span></p>
</div>
<p class="MsoNormal"> to simulate a cylindrical radioactive source having a hollow center without activity.
<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​We are<u></u><u></u></span></p>
</div>
<p class="MsoNormal"> using the cold source command "Forbid" on the region <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​we wish<u></u><u></u></span></p>
</div>
<p class="MsoNormal"> to exclude from <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​our<u></u><u></u></span></p>
</div>
<p class="MsoNormal"> source. However the background activity from the larger source still persists.
<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal">Below you <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​may​<u></u><u></u></span></p>
</div>
<p class="MsoNormal">find <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​our​<u></u><u></u></span></p>
</div>
<p class="MsoNormal">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<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​ in advance​<u></u><u></u></span></p>
</div>
<p class="MsoNormal">,<br>
Regards<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">​Sara Zein​<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p><a name="m_-3461833035801791597_m_3955128217294367204_UNIQUE_ID_SafeHtml"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#e87722">Nikolaos (Nicolas) A.</span></b></a><span></span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black"> </span><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#e87722">Karakatsanis,
 PhD, DABSNM</span></b><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: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: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: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:9.0pt;font-family:"Arial",sans-serif;color:black">,
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#777777">New York, NY</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"> </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><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opengatecollaboration.org_mailman_listinfo_gate-2Dusers&d=DwMFaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=VfsR6_rx-bqevD9A9-mt0-rMqnRfC25GhavcXKPM5mM&m=_bdd5J4Pv-Q67rSDYkRE5PaxgVxj1DqDWKvNTIzy1OU&s=WUW4CKzjao8TTOC-NRqlPGQwnUBby-2kPBM-bT0PB8Q&e=" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</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>