Technical Note: SpekPy v2.0—a software toolkit for modeling x‐ray tube spectra
Open accessThe DOI matches its Crossref record; 14 of the 14 references it cites were found in a registry or an index.
Abstract
Purpose: SpekPy is a free toolkit for modeling x‐ray tube spectra with the Python programming language. In this article, the advances in version 2.0 (v2) of the software are described, including additional target materials and more accurate modeling of the heel effect. Use of the toolkit is also demonstrated. Methods: The predictions of SpekPy are illustrated in comparison to experimentally determined spectra: three radiation quality reference (RQR) series tungsten spectra and one mammography spectrum with a molybdenum target. The capability of the software to correctly model changes in tube output with tube potential is also assessed, using the example of a GE RevolutionTM CT scanner (GE Healthcare, Waukesha, WI, USA) and specifications in the system's Technical Reference Manual. Furthermore, we note that there are several physics models available in SpekPy. These are compared on and off the central axis, to illustrate the differences. Results: SpekPy agrees closely with the experimental spectra over a wide range of tube potentials, both visually and in terms of first and second half‐value layers (HVLs) (within 2% here). The CT scanner spectrum output (normalized to 120 kV tube potential) agreed within 4% over the range of 70 to 140 kV. The default physics model (casim) is adequate in most situations. The advanced option (kqp) should be used if high accuracy is desired for modeling the anode heel effect, as it fully includes the effects of bremsstrahlung anisotropy. Conclusions: SpekPy v2 can reliably predict on‐ and off‐axis spectra for tungsten and molybdenum targets. SpekPy's open‐source MIT license allows users the freedom to incorporate this powerful toolkit into their own projects.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Matplotlib: a 2D graphics environment
Hunter, J. D. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.55 · Cited by 39,249
SciPy 1.0: fundamental algorithms for scientific computing in Python
Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., et al. (2020) · Nature Methods · doi:10.1038/s41592-019-0686-2 · Cited by 38,430
Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., et al. (2020) · Nature · doi:10.1038/s41586-020-2649-2 · Cited by 23,826
Harris, C., Millman, K., van der Walt, S., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N., et al. (2020) · RePEc: Research Papers in Economics · Cited by 17,844
SciPy 1.0: fundamental algorithms for scientific computing in Python
Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., et al. (2019) · Apollo - University of Cambridge Repository · doi:10.17863/cam.64134 · Cited by 10,460
SpekCalc: a program to calculate photon spectra from tungsten anode x-ray tubes
Poludniowski, G. G., Landry, G., DeBlois, F., Evans, P., & Verhaegen, F. (2009) · Physics in Medicine and Biology · doi:10.1088/0031-9155/54/19/n01 · Cited by 862
Self-citationInternational Electrotechnical Commission (IEC)
OECD (2016) · OECD eBooks · doi:10.1787/9789264244047-29-en · Cited by 801
Catalogue of diagnostic x-ray spectra and other data
Cranley, K. (1997) · Medical Entomology and Zoology · Cited by 418
Bremsstrahlung spectra from electron interactions with screened atomic nuclei and orbital electrons
Seltzer, S. M., & Berger, M. J. (1985) · Nuclear Instruments and Methods in Physics Research Section B: Beam Interactions with Materials and Atoms · doi:10.1016/0168-583x(85)90707-4 · Cited by 410
Calculation of Photon Mass Energy-Transfer and Mass Energy-Absorption Coefficients
Seltzer, S. M. (1993) · Radiation Research · doi:10.2307/3578607 · Cited by 357
Metadata
- Authors
- Poludniowski, G., Omar, A., Bujila, R., & Andreo, P.
- Venue
- Medical Physics
- Publisher
- Wiley
- Published
- 2021-06-10
- Volume
- 48
- Issue
- 7
- Pages
- 3630-3637
- ISSN
- 0094-2405 (ISSN-L)
- 2473-4209
- OpenAlex
- W3160915721
- Cited by
- 203
- References
- 14
- FWCI
- 10.69
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Technical Note: SpekPy v2.0—a software toolkit for modeling x‐ray tube spectra. https://app.cochat.ai/papers/10.1002/mp.14945
- The paper
- Poludniowski, G., Omar, A., Bujila, R., & Andreo, P. (2021). Technical Note: SpekPy v2.0—a software toolkit for modeling x‐ray tube spectra. Medical Physics. https://doi.org/10.1002/mp.14945
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.