pymkm

pyMKM: Microdosimetric modeling toolkit for ion beam radiotherapy.

pyMKM provides tools to compute microdosimetric and radiobiological quantities based on ion-specific LET data and linear-quadratic (LQ) survival models. It supports:

  • Radial dose modeling using Scholz-Kraft and Kiefer-Chatterjee formalisms

  • Specific energy and saturation-corrected z̄ calculations

  • Microdosimetric Kinetic Model (MKM), Stochastic MKM (SMK), and OSMK 2021/2023

  • Pre-bundled stopping power datasets (MSTAR, Geant4, FLUKA)

  • Survival fraction table generation and visualization

  • Full support for oxygen-effect modeling

Main subpackages

  • pymkm.io: Data loading and parsing of stopping power tables.

  • pymkm.data: Bundled LET datasets and element metadata.

  • pymkm.physics: Core models for track structure and specific energy.

  • pymkm.mktable: LET-to-z̄ computation for MKM/SMK/OSMK tables.

  • pymkm.sftable: LQ model application and survival fraction calculations.

  • pymkm.biology: Oxygen-effect models and radiobiological corrections.

  • pymkm.utils: Utilities for interpolation, geometry, and parallelism.

pyMKM is intended for researchers and clinicians working in particle therapy, microdosimetry, and radiobiology modeling.

Subpackages