[Gate-users] attachVoxelPhantomSD experience?

Philipp Matthies philipp.matthies at gmail.com
Wed Aug 2 15:02:00 CEST 2017


Hi Niels,

have you tried the dose actor as described e.g. in these examples?

https://github.com/OpenGATE/GateContrib/tree/master/dosimetry/doseactor/

Example code exerpt from
https://github.com/OpenGATE/GateContrib/blob/master/dosimetry/doseactor/voxelized-phantom/mac/DAVW.mac:

/gate/actor/addActor DoseActor DAVW1x
/gate/actor/DAVW1x/save output/DAVW1x.mhd
/gate/actor/DAVW1x/attachTo patient
/gate/actor/DAVW1x/stepHitType random
/gate/actor/DAVW1x/setResolution 299 137 10
/gate/actor/DAVW1x/enableDose true
/gate/actor/DAVW1x/enableSquaredDose true
/gate/actor/DAVW1x/enableUncertaintyDose true
/gate/actor/DAVW1x/setDoseAlgorithm VolumeWeighting # Not mandatory,
algorithm used by default

Best regards,
Philipp

---
Philipp Matthies

Lead Engineer Nuclear Imaging
SurgicEye GmbH - www.surgiceye.com

2017-08-02 9:41 GMT+02:00 Niels van der Werf <nrvdwerf at gmail.com>:
> Dear GATE-users,
>
> Although my simulation is running very well in GATE, I cannot get any dose
> information with the attachVoxelPhantomSD command.
>
> Is there anyone with experience with this command?
>
> There aren’t any available working examples as far as I can see. I tried it
> in the same way as the manual describes:
>
> # Create a simple phantom called CCD
> /gate/world/daughters/name CCD
> /gate/world/daughters/insert parameterizedBoxMatrix
>
> # Read the file : a 300x300x1 array
> /gate/CCD/geometry/insertReader image
> /gate/CCD/imageReader/insertTranslator tabulated
> /gate/CCD/imageReader/tabulatedTranslator/readTable ccdTable.dat
> /gate/CCD/imageReader/readFile ccd300Phantom.dat
>
> # Place the phantom and rotate it so that it is in the XZ plane
> /gate/CCD/placement/setTranslation 0 -82.269 0 mm
> /gate/CCD/placement/setRotationAxis 1 0 0
> /gate/CCD/placement/setRotationAngle 90 deg
>
> # Attach the phantom SD and the output module
> /gate/CCD/attachVoxelPhantomSD
> /gate/CCD/addOutput doseOutput
> /gate/output/doseOutput/saveUncertainty true
> /gate/output/doseOutput/setFileName ccdDose.bin
>
> I hope someone can help me with this question!
>
> Best,
> Niels van der Werf
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


More information about the Gate-users mailing list