3.10.1.2.1.2. opengate.actors.arfactors

3.10.1.2.1.2.1. Classes

ARFTrainingDatasetActor

The ARFTrainingDatasetActor build a root file with energy, angles, positions and energy windows

ARFActor

The ARF Actor is attached to a volume.

3.10.1.2.1.2.2. Functions

import_garf()

3.10.1.2.1.2.3. Module Contents

opengate.actors.arfactors.import_garf()[source]
class opengate.actors.arfactors.ARFTrainingDatasetActor(user_info)[source]

Bases: opengate_core.GateARFTrainingDatasetActor, opengate.actors.base.ActorBase

The ARFTrainingDatasetActor build a root file with energy, angles, positions and energy windows of a spect detector. To be used by garf_train to train a ARF neural network.

Note: Must inherit from ActorBase not from HitsCollectionActor, even if the cpp part inherit from HitsCollectionActor

type_name = 'ARFTrainingDatasetActor'[source]
static set_default_user_info(user_info)[source]
initialize(simulation_engine_wr=None)[source]
__str__()[source]
class opengate.actors.arfactors.ARFActor(user_info)[source]

Bases: opengate_core.GateARFActor, opengate.actors.base.ActorBase

The ARF Actor is attached to a volume. Every time a particle enter, it considers the energy and the direction of the particle. It runs the neural network model to provide the probability of detection in all energy windows.

Output is an ITK image that can be retrieved with self.output_image

type_name = 'ARFActor'[source]
set_default_user_info()[source]
debug_nb_hits_before = None[source]
debug_nb_hits = 0[source]
garf[source]
g4_actor = None[source]
pth_filename[source]
param[source]
nn = None[source]
model = None[source]
model_data = None[source]
batch_nb = 0[source]
detected_particles = 0[source]
lock[source]
__str__()[source]
__getstate__()[source]
initialize(volume_engine=None)[source]
apply(actor)[source]
apply_with_lock(actor)[source]
EndSimulationAction()[source]