Hello Gaters!<br><br>I'm running a small cubic (3x3x3 voxels, 5x5x5cm voxels) voxelized phantom and source just to check my camera setup, try reconstruction and so on... Anyway, when I run my macro I get an error like:<br>
----------------------------------<br><font size="2"><span style="color: rgb(255, 0, 0);">Time set to (s) 954</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Time set to (s) 955</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Time set to (s) 956</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Time set to (s) 957</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Time set to (s) 958</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Time set to (s) 959</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Time set to (s) 960</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Time set to (s) 961</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">ERROR - G4PhantomParameterisation::GetReplicaNo()</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);"> localPoint - (21.41862744,24.85755737,0.08007500433) - is outside container solid: xcatPhantom_S</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">*** G4Exception : InvalidSetup</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);"> issued by : G4PhantomParameterisation::GetReplicaNo()</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Point outside voxels!</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">*** Fatal Error In Argument *** core dump ***</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">*** G4Exception: Aborting execution ***</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Aborted</span><br>-----------------------------------</font><br>
I've tried to find what the error actually means, but to no avail. Is there something wrong with my phantom or source setup? Everything looks fine in the visualization, the camera with a small cube inside. I've added the codes for phantom and source below. Thanks a lot for any suggestions!<br>
/Ida<br><br>-------------PHANTOM---------------------------<br><span style="color: rgb(51, 51, 255);">/gate/world/daughters/name xcatPhantom</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/world/daughters/insert regularMatrix</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/xcatPhantom/geometry/insertReader image</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/xcatPhantom/imageReader/insertTranslator tabulated</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/xcatPhantom/imageReader/tabulatedTranslator/readTable testPhantom/range.dat</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/xcatPhantom/imageReader/readFile testPhantom/smallVoxelPhantom.dat</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/xcatPhantom/placement/setTranslation 0. 0. 0. mm</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/xcatPhantom/attachPhantomSD</span><br>
-----------------------------------------------------<br>-------------SOURCE-----------------------------<br><span style="color: rgb(51, 51, 255);">/gate/source/addSource xcatSource voxel</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/reader/insert image</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/imageReader/translator/insert linear</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/imageReader/linearTranslator/setScale 1. Bq</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/imageReader/readFile testPhantom/smallVoxelAct.dat</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/setPosition -75. -75. -75. mm</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/setType backtoback</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/particle gamma</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/energytype Mono</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/setForcedUnstableFlag true</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/setForcedHalfLife 1223 s #Carbon-11</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/monoenergy 511. keV</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/angtype iso</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/mintheta 90. deg</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/maxtheta 90. deg</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/minphi 0. deg</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/maxphi 360. deg</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/gps/confine NULL</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/xcatSource/dump 1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/gate/source/list</span><br>------------------------------------------------------<br><br>smallVoxelAct.dat:<br><span style="color: rgb(51, 51, 255);">3 3 3</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">50 50 50</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">1</span><br>---------------------------------<br>smallVoxelPhantom.dat:<br><span style="color: rgb(51, 51, 255);">3 3 3</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">50 50 50</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">6</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">6</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">3</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">6</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">3</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">4</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">6</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">3</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">4</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">5</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">3 </span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">2</span><br>------------------------------------<br>