3.10.1.2.1.5. opengate.actors.digitizers¶
3.10.1.2.1.5.1. Classes¶
Simple helper class to reduce the code size when creating a digitizer. |
|
Equivalent to Gate "adder": gather all hits of an event in the same volume. |
|
Digitizer module for blurring an attribute (single value only, not a vector). |
|
Digitizer module for blurring a (global) spatial position. |
|
Digitizer module for simulating efficiency. |
|
Consider a list of hits and arrange them according to energy intervals. |
|
Build a list of hits in a given volume. |
|
This actor takes as input HitsCollections and performed binning in 2D images. |
|
This actor is a DigitizerAdderActor + a discretization step: |
|
Similar to HitsCollectionActor : store a list of hits. |
3.10.1.2.1.5.2. Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.10.1.2.1.5.3. Module Contents¶
- opengate.actors.digitizers.ene_win_down_scatter(name, peak_min_value, energy_width_percent)[source]¶
- opengate.actors.digitizers.energy_windows_peak_scatter(peak_name, down_scatter_name, up_scatter_name, peak, peak_width, down_scatter_width, up_scatter_width=None)[source]¶
- opengate.actors.digitizers.get_simplified_digitizer_channels_Tc99m(spect_name, scatter_flag)[source]¶
- opengate.actors.digitizers.get_simplified_digitizer_channels_Lu177(spect_name, scatter_flag)[source]¶
- opengate.actors.digitizers.get_simplified_digitizer_channels_In111(spect_name, scatter_flag)[source]¶
- opengate.actors.digitizers.get_simplified_digitizer_channels_I131(spect_name, scatter_flag)[source]¶
- opengate.actors.digitizers.get_simplified_digitizer_channels_rad(spect_name, rad, scatter_flag)[source]¶
- class opengate.actors.digitizers.Digitizer(sim, volume_name, digit_name)[source]¶
Simple helper class to reduce the code size when creating a digitizer. It only avoids repeating mother, output and input_digi_collection parameters.
- class opengate.actors.digitizers.DigitizerAdderActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerAdderActor,opengate.actors.base.ActorBaseEquivalent to Gate “adder”: gather all hits of an event in the same volume. Input: a HitsCollection, need aat least TotalEnergyDeposit and PostPosition attributes Output: a Single collections
Policies: - EnergyWinnerPosition: consider position and energy of the hit with the max energy
for all other attributes (Time, etc.): the value of the winner is used.
- EnergyWeightedCentroidPosition: computed the energy-weighted centroid position
for all other attributes (Time, etc.): the value the last seen hit is used.
- class opengate.actors.digitizers.DigitizerBlurringActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerBlurringActor,opengate.actors.base.ActorBaseDigitizer module for blurring an attribute (single value only, not a vector). Usually for energy or time.
- class opengate.actors.digitizers.DigitizerSpatialBlurringActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerSpatialBlurringActor,opengate.actors.base.ActorBaseDigitizer module for blurring a (global) spatial position.
- class opengate.actors.digitizers.DigitizerEfficiencyActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerEfficiencyActor,opengate.actors.base.ActorBaseDigitizer module for simulating efficiency.
- class opengate.actors.digitizers.DigitizerEnergyWindowsActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerEnergyWindowsActor,opengate.actors.base.ActorBaseConsider a list of hits and arrange them according to energy intervals. Input: one DigiCollection Output: as many DigiCollections as the number of energy windows
- class opengate.actors.digitizers.DigitizerHitsCollectionActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerHitsCollectionActor,opengate.actors.base.ActorBaseBuild a list of hits in a given volume. - the list of attributes to be stored is given in the ‘attributes’ options - output as root
- class opengate.actors.digitizers.DigitizerProjectionActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerProjectionActor,opengate.actors.base.ActorBaseThis actor takes as input HitsCollections and performed binning in 2D images. If there are several HitsCollection as input, the slices will correspond to each HC. If there are several runs, images will also be slice-stacked.
- class opengate.actors.digitizers.DigitizerReadoutActor(user_info)[source]¶
Bases:
opengate_core.GateDigitizerReadoutActor,opengate.actors.base.ActorBaseThis actor is a DigitizerAdderActor + a discretization step: the final position is the center of the volume
- class opengate.actors.digitizers.PhaseSpaceActor(user_info)[source]¶
Bases:
opengate_core.GatePhaseSpaceActor,opengate.actors.base.ActorBaseSimilar to HitsCollectionActor : store a list of hits. However only the first hit of given event is stored here.