OPT Tumour Models

Maintenance mode

Scripts to fit polynomial tumour models for ocular proton therapy planning from 3D tumour delineations.

Required Python versions

About

OPT Tumour Models provides Python scripts to generate polynomial tumour models, as commonly used in ocular proton therapy planning, from 3D tumour delineations. Starting from a delineated tumour contour, the tumour base and thickness are extracted automatically, after which the optimal shape-factor of the parametric height model is determined. The resulting geometric model can be compared back to the original delineation to evaluate how well it represents the true tumour shape.

The repository also includes a worked example notebook that generates tumour models with different shape factors for an example delineation, together with scripts to produce variations of the standard model with added thickness or an expanded tumour base. The method and its validation are described in a manuscript by Klaassen, Rasch and Beenakker that is currently under review; we will link the publication here once it is available.

Main Contributors

Lisa Klaassen @crnh @jwmbeenakker

Technical Details

License
MIT
Last updated
Mar 10, 2026
Requires Python
>=3.12

Dependencies