RadPy is an open-source Python library designed to analyze, compare, and simplify the handling of data used in medical physics, with a specific focus on radiation therapy. Core Purpose and Design Goals
Developed under open-source licenses like the GNU General Public License (GPL), RadPy serves as a foundational bridge for clinical and research workflows in radiation oncology. Its main design objectives include:
Beam Data Analysis: Comparing 3D dose distributions calculated by commercial treatment planning systems against physical measurements scanned using a 3D water phantom.
Quality Assurance: Assessing water phantom scans against historical reference baselines to ensure the consistency and stability of linear accelerator radiation beams over time.
Ecosystem Integration: Parsing medical imaging and dosimetry file formats by interacting directly with core libraries like pydicom. Technical Ecosystem
RadPy is not isolated; it is a vital part of a larger open-source ecosystem used in medical physics research:
Interoperability: It integrates cleanly with standard medical data pipelines alongside tools like dicompyler (an extensible radiation therapy research platform).
Extended Frameworks: The core design principles of RadPy have been integrated into advanced, modern Python packages such as PyRERT (Python Research Environment for Radiotherapy). PyRERT utilizes RadPy-derived logic to parse water-tank scanning data (such as IBA RFA 300 ASCII formats) and handle virtual linear accelerator XML control streams. Related Libraries
Depending on your exact physics workflow, you might also be looking for these specialized, similarly named open-source Python libraries:
ColRadPy (Collisional Radiative Python): A package that solves collisional-radiative and ionization equations for plasma diagnostics and astro/fusion plasma modeling.
RadSim: A modular framework specifically optimized for rapid Monte Carlo simulations of gamma-ray detector outputs and radiation flux transport.
PortPy: A comprehensive toolkit focused on patient-specific treatment plan optimization for cancer radiotherapy.
Are you planning to use RadPy for analyzing clinical beam data, or are you looking to script a broader Monte Carlo radiation transport simulation?
llnl/RadSim: An open-source radiation simulation … – GitHub
Leave a Reply