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

DoseActor: compute a 3D edep/dose map for deposited

class opengate.actor.DoseActor.DoseActor(user_info)[source]

Bases: opengate_core.GateDoseActor, opengate.ActorBase

DoseActor: 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

type_name = 'DoseActor'[source]
set_default_user_info()[source]
__str__()[source]
__getstate__()[source]
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.

StartSimulationAction()[source]
EndSimulationAction()[source]
compute_uncertainty()[source]