3.1.1.1.1.14. opengate.actor.DoseActor¶
3.1.1.1.1.14.1. Module Contents¶
3.1.1.1.1.14.1.1. Classes¶
DoseActor: compute a 3D edep/dose map for deposited |
- class opengate.actor.DoseActor.DoseActor(user_info)[source]¶
Bases:
opengate_core.GateDoseActor,opengate.ActorBaseDoseActor: compute a 3D edep/dose map for deposited energy/absorbed dose in the attached volume
- The dose map is parameterized with:
size (number of voxels)
spacing (voxel size)
translation (according to the coordinate system of the “attachedTo” volume)
no rotation
Position: - by default: centered according to the “attachedTo” volume center - if the attachedTo volume is an Image AND the option “img_coord_system” is True:
the origin of the attachedTo image is used for the output dose. Hence, the dose can be superimposed with the attachedTo volume
- Options
edep only for the moment
later: add dose, uncertainty, squared etc
- initialize(volume_engine=None)[source]¶
At the start of the run, the image is centered according to the coordinate system of the mother volume. This function computes the correct origin = center + translation. Note that there is a half-pixel shift to align according to the center of the pixel, like in ITK.