[Gate-users] Voxelized phantom source error
Marc Chamberland
MarcChamberland at cmail.carleton.ca
Wed Oct 3 15:51:28 CEST 2012
Hi George,
The error message is giving you a hint at what is wrong: it says that the volume does not exist and thus, it is ignoring the confine command. If you look at the voxelized source macro, you'll find the following line:
/gate/source/voxel_brain/gps/confine NULL
which is the source of this error (which by the way, in no way affects your simulation). The problem here is that the keyword NULL is used to unset the confine command, but somehow Gate looks for a volume called NULL and throws the error.
By default, a new source in Gate is not confined. So the confine command is unnecessary here. Simply comment it out of the macro and the error message will disappear.
Cheers!
Marc
__________________________
Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
Le 2012-10-03 à 8:54 AM, "Soultanidis, Georgios" <georgios.soultanidis at kcl.ac.uk<mailto:georgios.soultanidis at kcl.ac.uk>>
a écrit :
Dear Gate users,
I use Gate V6.2. I tried to implement a voxelized phantom into my simulations. The file is an interfile. My implementation was based upon the example of Voxelized Phantoms. During the execution, I get an error not at the Phantom construction but at the source construction. I would like to know what you suggest at this occasion. It is pretty bizarre to give the same file and to get two answers. Thank you in advance for your help.
Best regards,
George Soultanidis
The error I receive is the following:
CREATED THE COMMAND /gate/systems/cylindricalPET/addAnewRsector
Range Translator
Range 0 : imageValue in [ 0.000e+00 , 0.000e+00 ] ---> material Air, visibility 0, coulour (0.000e+00,0.000e+00,0.000e+00,2.000e-01)
Range 1 : imageValue in [ 2.560e+02 , 5.120e+02 ] ---> material Water, visibility 1, coulour (1.000e+00,0.000e+00,0.000e+00,2.000e-01)
Header read from 'Phantom_4.h33' #name of the phantom
Data file name 'Phantom_4.i33'
Nb of planes: 66
Nb of pixels per plane: 50 50
Pixel size: 1.200e+00 1.200e+00
Slice thickness: 1.200e+00
Matrix size: 6.000e+01 6.000e+01
Data type: UNSIGNED INTEGER
Data byte order: LITTLEENDIAN
nx ny nz: 50 50 66
dx dy dz: 1.200e+00 1.200e+00 1.200e+00
Nof Higher level 3
[Core-0] Initialization of geometry
[Core-0] Initialization of physics
[Core-0] Initialization of actors
Range Translator
Range 0 : imageValue in [ 2.560e+02 , 2.560e+02 ] ---> activity (Bq) 1.000e+01
Range 1 : imageValue in [ 5.120e+02 , 5.120e+02 ] ---> activity (Bq) 3.000e+01
Header read from 'Phantom_4.h33'
Data file name 'Phantom_4.i33'
Nb of planes: 66
Nb of pixels per plane: 50 50
Pixel size: 1.200e+00 1.200e+00
Slice thickness: 1.200e+00
Matrix size: 6.000e+01 6.000e+01
Data type: UNSIGNED INTEGER
Data byte order: LITTLEENDIAN
nx ny nz: 50 50 66
dx dy dz: 1.200e+00 1.200e+00 1.200e+00
**** Error: Volume does not exist ****
Ignoring confine condition
Source ---------------> SRC
ID : 0
type : backtoback
startTime (s) : 0.000e+00
time (s) : 0.000e+00
forcedUnstable : 1
forcedLifetime (s) : 9.502e+03
verboseLevel : 0
-----------------------
Voxel reader ----------> number of voxels : 0
total activity (Bq) : 0.000e+00
position (mm) : 0.000e+00 0.000e+00 0.000e+00
voxel size (mm) : 1.000e+00 1.000e+00 1.000e+00
Source --------------> SRC
ID : 0
type : backtoback
activity (Bq) : 0.000e+00
startTime (s) : 0.000e+00
time (s) : 0.000e+00
forcedUnstable : 1
forcedHalfLife (s) : 6.586e+03
verboseLevel : 0
relative to vol : World
----------------------
________________________________________________________________
Postgraduate Student
Division of Imaging Sciences & Biomedical Engineering
King's College London
The Rayne Institute
4th Floor, Lambeth Wing
St Thomas' Hospital
London, SE1 7EH
Tel: (+44)/(0)20 7188 8377
Fax: (+44)/(0)20 7188 5442
georgios.soultanidis at kcl.ac.uk<mailto:georgios.soultanidis at kcl.ac.uk>
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121003/6f8f8a49/attachment-0001.html>
More information about the Gate-users
mailing list