validate.gui.model_tab#

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.

Classes

ModelTab(*args, **kwargs)

Derive or select each structure the model needs, then compute NTCP.

class validate.gui.model_tab.ModelTab(*args, **kwargs)[source]#

Bases: ManageRun

Derive or select each structure the model needs, then compute NTCP.

TAB = 'model'#
RESULTS_LABEL = 'NTCP results'#
setModel(modelFile, structureSettings=None)[source]#

One row per structure the model needs: “Use existing: [name]” or “Derive” (only where a recipe is registered). structureSettings: the settings’ structures section; without an entry, Derive is chosen.

setFromPredictors(fromPredictors)[source]#

Gray out the structures when starting from pre-computed predictors (the dose metrics come from the predictors CSV).

predictorsCsv()[source]#
loadSettings(settings)[source]#
settingsPart()[source]#

This tab’s part of analysis.yaml: the predictor values CSV and structures.