API Reference#
Every module, class and function, generated from the docstrings. For how they fit together, see Architecture.
Running an analysis#
Run an analysis on every patient in the cohort. |
|
Maintain the logs of an analysis. |
|
Email the user when a run finishes, through the machine's own mail system (sendmail). |
Settings and data#
Create, read, or modify analysis.yaml, which contains the user configurations for an analysis. |
|
Defines Validate's data structure, "DataCapsule", created per analysis. |
|
Cohort discovery, importing data and analysis settings to DataCapsule |
|
Build one PatientRecord per patient and attach them to a DataCapsule. |
Segmentation and modelling#
Registry mapping a required structure to the auto-segmentation method. |
|
Batch auto-segmentation pipeline. |
|
Maintain a log of installed cerr.ai_models models to avoid re-installing. |
|
Apply a cerr.roe dosimetric model to a single patient dataset/pre-computed predictors. |
GUI#
Main window: the shared settings (data folder, plan info, dosimetric model, analysis folder) above the Segment, Model and Review tabs. |
|
Segment tab: run the AI models the dosimetric model's structures are derived from (installing them first if needed). |
|
Model tab: derive the structures the dosimetric model needs (or use existing ones), then compute NTCP for every patient, and export the per-patient predictions to CSV. |
|
Review Performance tab: placeholder. |
|
Shared functionalities of the Segment and Model tabs: Run, Stop, Log, progress, and the checks made before a run. |
|
Background threads (ensures installing AI models, running segmentation and evaluating dosimetric models never blocks the GUI thread. |
|
Dark theme, with an accent color nodding to CERR ROE's teal (cerr/CERR_core/PlanAnalysis/ROE.m: figColor [.6 .75 .75]). |