GGEMS CommandsΒΆ
The main steps in GGEMS are initialize and run methods.
ggems = GGEMS()
ggems.initialize()
ggems.run()
Different useful information output are available for the user during GGEMS executions.
To print all informations about OpenCL device:
ggems.opencl_verbose(True)
To print all informations about material database:
ggems.material_database_verbose(True)
To print all information about navigator (system + phantom):
ggems.navigator_verbose(True)
To print all informations about source:
ggems.source_verbose(True)
To print all informations about allocated memory:
ggems.memory_verbose(True)
To print all informations about activated processes:
ggems.process_verbose(True)
To print all informations about range cuts:
ggems.range_cuts_verbose(True)
To print seed and state of the random:
ggems.random_verbose(True)
To print profiler data (elapsed time in OpenCL kernels):
ggems.profiling_verbose(True)
To print tracking informations about a specific particle index:
ggems.tracking_verbose(True, 12)
Cleaning GGEMS object
ggems.delete()