[Gate-users] .mhd Voxelized Phantom, rangeToMaterialFile Errors
Christopher Watanabe
ge69kec at mytum.de
Fri Jan 24 13:49:09 CET 2020
Hello all,
I’m using Gate v8.2 and Geant4 10.5.0. I’m trying to import a voxelized phantom into my simulation and attach a dose actor to it.
To import the phantom, I have the following code:
/gate/world/daughters/name patient_thyroid
/gate/world/daughters/insert ImageNestedParametrisedVolume
/gate/patient_thyroid/geometry/setImage {phantomDir}/homogeneous_uint16.mhd
/gate/patient_thyroid/geometry/setRangeToMaterialFile {dataDir}/thyroidPhantom/val2mat.dat
Where my val2mat.dat looks like this:
# Number of subdivisions
2
# Values to material conversions
0 0 Air false 0.0 0.0 0.0 0.2
1 1 Thyroid false 1.0 0.0 1.0 0.2
Sent from Mail for Windows 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200124/9c9bad39/attachment.html>
More information about the Gate-users
mailing list