[Gate-users] Metaimage (.mhd/.raw) as voxilized source
David Sarrut
David.Sarrut at creatis.insa-lyon.fr
Tue Aug 22 09:30:16 CEST 2017
Hello,
it should work with mhd. Try with very simple voxelized source (all voxel
equal to 1, no translation, e+, iso, mono energy, intensity 1, fixe nb of
particle etc), and successively try to increase complexity.
David
On Thu, Jul 27, 2017 at 9:28 AM, Niels van der Werf <nrvdwerf at gmail.com>
wrote:
> 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
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20170822/595498f0/attachment-0001.html>
More information about the Gate-users
mailing list