[Gate-users] Voxelized Source Problem

Brosch, Julia Julia.Brosch at med.uni-muenchen.de
Wed Nov 20 08:50:43 CET 2019


Hi Chris,

when loading voxelized sources in GATE, they’re placed in the first quarter of the coordinate system. You can find details in the manual (https://opengate.readthedocs.io/en/latest/voxelized_source_and_phantom.html#voxelized-sources)  under “7.3.2 Position”. There is also an example provided, explaining how you need to shift your voxelized source accordingly.

Try the command below instead of “/gate/source/thyroid_Phantom/gps/centre 0. 35. 0. Mm“ and adjust the shift „XX“ according to half of your image size. This command line is also in your example on page 146 of the v8.0 manual version.
/gate/source/ thyroid_Phantom /setPosition –XX –XX –XX mm

I hope this helps you to place your source in the right position.

Best,
Julia
Von: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> Im Auftrag von Christopher Watanabe
Gesendet: Dienstag, 19. November 2019 22:53
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] Voxelized Source Problem

Hi all,
I'm facing problems importing a voxelized source into my simulation. My code below is very close to the code in the Gate Users' Manual V8.0, page 146.

# Inserting Voxelized Source
/gate/source/addSource                       thyroid_Phantom voxel
/gate/source/thyroid_Phantom/reader/insert     image
/gate/source/thyroid_Phantom/imageReader/translator/insert     linear
/gate/source/thyroid_Phantom/imageReader/linearTranslator/setScale      2 Bq
/gate/source/thyroid_Phantom/imageReader/readFile ./data/thyroidPhantom/metaimage2.mhd
/gate/source/thyroid_Phantom/imageReader/verbose 1

/gate/source/thyroid_Phantom/gps/centre 0. 35. 0. mm

/gate/source/voxel/gps/particle gamma
/gate/source/voxel/gps/energytype Mono
/gate/source/voxel/gps/monoenergy 140.5 keV
/gate/source/voxel/gps/angtype iso
/gate/source/voxel/gps/mintheta                 0. deg
/gate/source/voxel/gps/maxtheta 90. deg
/gate/source/voxel/gps/minphi                0. deg
/gate/source/voxel/gps/maxphi                360. deg
/gate/source/voxel/gps/confine NULL
/gate/source/voxel/setForcedUnstableFlag true
/gate/source/voxel/setForcedHalfLife    21636 s
Where metaimage2.mhd is a binary mask of a thyroid scan. (0 background, 1 thyroid).
Despite this, I'm getting very strange visualization results from the simulation:
[image.png]
Strangely, the source doesn't move when I change the /gate/source/thyroid_Phantom/gps/centre coordinates. I'm a bit at a loss of how to solve this problem.
Has anyone had similar experiences with this? Is it a GATE issue, or is this more likely something that would originate from a faulty .mhd file formatting?
Thank you!
Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191120/35154aef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 36363 bytes
Desc: image002.png
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191120/35154aef/attachment-0001.png>


More information about the Gate-users mailing list