Related Experiment Video
Updated: Nov 5, 2025

Applying X-ray Imaging Crystal Spectroscopy for Use as a High Temperature Plasma Diagnostic
Published on: August 25, 2016
Technical Note: SpekPy v2.0-a software toolkit for modeling x-ray tube spectra.
Gavin Poludniowski1,2, Artur Omar1,3, Robert Bujila1,4
1Medical Radiation Physics and Nuclear Medicine, Karolinska University Hospital, Stockholm, Sweden.
SpekPy v2 accurately models x-ray spectra for tungsten and molybdenum targets, validating its use in radiation physics. This free Python toolkit offers reliable spectral predictions for diverse applications.
Area of Science:
- Medical Physics
- Computational Physics
- Radiological Sciences
Background:
- Accurate modeling of x-ray spectra is crucial for radiation therapy and diagnostic imaging.
- Existing tools may have limitations in material scope or physical phenomenon modeling.
- SpekPy provides an open-source solution for simulating x-ray tube spectra.
Purpose of the Study:
- To describe advances in SpekPy version 2.0 (v2), focusing on expanded target materials and enhanced anode heel effect modeling.
- To demonstrate the practical application and validation of the SpekPy toolkit.
- To compare different physics models within SpekPy for spectral prediction accuracy.
Main Methods:
- SpekPy v2 predictions were compared against experimentally measured spectra for tungsten and molybdenum targets.
- The software's ability to model tube output variations with potential was assessed using CT scanner data.
- On-axis and off-axis spectral predictions were evaluated using different physics models (casim, kqp).
Main Results:
- SpekPy v2 demonstrated close agreement (within 2%) with experimental spectra for various tube potentials.
- CT scanner spectral output predictions showed good correlation (within 4%) across a range of kilovoltages.
- The kqp model offers higher accuracy for anode heel effect modeling, including bremsstrahlung anisotropy.
Conclusions:
- SpekPy v2 reliably predicts both on- and off-axis x-ray spectra for tungsten and molybdenum targets.
- The toolkit's open-source MIT license facilitates integration into various research and clinical projects.
- SpekPy v2 is a valuable and accessible tool for researchers and professionals in radiological sciences.
Related Concept Videos
Atomic Emission Spectroscopy: Instrumentation
Atomic Absorption Spectroscopy: Radiation and Light Sources
Two common narrow-range 'line' sources used in AAS are hollow-cathode lamps (HCLs) and...
Atomic Emission Spectroscopy: Lab
Emission Spectra
Inductively Coupled Plasma Atomic Emission Spectroscopy: Instrumentation
There are three main types of inductively coupled plasma atomic emission spectroscopy (ICP-AES) instruments: sequential, simultaneous multichannel, and Fourier transform instruments, with the latter being less commonly used....
Atomic Absorption Spectroscopy: Instrumentation
The atomizer used in AAS can be either a flame atomizer or an...

