<div dir="ltr"><span style="white-space:nowrap"><br></span><span style="white-space:nowrap">Dear Pawe Kowalski,</span><br>
<br>
<span style="white-space:nowrap">I have not looked carefully into your macro.</span><br>
<span style="white-space:nowrap">But I have seen that you have applied Forbid command several times to</span><br>
<span style="white-space:nowrap">the same volume without specifying it.<br><br></span>
<span style="white-space:nowrap">For example, you have the following lines in your macro.</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid sphere22</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid sphere22in</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid fill22</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid fill22in</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid sphere28</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid sphere28in</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid fill28</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/gps/Forbid fill28in<br><br></span>
<span style="white-space:nowrap">In this case you have applied Forbid command 8 times to IBox_hot volume.</span><br>
<span style="white-space:nowrap">Try adding the following command to specify the number of cold volumes</span><br>
<span style="white-space:nowrap">you want to create inside IBox_hot volume</span><br>
<span style="white-space:nowrap"> /gate/source/IBox_hot/dump 8</span><br>
<br>
<span style="white-space:nowrap">I hope this helps you.</span><br>
<span style="white-space:nowrap">Best regards,</span><br>
Ane Etxebeste<br>
<br>
<br>
<br>
<blockquote><span style="white-space:nowrap">Quoting "Pawe Kowalski" <<a href="mailto:pawkowalski@yahoo.com">pawkowalski@yahoo.com</a>>:</span><br>
<br>
<blockquote><span style="white-space:nowrap">Dear GATE users,</span><br>
<span style="white-space:nowrap">I am currently working on simulations of the NEMA characteristics of</span><br>
<span style="white-space:nowrap">a PET scanner.</span><br>
While it is quite easy to implement phantoms and sources for spatial
resolution, scatter fraction and sensitivity characteristics, it is
challenging to implement the NEMA Image Quality phantom and the source.<br>
<span style="white-space:nowrap">Happily, the macro for the phantom may be found at Github repository</span><br>
<span style="white-space:nowrap">in path:</span><br>
GateContrib-master/imaging/PhantomSource/Analytical_Phantom/NEMA_IEC_2001.macUnfortunatelly
the phantom seems to be useless without the dedicated<br>
<span style="white-space:nowrap">source.</span><br>
I have searched for many archive messeges from gate-users mailing list
and I have found no working macro with implementation of this source. It
is very strange for me because it seems that the Image Quality is a
quite important characteristic and many people try to perform such
simulations.<br>
Has noone really managed to implement the source for the NEMA IQ phantom?<br>
<span style="white-space:nowrap">If someone managed to do it, please make it public.</span><br>
<span style="white-space:nowrap">Using some examples that may be found in the network, I have been</span><br>
<span style="white-space:nowrap">trying to implement this source by myself. Unfortunatelly I have</span><br>
<span style="white-space:nowrap">some problems that I cannot solve (and it seems that they were not</span><br>
<span style="white-space:nowrap">solved by the people that tried to implement the phantom in previous</span><br>
<span style="white-space:nowrap">years).</span><br>
<span style="white-space:nowrap">In the attachments there are my macros for the phantom, the source,</span><br>
<span style="white-space:nowrap">and the test source which is a part of the whole source.</span><br>
Because of the fact that it is not possible to use gps source with
volume which is an angular part of the cylinder (for the phantom there
are commands: setPhiStart and setDeltaPhi) I have tried to implement
parts of the IQ source using cylindrical sources and cold regions.
Unortunatelly, it seems that the Forbid command does not work as it
should.There are some generations in regions, in which theoretically
they should not appear.<br>
<span style="white-space:nowrap">The macro source_test.mac is a part of the source. The generations</span><br>
<span style="white-space:nowrap">should be only between angles 270 and 360 but they are also in the</span><br>
<span style="white-space:nowrap">rest of the region. I attach 2d histogram of sourcePosX and</span><br>
<span style="white-space:nowrap">sourcePosY as a proof (for simulation with source_test.mac).</span><br>
<span style="white-space:nowrap">What am I doing wrong? Please take a look at my macros. Maybe</span><br>
<span style="white-space:nowrap">someone will know how to correct them in order to make them proper.</span><br>
<span style="white-space:nowrap">I would be very grateful for your help and for any suggestions that</span><br>
<span style="white-space:nowrap">would lead to the solution.</span><br>
<span style="white-space:nowrap">Best regards,Pawe? Kowalski,National Centre for Nuclear Research</span></blockquote></blockquote></div>