[Gate-users] Phase space position (input)

REUZE SYLVAIN SYLVAIN.REUZE at gustaveroussy.fr
Mon Apr 27 15:40:17 CEST 2015


Sorry, I was not very clear in my last message; actually, the start position of my beam was (0,0,0) with this code, and I would like to put the source at (0,60,0), and rotate the beam in the -y direction.
I get the same result with a '0  60  0  cm' translation, the beam starts at (0,0,0), and the direction is along z-axis.

Best regards,


Sylvain Reuzé
Stagiaire physicien
Département de Radiothérapie
Service de physique médicale

Tél. : 01 42 11 54 06
www.gustaveroussy.fr<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D08100.761F99F0]
________________________________
De : Grevillot Loic [mailto:loic.grevillot at medaustron.at]
Envoyé : lundi 27 avril 2015 15:16
À : REUZE SYLVAIN; Gate Users
Objet : RE: Phase space position (input)

It looks like your translation is at z=0:
/gate/beam1/placement/setTranslation 0 60 0 cm

Please try something like
/gate/beam1/placement/setTranslation 0 60 10 cm
And check if particles start at z=10 cm.

Sincerely,
Loïc



From: REUZE SYLVAIN [mailto:SYLVAIN.REUZE at gustaveroussy.fr]
Sent: Monday, April 27, 2015 2:50 PM
To: Grevillot Loic; Gate Users
Subject: RE: Phase space position (input)

Hello,

Thanks for your answer ; I tried to attach the phase space to a volume, but my beam still starts at z = 0. The visualization is correct with /gate/source/clinaciX1/visualize (I can see a point at the good position). But when I want to see the beam, all particles come from z=0, to positive z values. That's the same in my dose actor.

Here is the beam part of my code:

#beam 1
/gate/world/daughters/name beam1
/gate/world/daughters/insert box
/gate/beam1/vis/forceSolid
/gate/beam1/vis/setColor yellow
/gate/beam1/geometry/setXLength 1 cm
/gate/beam1/geometry/setYLength 1 cm
/gate/beam1/geometry/setZLength 1 cm
/gate/beam1/placement/setTranslation 0 60 0 cm
/gate/beam1/placement/setRotationAxis 1 0 0
/gate/beam1/placement/setRotationAngle 90 deg

/gate/source/addSource clinaciX1                      phaseSpace
/gate/source/clinaciX1/setPhaseSpaceInWorldFrame
/gate/source/clinaciX1/addPhaseSpaceFile         ../transfo_IAEA_ROOT/PSF_iX_6MV_10x10_final.root
/gate/source/clinaciX1/attachTo beam1
/gate/source/clinaciX1/visualize 2000 yellow 10

Could you help me ?

Best regards,

Sylvain Reuzé
Stagiaire physicien
Département de Radiothérapie
Service de physique médicale

Tél. : 01 42 11 54 06
www.gustaveroussy.fr<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D08100.761F99F0]
________________________________
De : Grevillot Loic [mailto:loic.grevillot at medaustron.at]
Envoyé : lundi 27 avril 2015 08:19
À : REUZE SYLVAIN; Gate Users
Objet : RE: Phase space position (input)

Hello,
Did you try to attach the PhS to a volume and rotate/translate the volume?
Sincerely,
Loïc



From: gate-users-bounces at lists.opengatecollaboration.org<mailto:gate-users-bounces at lists.opengatecollaboration.org> [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of REUZE SYLVAIN
Sent: Friday, April 24, 2015 4:24 PM
To: Gate Users
Subject: [Gate-users] Phase space position (input)

Dear Gate users,
Is there a solution to modify the input phase space position (in translation or rotation), for radiotherapy application?
It is different from other sources or beams, and I can't find anything about that in the wiki.
Thanks in advance for your answer
Best regards,


Sylvain Reuzé
Stagiaire physicien
Département de Radiothérapie
Service de physique médicale

Tél. : 01 42 11 54 06
www.gustaveroussy.fr<http://www.gustaveroussy.fr>
[cid:image001.gif at 01D08100.761F99F0]

Disclaimer:
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/

Disclaimer:
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/

-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150427/e7f546f7/attachment-0001.html>
-------------- section suivante --------------
Une pi?ce jointe autre que texte a ?t? nettoy?e...
Nom: image001.gif
Type: image/gif
Taille: 6696 octets
Desc: image001.gif
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150427/e7f546f7/attachment-0001.gif>


More information about the Gate-users mailing list