Probabilistic Evaluation for Treatments Plans in Radiation Therapy
This repository is the base module for performing probabilistic evaluation of optimized treatment plans in radiation therapy. The goal is to provide a clear visualisation and analysis of uncertainties affect the dose distribution and the clinical goals. This library is not made for optimization purposes, but rather for evaluation of already optimized plans to allow clinicians to make better-informed decisions on trade-offs between organ-at-risk sparing and target coverage under uncertainty.
This repository is not intended for clinical use.
Installation
pip install RT-Prob-E
Optional: Streamlit-based UI tools
Two interactive, browser-based tools live in Probabilistic_Evaluation.ui
and are available as an optional extra, since they depend on
Streamlit (the results viewer also uses
streamlit-aggrid for its
tables):
pip install RT-Prob-E[ui]
Clinical goals editor — add, copy, delete and edit the goals in a clinical goals JSON file:
from Probabilistic_Evaluation.ui import edit_clinical_goals
edit_clinical_goals("clinical_goals.json") # opens the editor in a browser tab
or, from a shell:
rt-eval-goals clinical_goals.json
Results viewer — browse a folder of probabilistic evaluation result JSON files, one browser tab per file, with a draggable, color-coded table of probabilistic objectives (drag rows to reorder, save/load that order) and a read-only table of non-probabilistic ones:
from Probabilistic_Evaluation.ui import view_results
view_results("Results") # opens one tab per *.json file in that folder
or, from a shell:
rt-view-results Results
Calling any of these without the ui extra installed raises a clear error
telling you to install it, rather than an import traceback.
Metadata
Release files for RT-Prob-E 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rt_prob_e-0.1.0.tar.gz | 66.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rt_prob_e-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 149.6 kB
Release files / rt_prob_e-0.1.0.tar.gz
| Download URL | rt_prob_e-0.1.0.tar.gz |
|---|---|
| Size | 66.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc3a99767c37422206aaca1e4d5bb258b76b570cadbe67017cdff2065d8c3ce4
|
|
BLAKE2b-256 checksum How to use checksums |
694b2fc9f6fc680ca6ebb593c008e0b8d9d3742dc9ce5d6066188950c2c18b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / rt_prob_e-0.1.0-py3-none-any.whl
| Download URL | rt_prob_e-0.1.0-py3-none-any.whl |
|---|---|
| Size | 83.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cab6394baadb9719fb5bf9a5aebda41df65d4548b3d98a3f22a5f8fbfcb6077e
|
|
BLAKE2b-256 checksum How to use checksums |
7ba394707bf893ad2ba88fcc1a13ac53b30748a02b17cc44d081be45e2b0b4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|