Geant4 Radiation Labs

A four-lab series taking you from a fresh Linux install to a working PET-scanner simulation, using Geant4 for the physics and Python (pandas, matplotlib) for analysis.

Read the labs at: https://jwinterm.github.io/geant4-radiation-labs/

Labs

Title Topic
1 Setting Up Linux and Building Geant4 Ubuntu VM + Geant4 build with Qt visualization
2 First Simulation: Building and Running B1 Compile B1, run interactively + via macros, vary particle/energy
3 Acquiring and Analyzing Simulation Data Patch B1 to write CSV via G4AnalysisManager; analyze in Python
4 Medical Physics Application: A PET Scanner Use B3a PET example; identify 511 keV photopeak; reconstruct lines of response

Building locally

This site is built with Quarto. To preview locally:

quarto preview

To regenerate a single lab as PDF:

quarto render lab1_setup/lab1.qmd --to pdf

License

This repository uses a dual license:

Inquiries

Want on-site delivery or customization built on top of these openly-licensed materials? such.software — an independent provider co-founded by one of the authors — offers commercial services. Email john@such.software.

Description
Hands-on Geant4 simulation labs: from VM setup to a PET scanner
Readme MIT 4.6 MiB
Languages
Python 100%