[Gate-users] Metaimage (.mhd/.raw) as voxilized source

Niels van der Werf nrvdwerf at gmail.com
Thu Jul 27 09:28:24 CEST 2017


Hello all,

A couple of days ago I asked a question about voxilized phantoms. I am now one step further in my search. The voxilized phantom is accepted by GATE as an input. However, I cannot get it working as a voxilized source. On the wiki page an example is given for an interfile, but not for a meta image.

My code is as follows (the main change in comparison with the wiki page is in the image declaration after /gate/source/positron/reader/insert):

/gate/source/addSource 										positron voxel
#/gate/source/positron/reader/insert 							interfile
/gate/source/positron/reader/insert 							image
  
/gate/source/positron/imageReader/translator/insert              		range 
/gate/source/positron/imageReader/rangeTranslator/readTable      	data/range_source.dat 
/gate/source/positron/imageReader/rangeTranslator/describe       	1
 
# THE FOLLOWING LINE ALLOWS YOU TO INSERT THE IMAGE DATA USING THE APPROPRIATE EXTENSION FILE
/gate/source/positron/imageReader/readFile                       			data/mouse_200microns_134x501x127.mhd
/gate/source/positron/imageReader/verbose                        			1
/gate/source/positron/setPosition        							-13.4 -50.1 -12.7 mm 

/gate/source/positron/gps/particle 								e+
/gate/source/positron/gps/angtype 								iso
/gate/source/positron/gps/energytype 							Arb
#/gate/source/positron/setIntensity 							9.673E-01

/gate/source/positron/gps/histname 							arb

# Warning : probability density (or point wise) and not bin values
/gate/source/positron/gps/histpoint  0.0001	1.781E-08
/gate/source/positron/gps/histpoint  0.00011	4.220E-08
Etc etc etc.

When I run this code, I get no errors, but also no sources. Can anyone see what I’m doing incorrectly?

Thanks for your help in advance!

Best,
Niels van der Werf


More information about the Gate-users mailing list