[Gate-users] Gate-users Digest, Vol 109, Issue 17

Amal Cherni cherni_amal at ymail.com
Tue Jun 9 16:41:41 CEST 2015


Hello everyone, 
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. Thanks 



     Le Mardi 9 juin 2015 7h44, "gate-users-request at lists.opengatecollaboration.org" <gate-users-request at lists.opengatecollaboration.org> a écrit :
   

 Send Gate-users mailing list submissions to
    gate-users at lists.opengatecollaboration.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
or, via email, send a message with subject or body 'help' to
    gate-users-request at lists.opengatecollaboration.org

You can reach the person managing the list at
    gate-users-owner at lists.opengatecollaboration.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gate-users digest..."


Today's Topics:

  1. Re: [Gate] Fix the use of IAEA phase space files (#34)
      (David Sarrut)
  2. [OT] reCAPTCHA too difficult to resolve (Pem)


----------------------------------------------------------------------

Message: 1
Date: Tue, 9 Jun 2015 06:57:25 +0200
From: David Sarrut <David.Sarrut at creatis.insa-lyon.fr>
To: gate-users <gate-users at lists.opengatecollaboration.org>,
    germano.russo at i-seecomputing.com
Subject: Re: [Gate-users] [Gate] Fix the use of IAEA phase space files
    (#34)
Message-ID:
    <CAKTJC4DneY-VKXDmJHdUvuO5RhaqZborPPrB-B5gDm6tx0TDTQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello Germano Russo,

thank you very much for your pull-request, it has been merged (develop
branch). I think a lot of users will be happy to see IAEA phase space now
corrected in Gate.

More details : https://github.com/OpenGATE/Gate/pull/34

Sincerely,
David

On Mon, Jun 8, 2015 at 10:32 AM, germanorusso <notifications at github.com>
wrote:

> I recently tried to use as source an IAEA phase space, specifically the
> one named "VarianClinaciX_6MV_10x10_w1.IAEAphsp" (downloadable
> from https://www-nds.iaea.org/phsp/photon1/), via the
> "/gate/source/[Source
> name]/addPhaseSpaceFile" macro command.
>
> The simulation (Gate 7.0) run smoothly, however I got meaningless results.
> Digging into the related Gate source code, I believe I found 3 bugs
> for which I propose a correction in the 'fixIAEAphspSource' branch.
>
> 1) In the function 'GateSourcePhaseSpace::OpenIAEAFile()' the call
> 'pIAEARecordType->initialize()' is placed after
> 'pIAEAReader->getRecordContents(pIAEARecordType)'. These two lines shall be
> swapped, otherwise the record contents information extracted form the IAEA
> header and stored in the the object pointed by pIAEARecordType is cleared
> by the initialisation operation.
>
> 2) The "GateIAEA
>
>
>
> *" source files appear to be based on an old C++ implementation for
> handling phase spaces distributed by the IAEA. Some things seem to be
> outdated, for instance in the "GateIAEAConfig.h" the definition 'typedef
> long IAEA_I32' must be replaced with 'typedef int IAEA_I32' in order to
> conform to the current "*.IAEAphsp" file format.
>
> 3) In the function 'GateSourcePhaseSpace::GenerateIAEAVertex()' the
> 'pIAEARecordType->w' variable seems to be misused in the expression 'dz *=
> pIAEARecordType->w'. The 'pIAEARecordType->w' variable contains the Z
> direction cosine of the particle, not just its sign. So it should rather be
> 'dz = pIAEARecordType->w'. Since the 'pIAEARecordType->w' variable is
> slightly smaller than 1, this mistake causes small errors in the
> normalisation of the momentum (and hence of the kinetic energy).
>
> After having applied these correction, I was able to obtain an output dose
> distribution for the 10x10 cm field quite close to the experimental data
> reported in the documentation distributed by IAEA along with the IAEAphsp
> and IAEAheader files ("
> https://www-nds.iaea.org/phsp/photon1/VarianClinaciX_6MV_PHSPdoc_Gothenburg.pdf
> ").
>
> [image: comparisonpdd]
> <https://cloud.githubusercontent.com/assets/8522577/8030667/fed03d40-0dc8-11e5-8a51-90eae801a36d.png>
>
> [image: comparisonxprofiles]
> <https://cloud.githubusercontent.com/assets/8522577/8030686/28bccb3c-0dc9-11e5-9075-8756f6952043.png>
>
> [image: comparisonyprofiles]
> <https://cloud.githubusercontent.com/assets/8522577/8030692/2e0595f6-0dc9-11e5-8da2-ed4992dd8c9b.png>
> ------------------------------
> You can view, comment on, or merge this pull request online at:
>
>  https://github.com/OpenGATE/Gate/pull/34
> Commit Summary
>
>    - Reversed type of IAEA_I32 to int, according with the current IAEA
>    setting.
>    - 1) In the function 'GateSourcePhaseSpace::OpenIAEAFile()' the call
>
> File Changes
>
>    - *M* source/general/include/GateIAEAConfig.h
>    <https://github.com/OpenGATE/Gate/pull/34/files#diff-0> (5)
>    - *M* source/physics/src/GateSourcePhaseSpace.cc
>    <https://github.com/OpenGATE/Gate/pull/34/files#diff-1> (5)
>
> Patch Links:
>
>    - https://github.com/OpenGATE/Gate/pull/34.patch
>    - https://github.com/OpenGATE/Gate/pull/34.diff
>
> ?
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenGATE/Gate/pull/34>.
>



-- 
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer L?on B?rard
28 rue La?nnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/ddbc8d29/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 9 Jun 2015 13:40:49 +0800
From: Pem <pemryan at gmail.com>
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] [OT] reCAPTCHA too difficult to resolve
Message-ID:
    <CAAfBEgS-pc0QdVM42is4Q1XpbqkEQi4SiQyqjke0VASaqKM+VQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hello list,

I tried to register at opengatecollaboration.org
http://www.opengatecollaboration.org/user/register
but the reCAPTCHA failed me in more tan 10 attempts.

any similar experience?

Regards,

Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/fa726e90/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recaptcha.PNG
Type: image/png
Size: 39201 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/fa726e90/attachment.png>

------------------------------

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

End of Gate-users Digest, Vol 109, Issue 17
*******************************************


  
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150609/2618a68d/attachment.html>


More information about the Gate-users mailing list