<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div style="" class="" dir="ltr" id="yui_3_16_0_1_1433855189398_8248">Hello everyone, <br style="" class=""></div><div style="" class="" id="yui_3_16_0_1_1433855189398_8398" dir="ltr">I
run a simulation of the benchmarks (benchSPECT) . I want to get the
spectra of energy resolution and spatial resolution . What is the command
to bring the two spectra.</div><div id="yui_3_16_0_1_1433855189398_34707" dir="ltr"> Thanks </div><div style="" class="" id="yui_3_16_0_1_1433855189398_34676"><span style="" class=""><br style="" class=""></span></div><br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> Le Mardi 9 juin 2015 7h44, "gate-users-request@lists.opengatecollaboration.org" <gate-users-request@lists.opengatecollaboration.org> a écrit :<br> </font> </div> <br><br> <div class="y_msg_container">Send Gate-users mailing list submissions to<br> <a ymailto="mailto:gate-users@lists.opengatecollaboration.org" href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:gate-users-request@lists.opengatecollaboration.org" href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.opengatecollaboration.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:gate-users-owner@lists.opengatecollaboration.org" href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.opengatecollaboration.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Gate-users digest..."<br><br><br>Today's Topics:<br><br> 1. Re: [Gate] Fix the use of IAEA phase space files (#34)<br> (David Sarrut)<br> 2. [OT] reCAPTCHA too difficult to resolve (Pem)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 9 Jun 2015 06:57:25 +0200<br>From: David Sarrut <<a ymailto="mailto:David.Sarrut@creatis.insa-lyon.fr" href="mailto:David.Sarrut@creatis.insa-lyon.fr">David.Sarrut@creatis.insa-lyon.fr</a>><br>To: gate-users <<a ymailto="mailto:gate-users@lists.opengatecollaboration.org" href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a>>,<br> <a ymailto="mailto:germano.russo@i-seecomputing.com" href="mailto:germano.russo@i-seecomputing.com">germano.russo@i-seecomputing.com</a><br>Subject: Re: [Gate-users] [Gate] Fix the use of IAEA phase space files<br> (#34)<br>Message-ID:<br> <<a ymailto="mailto:CAKTJC4DneY-VKXDmJHdUvuO5RhaqZborPPrB-B5gDm6tx0TDTQ@mail.gmail.com" href="mailto:CAKTJC4DneY-VKXDmJHdUvuO5RhaqZborPPrB-B5gDm6tx0TDTQ@mail.gmail.com">CAKTJC4DneY-VKXDmJHdUvuO5RhaqZborPPrB-B5gDm6tx0TDTQ@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hello Germano Russo,<br><br>thank you very much for your pull-request, it has been merged (develop<br>branch). I think a lot of users will be happy to see IAEA phase space now<br>corrected in Gate.<br><br>More details : <a href="https://github.com/OpenGATE/Gate/pull/34" target="_blank">https://github.com/OpenGATE/Gate/pull/34</a><br><br>Sincerely,<br>David<br><br>On Mon, Jun 8, 2015 at 10:32 AM, germanorusso <<a ymailto="mailto:notifications@github.com" href="mailto:notifications@github.com">notifications@github.com</a>><br>wrote:<br><br>> I recently tried to use as source an IAEA phase space, specifically the<br>> one named "VarianClinaciX_6MV_10x10_w1.IAEAphsp" (downloadable<br>> from <a href="https://www-nds.iaea.org/phsp/photon1/" target="_blank">https://www-nds.iaea.org/phsp/photon1/</a>), via the<br>> "/gate/source/[Source<br>> name]/addPhaseSpaceFile" macro command.<br>><br>> The simulation (Gate 7.0) run smoothly, however I got meaningless results.<br>> Digging into the related Gate source code, I believe I found 3 bugs<br>> for which I propose a correction in the 'fixIAEAphspSource' branch.<br>><br>> 1) In the function 'GateSourcePhaseSpace::OpenIAEAFile()' the call<br>> 'pIAEARecordType->initialize()' is placed after<br>> 'pIAEAReader->getRecordContents(pIAEARecordType)'. These two lines shall be<br>> swapped, otherwise the record contents information extracted form the IAEA<br>> header and stored in the the object pointed by pIAEARecordType is cleared<br>> by the initialisation operation.<br>><br>> 2) The "GateIAEA<br>><br>><br>><br>> *" source files appear to be based on an old C++ implementation for<br>> handling phase spaces distributed by the IAEA. Some things seem to be<br>> outdated, for instance in the "GateIAEAConfig.h" the definition 'typedef<br>> long IAEA_I32' must be replaced with 'typedef int IAEA_I32' in order to<br>> conform to the current "*.IAEAphsp" file format.<br>><br>> 3) In the function 'GateSourcePhaseSpace::GenerateIAEAVertex()' the<br>> 'pIAEARecordType->w' variable seems to be misused in the expression 'dz *=<br>> pIAEARecordType->w'. The 'pIAEARecordType->w' variable contains the Z<br>> direction cosine of the particle, not just its sign. So it should rather be<br>> 'dz = pIAEARecordType->w'. Since the 'pIAEARecordType->w' variable is<br>> slightly smaller than 1, this mistake causes small errors in the<br>> normalisation of the momentum (and hence of the kinetic energy).<br>><br>> After having applied these correction, I was able to obtain an output dose<br>> distribution for the 10x10 cm field quite close to the experimental data<br>> reported in the documentation distributed by IAEA along with the IAEAphsp<br>> and IAEAheader files ("<br>> <a href="https://www-nds.iaea.org/phsp/photon1/VarianClinaciX_6MV_PHSPdoc_Gothenburg.pdf" target="_blank">https://www-nds.iaea.org/phsp/photon1/VarianClinaciX_6MV_PHSPdoc_Gothenburg.pdf</a><br>> ").<br>><br>> [image: comparisonpdd]<br>> <<a href="https://cloud.githubusercontent.com/assets/8522577/8030667/fed03d40-0dc8-11e5-8a51-90eae801a36d.png" target="_blank">https://cloud.githubusercontent.com/assets/8522577/8030667/fed03d40-0dc8-11e5-8a51-90eae801a36d.png</a>><br>><br>> [image: comparisonxprofiles]<br>> <<a href="https://cloud.githubusercontent.com/assets/8522577/8030686/28bccb3c-0dc9-11e5-9075-8756f6952043.png" target="_blank">https://cloud.githubusercontent.com/assets/8522577/8030686/28bccb3c-0dc9-11e5-9075-8756f6952043.png</a>><br>><br>> [image: comparisonyprofiles]<br>> <<a href="https://cloud.githubusercontent.com/assets/8522577/8030692/2e0595f6-0dc9-11e5-8da2-ed4992dd8c9b.png" target="_blank">https://cloud.githubusercontent.com/assets/8522577/8030692/2e0595f6-0dc9-11e5-8da2-ed4992dd8c9b.png</a>><br>> ------------------------------<br>> You can view, comment on, or merge this pull request online at:<br>><br>> <a href="https://github.com/OpenGATE/Gate/pull/34" target="_blank">https://github.com/OpenGATE/Gate/pull/34</a><br>> Commit Summary<br>><br>> - Reversed type of IAEA_I32 to int, according with the current IAEA<br>> setting.<br>> - 1) In the function 'GateSourcePhaseSpace::OpenIAEAFile()' the call<br>><br>> File Changes<br>><br>> - *M* source/general/include/GateIAEAConfig.h<br>> <<a href="https://github.com/OpenGATE/Gate/pull/34/files#diff-0" target="_blank">https://github.com/OpenGATE/Gate/pull/34/files#diff-0</a>> (5)<br>> - *M* source/physics/src/GateSourcePhaseSpace.cc<br>> <<a href="https://github.com/OpenGATE/Gate/pull/34/files#diff-1" target="_blank">https://github.com/OpenGATE/Gate/pull/34/files#diff-1</a>> (5)<br>><br>> Patch Links:<br>><br>> - <a href="https://github.com/OpenGATE/Gate/pull/34.patch" target="_blank">https://github.com/OpenGATE/Gate/pull/34.patch</a><br>> - <a href="https://github.com/OpenGATE/Gate/pull/34.diff" target="_blank">https://github.com/OpenGATE/Gate/pull/34.diff</a><br>><br>> ?<br>> Reply to this email directly or view it on GitHub<br>> <<a href="https://github.com/OpenGATE/Gate/pull/34" target="_blank">https://github.com/OpenGATE/Gate/pull/34</a>>.<br>><br><br><br><br>-- <br>David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U 1044<br>Centre de lutte contre le cancer L?on B?rard<br>28 rue La?nnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________<br> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/ddbc8d29/attachment-0001.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/ddbc8d29/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 9 Jun 2015 13:40:49 +0800<br>From: Pem <<a ymailto="mailto:pemryan@gmail.com" href="mailto:pemryan@gmail.com">pemryan@gmail.com</a>><br>To: <a ymailto="mailto:gate-users@lists.opengatecollaboration.org" href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>Subject: [Gate-users] [OT] reCAPTCHA too difficult to resolve<br>Message-ID:<br> <CAAfBEgS-pc0QdVM42is4Q1XpbqkEQi4SiQyqjke0VASaqKM+<a ymailto="mailto:VQ@mail.gmail.com" href="mailto:VQ@mail.gmail.com">VQ@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>hello list,<br><br>I tried to register at opengatecollaboration.org<br><a href="http://www.opengatecollaboration.org/user/register" target="_blank">http://www.opengatecollaboration.org/user/register</a><br>but the reCAPTCHA failed me in more tan 10 attempts.<br><br>any similar experience?<br><br>Regards,<br><br>Yan<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/fa726e90/attachment.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/fa726e90/attachment.html</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: recaptcha.PNG<br>Type: image/png<br>Size: 39201 bytes<br>Desc: not available<br>URL: <<a href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/fa726e90/attachment.png" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/fa726e90/attachment.png</a>><br><br>------------------------------<br><br>_______________________________________________<br>Gate-users mailing list<br><a ymailto="mailto:Gate-users@lists.opengatecollaboration.org" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br><br>End of Gate-users Digest, Vol 109, Issue 17<br>*******************************************<br><br><br></div> </div> </div> </div></div></body></html>