[Gate-users] G4Exception: InvalidSetup, point outside voxels!
Ida Häggström
ida.haggstrom at radfys.umu.se
Wed Sep 30 15:30:19 CEST 2009
Hello Gaters!
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:
----------------------------------
Time set to (s) 954
Time set to (s) 955
Time set to (s) 956
Time set to (s) 957
Time set to (s) 958
Time set to (s) 959
Time set to (s) 960
Time set to (s) 961
ERROR - G4PhantomParameterisation::GetReplicaNo()
localPoint - (21.41862744,24.85755737,0.08007500433) - is outside
container solid: xcatPhantom_S
*** G4Exception : InvalidSetup
issued by : G4PhantomParameterisation::GetReplicaNo()
Point outside voxels!
*** Fatal Error In Argument *** core dump ***
*** G4Exception: Aborting execution ***
Aborted
-----------------------------------
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!
/Ida
-------------PHANTOM---------------------------
/gate/world/daughters/name xcatPhantom
/gate/world/daughters/insert regularMatrix
/gate/xcatPhantom/geometry/insertReader image
/gate/xcatPhantom/imageReader/insertTranslator tabulated
/gate/xcatPhantom/imageReader/tabulatedTranslator/readTable
testPhantom/range.dat
/gate/xcatPhantom/imageReader/readFile testPhantom/smallVoxelPhantom.dat
/gate/xcatPhantom/placement/setTranslation 0. 0. 0. mm
/gate/xcatPhantom/attachPhantomSD
-----------------------------------------------------
-------------SOURCE-----------------------------
/gate/source/addSource xcatSource voxel
/gate/source/xcatSource/reader/insert image
/gate/source/xcatSource/imageReader/translator/insert linear
/gate/source/xcatSource/imageReader/linearTranslator/setScale 1. Bq
/gate/source/xcatSource/imageReader/readFile testPhantom/smallVoxelAct.dat
/gate/source/xcatSource/setPosition -75. -75. -75. mm
/gate/source/xcatSource/setType backtoback
/gate/source/xcatSource/gps/particle gamma
/gate/source/xcatSource/gps/energytype Mono
/gate/source/xcatSource/setForcedUnstableFlag true
/gate/source/xcatSource/setForcedHalfLife 1223 s #Carbon-11
/gate/source/xcatSource/gps/monoenergy 511. keV
/gate/source/xcatSource/gps/angtype iso
/gate/source/xcatSource/gps/mintheta 90. deg
/gate/source/xcatSource/gps/maxtheta 90. deg
/gate/source/xcatSource/gps/minphi 0. deg
/gate/source/xcatSource/gps/maxphi 360. deg
/gate/source/xcatSource/gps/confine NULL
/gate/source/xcatSource/dump 1
/gate/source/list
------------------------------------------------------
smallVoxelAct.dat:
3 3 3
50 50 50
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
---------------------------------
smallVoxelPhantom.dat:
3 3 3
50 50 50
6
2
6
2
2
5
3
2
6
2
3
1
4
5
1
6
5
3
5
2
4
5
5
5
3
1
2
------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090930/88adb571/attachment.htm>
More information about the Gate-users
mailing list