Skip to content

MonteCarlo simulation of an electron beam hitting solid matter. Physical features include continuous slowing down approximation, moeller- and mott-scattering.

Notifications You must be signed in to change notification settings

michaelschoellhorn/MonteCarloBetaSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonteCarloBetaSim

MonteCarlo simulation of an electron beam hitting solid matter. Physical features include moeller-, mott-scattering and the continuous slowing down approximation for modelling energy loss in cases with deflection under theta = 0.2 rad. The simulation can be used to model electrons with kinetic energy between ionisation energy and pair formation energy.

Visualization

There are three different scripts for visualizing the paths of the electrons and the deposited energy in the medium. All plotting scripts need a working pathon3 installation aswell as the numpy and matplotlib packages to function properly. For the visualization of the taken paths, one can run plot.py in the visualization directory after running the simulation. The paths of the electrons are color coded with their energy value. plotgrid.py and plotheat.py both produce plots for the energy deposition. The first produces a 3D scatter plot, the second one a heatmap.

Examples

For all visualization features example plots can be found in the examples subdirectory.

About

MonteCarlo simulation of an electron beam hitting solid matter. Physical features include continuous slowing down approximation, moeller- and mott-scattering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published