[Gate-users] voxelized phantom works with Gate 7.0 but not 7.2

Thomas Funck, Mr thomas.funck at mail.mcgill.ca
Sat Sep 3 01:30:23 CEST 2016


Hi,


I'm trying to run a simulation with a voxelized phantom in ASCII format. Using Gate-7.0 on vGate-3.0, this works without a problem. However, when I try to run the same simulation on vGate-7.2, no voxels are read in by the voxel reader. I'm running the same .mac in both cases.



>From Gate-7.0 (vGate-3.0):

Range Translator
    Range   0 : imageValue in [    2.000e+00 , 2.000e+00 ]  ---> activity (Bq) 1.000e+03
    Range   1 : imageValue in [    5.000e+00 , 5.000e+00 ]  ---> activity (Bq) 9.000e+02
    Range   2 : imageValue in [    3.000e+00 , 3.000e+00 ]  ---> activity (Bq) 3.000e+02
GateSourceVoxelImageReader::ReadFile : fileName: data/full_cls_1mm.txt
Source ---------------> voxel_brain
  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       : 664487
  total activity (Bq)    : 4.439e+08
  position  (mm)         : 0.000e+00 0.000e+00 0.000e+00
  voxel size  (mm)    : 1.000e+00 1.000e+00 1.000e+00


>From Gate-7.2 (vGate-7.2)

 Range Translator
    Range   0 : imageValue in [    2.000e+00 , 2.000e+00 ]  ---> activity (Bq) 1.000e+03
    Range   1 : imageValue in [    5.000e+00 , 5.000e+00 ]  ---> activity (Bq) 9.000e+02
    Range   2 : imageValue in [    3.000e+00 , 3.000e+00 ]  ---> activity (Bq) 3.000e+02
Source ---------------> voxel_brain
  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 ----------> image
  number of voxels       : 0
  total activity (Bq)    : 0.000e+00
  position  (mm)         : 0.000e+00 0.000e+00 0.000e+00
  voxel size  (mm)       : 0.000e+00 0.000e+00 0.000e+00

The portion of the .mac file for reading in the voxelized source:

#################### VOXELIZED SOURCE
/gate/source/addSource voxel_brain voxel

/gate/source/voxel_brain/reader/insert image
/gate/source/voxel_brain/imageReader/translator/insert range
/gate/source/voxel_brain/imageReader/rangeTranslator/readTable info/activity_range_fullbrain.dat
/gate/source/voxel_brain/imageReader/rangeTranslator/describe 1
/gate/source/voxel_brain/imageReader/readFile data/full_cls_1mm.txt
/gate/source/voxel_brain/setPosition  -75 -77.5 -60.5 mm

/gate/source/voxel_brain/setType backtoback
/gate/source/voxel_brain/gps/particle gamma
/gate/source/voxel_brain/setForcedUnstableFlag true
/gate/source/voxel_brain/setForcedHalfLife 6586.2 s
/gate/source/voxel_brain/gps/energytype Mono
/gate/source/voxel_brain/gps/monoenergy 0.511 MeV
/gate/source/voxel_brain/gps/angtype iso
/gate/source/voxel_brain/dump 1


Any insights would be much appreciated!

Thomas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160902/92bfcddc/attachment-0001.html>


More information about the Gate-users mailing list