[gate-users] range.dat
Mutanga Theodore
muathe02 at student.umu.se
Wed Oct 12 09:38:29 CEST 2005
Greetings and thanks for the answer to the post for yesterday. I had
figured out how to avoid the negative values using medcon.
Now I have my voxel phantom as unsigned integer in interfile format
converted using xmedcon but still i get the error message below and gate
aborts :
/gate/nema_vox_phant/interfileReader/readFile m001-nema.h33
'nrecognised type name 'unsigned integer
Header read from 'm001-nema.h33'
'Data file name 'm001-nema.i33
Nb of planes: 47
Nb of pixels per plane: 313 243
Pixel size: 9.766e-01 9.766e-01
Slice thickness: 3.348e+00
Matrix size: 3.057e+02 2.373e+02
Data type:
'!ror: Could not open header file 'm001-nema.i33
/gate/nema_vox_phant/placement/setTranslation 0. 0. 0. mm
/gate/nema_vox_phant/placement/setRotationAxis 1 0 0
/gate/nema_vox_phant/placement/setRotationAngle 0 deg
/gate/nema_vox_phant/attachVoxelPhantomSD
PreInit>
PreInit> /gate/physics/gamma/selectRayleigh lowenergy
/gate/physics/gamma/selectRayleigh lowenergy
PreInit> /gate/physics/gamma/selectPhotoelectric standard
/gate/physics/gamma/selectPhotoelectric standard
PreInit> /gate/physics/gamma/selectCompton standard
/gate/physics/gamma/selectCompton standard
PreInit> /gate/physics/setElectronCut 1. m
/gate/physics/setElectronCut 1. m
PreInit> /gate/physics/setXRayCut 1. GeV
/gate/physics/setXRayCut 1. GeV
PreInit> /gate/physics/setDeltaRayCut 1. GeV
/gate/physics/setDeltaRayCut 1. GeV
PreInit>
PreInit> /gate/geometry/enableAutoUpdate
/gate/geometry/enableAutoUpdate
ERROR - G4Box()::G4Box(): nema_vox_phant_S
Dimensions too small ! - 0, 0, 0
*** G4Exception : InvalidSetup
issued by : G4Box::G4Box()
Invalid dimensions. Too small.
*** Fatal Exception *** core dump ***
*** G4Exception: Aborting execution ***
Abort
********************************************************************
Is there something wrong with my voxel phantom datatype ?
Cheers
theo
> Dear Theodore,
>
> The thing to do is to use unsigned integers for your voxelized phantom
> values.
>
> example:
> 5 == [nr of intervals to be defined]
> 0 0 Air false 0.0 0.0 0.0 0.2 == [range from]
> [to] [material] [visualisation boolean] [%Red][%Green][%Blue][%Alpha]
> 6 6 Lung false 1.0 0.0 0.0 0.2
> 6 16 Breast flase 0.0 1.0 0.0 0.2
> 16 36 Plastic true 0.0 0.0 1.0 0.2
> 36 200 Air false 0.0 0.0 0.0 0.2
>
> Cheers
>
> Roel
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list