
pyROT
Actively maintainedPython RayOcular Tools: a Python library that complements RayOcular, the eye-specific module of RaySearch's RayStation, for ocular proton therapy planning.

About
pyROT (Python RayOcular Tools) is a Python toolkit for ocular proton therapy treatment planning: it determines the best-fitting patient-specific eye model from a patient’s biometry, using vendor-agnostic Python code, and provides scripts to apply these models directly within RayStation, RaySearch’s treatment planning system, through its eye-specific RayOcular module. The project also aims to provide a platform to exchange methods and scripts within the ocular proton therapy community.
pyROT contains a Python package that performs all fitting and model calculations and is actively used in research workflows. Most of the codebase is vendor agnostic; interactions with RayOcular and RayStation are isolated in the RO_connect module. In addition, pyROT includes a set of scripts that run these functions directly from within RayStation, and is currently validated for RayStation 2023. The fitting methods are described in a paper that is currently under review, and the toolbox is already being used in multiple treatment-planning studies currently in preparation.