Skip to content

Calculate scatter/energy kernels for particles (photons by default) using GEANT4 + Python.

Notifications You must be signed in to change notification settings

christopherpoole/EnergyKernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Energy or scatter kernels are an integral part of analytical radiotherapy dose calculation techniques; convolve the scatter kernel with TERMA, and you get dose. This GEANT4 simulation provides a generic starting point for the calculation of scatter kernels. Energy and particle type can be set in the PrimaryGeneratorAction. Energy is accumulated in numpy arrays, parsed to the sensitive detector with the help of pyublas.

Compilation

git clone 
cd EnergyKernel/EnergyKernel
mkdir build
cd build
cmake ..
make

Usage

From the top level directory run

python example.py

Dependencies

Make sure you have GEANT4 as well as the Python wrapper installed. You will also need the following Python modules:

About

Calculate scatter/energy kernels for particles (photons by default) using GEANT4 + Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published