<div dir="ltr">Hello, <div><br></div><div>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. </div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 9:28 AM, Niels van der Werf <span dir="ltr"><<a href="mailto:nrvdwerf@gmail.com" target="_blank">nrvdwerf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
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.<br>
<br>
My code is as follows (the main change in comparison with the wiki page is in the image declaration after /gate/source/positron/reader/<wbr>insert):<br>
<br>
/gate/source/addSource positron voxel<br>
#/gate/source/positron/reader/<wbr>insert interfile<br>
/gate/source/positron/reader/<wbr>insert image<br>
<br>
/gate/source/positron/<wbr>imageReader/translator/insert range<br>
/gate/source/positron/<wbr>imageReader/rangeTranslator/<wbr>readTable data/range_source.dat<br>
/gate/source/positron/<wbr>imageReader/rangeTranslator/<wbr>describe 1<br>
<br>
# THE FOLLOWING LINE ALLOWS YOU TO INSERT THE IMAGE DATA USING THE APPROPRIATE EXTENSION FILE<br>
/gate/source/positron/<wbr>imageReader/readFile data/mouse_200microns_<wbr>134x501x127.mhd<br>
/gate/source/positron/<wbr>imageReader/verbose 1<br>
/gate/source/positron/<wbr>setPosition -13.4 -50.1 -12.7 mm<br>
<br>
/gate/source/positron/gps/<wbr>particle e+<br>
/gate/source/positron/gps/<wbr>angtype iso<br>
/gate/source/positron/gps/<wbr>energytype Arb<br>
#/gate/source/positron/<wbr>setIntensity 9.673E-01<br>
<br>
/gate/source/positron/gps/<wbr>histname arb<br>
<br>
# Warning : probability density (or point wise) and not bin values<br>
/gate/source/positron/gps/<wbr>histpoint 0.0001 1.781E-08<br>
/gate/source/positron/gps/<wbr>histpoint 0.00011 4.220E-08<br>
Etc etc etc.<br>
<br>
When I run this code, I get no errors, but also no sources. Can anyone see what I’m doing incorrectly?<br>
<br>
Thanks for your help in advance!<br>
<br>
Best,<br>
Niels van der Werf<br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U1206<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div></div></div></div></div>
</div>