World
Outside the navigator, particles are not tracked. However, a tool has been developed in GGEMS to record the photons leaving the navigator. Particles are projected into the world using a DDA algorithm.
The world module is ‘GGEMSWorld’:
world = GGEMSWorld()
After creating a GGEMSWorld, the dimension of the world and size of voxel can be set:
world.set_dimensions(200, 200, 200)
world.set_element_sizes(10.0, 10.0, 10.0, 'mm')
For world output, there are many informations that the user can save such as: energy and energy squared of photon crossing voxel, photon momentum and fluence (photon tracking):
world.set_output_basename('data/world')
world.energy_tracking(True)
world.energy_squared_tracking(True)
world.momentum(True)
world.photon_tracking(True)