[Gate-users] Cubic source
e12005820
e12005820 at student.tuwien.ac.at
Wed May 5 13:12:22 CEST 2021
Dear all,
I have defined a phantom for a PET simulation and I would like to insert
a cubic ion source in the center, with size 1x1x1 mm. I therefore
defined a parallelepiped shape, by specifying the half-lengths and the
angles, as suggested in documentation:
/gate/source/NAME/gps/pos/type Volume
/gate/source/NAME/gps/shape Para
/gate/source/NAME/gps/halfx 0.05 cm
/gate/source/NAME/gps/halfy 0.05 cm
/gate/source/NAME/gps/halfz 0.05 cm
/gate/source/NAME/gps/paralp 90. deg
/gate/source/NAME/gps/parthe 90. deg
/gate/source/NAME/gps/parphi 90. deg
/gate/source/NAME/gps/centre 0.0 0.0 0.0 cm
/gate/source/NAME/visualize 1000 red
Still, it doesn't work and I can't figure out the mistake. Also in
terminal I don't receive errors: the source is simply not inserted. I
don't have any problem with other different shapes, such as spheres or
cylinders:
/gate/source/NAME/gps/pos/type Volume
/gate/source/NAME/gps/shape Sphere
/gate/source/NAME/gps/radius 0.05 cm
/gate/source/NAME/gps/centre 0. 0. 0. cm
/gate/source/NAME/visualize 1000 red
Can you give me an hint on what might be wrong?
Many thanks in advance!
Daria Ferrara
More information about the Gate-users
mailing list