<html><head></head><body><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div style="font-family:times new roman, new york, times, serif;font-size:16px;"><div><div>Hi Elise,</div><div><br></div><div>Thank you for the information and detail explanation. However, I need clarification about this issue.<br></div><div>As I only interested <span>in positron interactions including electron ionisation, Bremsstrahlung, annihilations and multiple scattering, so <span>the photon physics process was turned off.</span></span><br></div><div>Attached is the example of Gate output obtained. I understand the 'initStep' in the first block is the emission of positrons. How about the 'initStep' in the second block? Is it the photon emission or positron emission since the photon physics interaction was turned off?</div><div>Thank you.<br><br><br></div><div class="ydp5664c677signature"><div><br></div><div><em><font size="3">Rukiah A Latiff</font></em></div><div><div><em><font size="3">PhD student</font></em></div><div><em><font size="3">Faculty of Health Sciences</font></em></div><div><em><font size="3">The University of Sydney<br></font></em></div><em></em><font size="3"><em><var id="ydp5664c677yui-ie-cursor"></var></em></font></div><div style="margin: 5px 0px; padding: 0px; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px; min-height: 0px; line-height: 0; font-size: 0px;" class="ydp5664c677hr"></div></div></div>
        <div><br></div><div><br></div>
        
        </div></div></div></div></div></div><div id="yahoo_quoted_7227086348" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Saturday, September 15, 2018, 4:55:33 PM GMT+10, Emond, Elise <elise.emond.16@ucl.ac.uk> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv9948552214"><div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Hi Rukiah, <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
The locations of the emission points can be indeed extracted using the 'initStep' line, just before the "annihil" line. However, be careful not to take into account other interactions that are also marked with 'initStep', such as the emission of photons. When
 you run Gate code.mac you should see that all interactions of the positron, from its emission to its annihilation, are given in one "block". After the "phantom_phys annihil" line, the block ends, and another block corresponding to the emission of the photons
 follows, with two 'initStep' lines in it. There are also secondary interactions... Therefore if you use "grep 'phantom_phys initStep\|phantom_phys annihil' " you will afterwards have to process the output file to discard all initStep which do not correspond
 to the emission of the positrons. <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Best Regards, <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Elise Emond <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
De : Rukiah<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Envoyé : vendredi 14 septembre à 22:45<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Objet : Re: [Gate-users] How to determine positron emission points<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
À : Paulo Caribé<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Cc : Gate-users<br clear="none">
<br clear="none">
<br clear="none">
</div>
<div class="yiv9948552214yqt0762727204" id="yiv9948552214yqt03440"><div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Hi Pablo, <br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Thank you for your suggestion.<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
I am using Gate7.2 and managed to obtain the annihilations point. However,I cannot get the emissions point and that is where I am stucked.Is it possible to get the emissions point data? I wonder if the process called ‘initStep’ represents the emissions point.<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Thank you.<br clear="none">
<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<a rel="nofollow" shape="rect" target="_blank" href="https://overview.mail.yahoo.com/?.src=iOS">Sent from Yahoo Mail for iPhone</a><br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
On Friday, September 14, 2018, 8:40 pm, Paulo Caribé <Paulo.Caribe@UGent.be> wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Hi Rukiah, <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
I would highly recommend double check your Physics list and make sure that the annihilation process was “enabled”  (/gate/physics/addProcess   PositronAnnihilation). In addition, take into account the the physic list mechanism has been changing since the GATEv
 7.0 and now there is a big change as compared to GATEv 8.1. <br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
To find out more:<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.opengatecollaboration.org/index.php/Users_Guide:Setting_up_the_physics">http://wiki.opengatecollaboration.org/index.php/Users_Guide:Setting_up_the_physics</a><br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Cheers<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Paulo<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
___________________________________________<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Doctoral researcher<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Ghent University & KU Leuven - CNPq<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Medical Imaging and Signal Processing (MEDISIP)<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
</div>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
On 13 Sep 2018, at 08:12, Rukiah <<a rel="nofollow" shape="rect" ymailto="mailto:katoshka_7880@yahoo.com" target="_blank" href="mailto:katoshka_7880@yahoo.com">katoshka_7880@yahoo.com</a>> wrote:<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Hi Gate users,<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
To measure a positron range, I had to collect the positron annihilation points coordinates and emission points coordinates. As I am an intermediate user of GATE and Linux, I used this method to collect the coordinates:<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
#to print all simulation output on screen<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
/tracking/verbose 2  <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
#extract the annihilation point coordinates<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Gate code.mac | grep "phantom_phys annihil" >output.txt <br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
However, I have difficulties to find the emission points as there is no physics process output that related to it, except the process called 
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
' initStep ' for example as attached. Can anyone confirm if the InitStep is actually represents the emission points?<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Thank you.<br clear="none">
<br clear="none">
<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
 <br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<i>Rukiah A Latiff</i><br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<i>PhD student</i><br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<i>The University of Sydney</i><br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<Gate_InitStep.png>_______________________________________________<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
Gate-users mailing list<br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<a rel="nofollow" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br clear="none">
</div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br clear="none">
</div>
</blockquote>
</blockquote></div>
<div style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black;">
<br clear="none">
<br clear="none">
<br clear="none">
</div>
</div></div></div>
            </div>
        </div></div></body></html>