Medical Radiation Physics and Nuclear Medicine, Karolinska University Hospital, Stockholm, Sweden.
Department of Clinical Science, Intervention and Technology, Karolinska Institutet, Stockholm, Sweden.
Med Phys. 2021 Jul;48(7):3630-3637. doi: 10.1002/mp.14945. Epub 2021 Jun 10.
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.
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 Revolution 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.
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.
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.
SpekPy 是一个用 Python 编程语言对 X 射线管光谱进行建模的免费工具包。本文介绍了该软件 2.0 版(v2)的进展,包括更多的目标材料和更精确的足跟效应建模。还演示了该工具包的使用。
SpekPy 的预测结果与实验确定的光谱进行了比较:三种辐射质量参考(RQR)系列钨光谱和一种钼靶乳腺摄影光谱。还使用通用电气 Revolution CT 扫描仪(通用电气医疗保健公司,美国威斯康星州沃基肖)和系统技术参考手册中的规格,评估了该软件正确模拟管电压变化对管输出影响的能力。此外,我们注意到 SpekPy 中有几个物理模型。在中心轴上和轴外对这些模型进行了比较,以说明它们的差异。
SpekPy 在很宽的管电压范围内与实验光谱非常吻合,无论是在视觉上还是在第一和第二半价层(HVLs)方面(这里误差在 2%以内)。CT 扫描仪光谱输出(归一化为 120 kV 管电压)在 70 到 140 kV 范围内的误差在 4%以内。在大多数情况下,默认物理模型(casim)是足够的。如果需要对阳极足跟效应进行高精度建模,则应使用高级选项(kqp),因为它完全包括韧致辐射各向异性的影响。
SpekPy v2 可以可靠地预测钨和钼靶的轴上和轴外光谱。SpekPy 的开源 MIT 许可证允许用户将这个强大的工具包自由地集成到自己的项目中。