In GGEMS, a voxelized phantom is the only available type of phantom. This phantom is defined in a mhd file and a range data file, storing all label data. The reference axis of the phantom are the same than the global world volume


First a phantom is created by choosing a name, and loading a mhd file and a range data file:

phantom = GGEMSVoxelizedPhantom('phantom')
phantom.set_phantom('phantom.mhd', 'range_phantom.txt')

The user can set a position and a rotation applyied to the phantom using the following commands:

phantom.set_rotation(0.0, 0.0, 0.0, 'deg')
phantom.set_position(0.0, 0.0, 0.0, 'mm')