Software for design optimization

From pCT

Simulation software

In order to run the software to generate the geomtry, Monte Carlo data and do full simulations, you need the following software:

Generating the geometry

To generate the geometry files to run in Gate, a Python script is supplied. It is located within the gate/python subfolder.

   $ python gate/python/makeGeometryDTC.py

GATE geometry builder.PNG

Choose the wanted characteristics of the detector, and use write files in order to create the Module.mac file, which is automatically included in Main.mac.

GATE simulations

Creating the full simulations files for a range-energy look-up-table

  • Edit Module.mac to direct to readout_full.mac
  • Comment out such that the ..._Full_... filename is in use

To loop through different energy degrader thicknesses, run the script runDegrader.sh:

   $ sh runDegrader.sh <absorber thickness> <degraderthickness from> <degraderthickness stepsize> <degraderthickness to>

For example, with a 3 mm degrader, and simulating a 250 MeV beam passing through a phantom of 50, 55, 60, 65 and 70 mm water:

   $ sh runDegrader.sh 3 50 5 70

Creating the chip-only readout simulation files for analysis