Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuelpeet/flashgamma
Analysis of radiotherapy dose distributions
https://github.com/samuelpeet/flashgamma
medical-physics radiation-therapy
Last synced: 3 months ago
JSON representation
Analysis of radiotherapy dose distributions
- Host: GitHub
- URL: https://github.com/samuelpeet/flashgamma
- Owner: samuelpeet
- License: mit
- Created: 2018-09-25T01:06:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-22T02:36:31.000Z (over 1 year ago)
- Last Synced: 2024-07-05T15:44:31.911Z (4 months ago)
- Topics: medical-physics, radiation-therapy
- Language: Python
- Homepage:
- Size: 1.28 MB
- Stars: 28
- Watchers: 7
- Forks: 11
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-medphys - FlashGamma - ![Static Badge](https://img.shields.io/badge/Python-stuff?style=flat&logo=python&color=lime) A python package for speedy analyses of 2D radiotherapy dose distributions. (Libraries)
README
# flashgamma
A python package for speedy analyses of 2D radiotherapy dose distributions.
## Installation
Installation is through `pip`. You must have `numpy` installed in your environment first. You may also wish to install matplotlib to run the examples.
pip install numpy matplotlib
pip install flashgamma## Examples
Checkout the examples folder for details.
**Example 1** demonstrates how to perform a gamma analysis on some ArcCheck data:
![](./examples/images/eg1.png)
**Example 2** uses arbitrary `numpy` arrays:
![](./examples/images/eg2.png)
**Example 3** uses a `cython` based function to rapidly calculate gamma pass rates. That means you can analyse entire ranges of dose difference and distance to agreement criteria at once, generating interesting plots like this:
![](./examples/images/eg3.png)
## Caveats
This code was written for personal educational purposes. Although it was shown internally to perform similarly to a range of proprietary gamma analysis codes, it is in no way guaranteed to be free from bugs and errors.
## Literature
This software was featured in the following publication:
Samuel C. Peet, Liting Yu, Sarah Maxwell, Scott B. Crowe, Jamie V. Trapp, Tanya Kairn. (2020). "Exploring the gamma surface: A new method for visualising modulated radiotherapy quality assurance results". Physica Medica: European Journal of Medical Physics, Volume 78, 166-172. (https://doi.org/10.1016/j.ejmp.2020.09.021)