Concepts#
This section explains the main building blocks of a pyRadPlan treatment planning workflow. Each concept corresponds to one or more Python classes and to one step in the workflow shown in Quickstart: The first minimal treatment plan.
Concepts:
Workflow at a glance
load_patient() → CT + StructureSet (patient_data)
IonPlan / PhotonPlan → Plan (plan)
generate_stf() → SteeringInformation (steering)
calc_dose_influence() → Dij (dose_calculation)
fluence_optimization() → fluence array (optimization)
dij.compute_result_*() → dose result dict (quantities)
plot_slice() → figure (visualization)
# optional AI-assisted steps
ai_agents.generate_beam_angles() → Plan with gantry angles (ai_agents)
ai_agents.generate_voi_objectives() → StructureSet with objectives