pyRadPlan-dosecalc
Collection
Carries different architectures (Bayes, deterministic) for dose or LET calculation. • 3 items • Updated
Deterministic proton dose predictor (ConvBayes_new architecture, single forward pass). Given a CT cuboid and a bixel energy, predicts a local physical dose cuboid.
Loadable via pyRadPlan.ml.load_model and usable directly as the AIBeamletEngine dose-calculation engine in pyRadPlan:
pln.prop_dose_calc = {"engine": "AIBeamlet", "model": "pyRadPlan-dosecalc-Det-proton-lung"}
Follows the pyRadPlan ML model contract (pyRadPlan.ml):
| File | Purpose |
|---|---|
model.py |
ConvBayes_new network definition |
preprocessor.py |
ConvDoseSinglePreprocessor — input assembly + forward pass + output scaling |
weights.safetensors |
Trained weights |
model_config.json |
Declarative model/preprocessing/dose-calc configuration |
physical_dose — predicted physical dosePredictions outside this range are not guaranteed to be accurate; AIBeamletEngine warns when the plan falls outside the declared range.
Security note: loading this model executes
model.py/preprocessor.pyshipped in this repository (gated behindtrust_remote_code, defaultTrueinpyRadPlan.ml).