[Gate-users] X-ray source emission direction
Howard
lomahu at gmail.com
Fri Jun 10 21:18:33 CEST 2022
Hello GATE users,
I am using GATE v8.2 and have a question about setting the X-ray emission
direction. I have the following script for setting the X-ray source
(monochromatic):
/gate/source/addSource xraygun gps
/gate/source/verbose 0
/gate/source/xraygun/gps/verbose 0
# Particle type
/gate/source/xraygun/gps/particle gamma
# Source geometry
/gate/source/xraygun/gps/type Plane
/gate/source/xraygun/gps/shape Rectangle
/gate/source/xraygun/gps/halfx 0.025 mm
/gate/source/xraygun/gps/halfy 0.025 mm
# Source position
/gate/source/xraygun/gps/centre 0. 0. -80. mm
# Emission direction
/gate/source/xraygun/gps/mintheta 0. deg
/gate/source/xraygun/gps/maxtheta 15.0 deg
/gate/source/xraygun/gps/angtype iso
# Energy distribution
/gate/source/xraygun/gps/energytype Mono
/gate/source/xraygun/gps/monoenergy 20.0 keV
/gate/source/list
The script above sets the X-ray source with the beam directed toward +z
direction. Everything is fine, but now I now want to set the source center
on the y axis by doing:
gate/source/xraygun/gps/centre 0. 80. 0. mm
and I still would like to have the theta angle to be 10 degree but toward
the -y direction. How can I achieve that?
Many thanks.
Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220610/b8228943/attachment.html>
More information about the Gate-users
mailing list