[Gate-users] Cubic source

Francisco Enríquez frank.enrqz at gmail.com
Wed May 5 13:23:46 CEST 2021


Hi Daria,

Since you want to insert a cuboidal source, just ignore the .../paralp, .../paratha and .../parphi lines. I remember having the same issue once, but that was enough to work around it. 
Maybe somebody could give you a more detail answer about the issue, though.

Regards,
Francisco 

On 5/5/21, 9:12 pm, "Gate-users on behalf of e12005820" <gate-users-bounces at lists.opengatecollaboration.org on behalf of e12005820 at student.tuwien.ac.at> wrote:

    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
    _______________________________________________
    Gate-users mailing list
    Gate-users at lists.opengatecollaboration.org
    http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


More information about the Gate-users mailing list