pyRadPlan 0.7.0__tar.gz → 0.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitattributes +1 -1
- pyradplan-0.9.0/.github/workflows/container.yml +104 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/workflows/installers.yml +5 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitlab-ci.yml +12 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/AGENTS.md +14 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/CHANGELOG.md +78 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/CITATION.cff +6 -2
- {pyradplan-0.7.0/pyRadPlan.egg-info → pyradplan-0.9.0}/PKG-INFO +28 -27
- pyradplan-0.9.0/benchmark/.gitignore +4 -0
- pyradplan-0.9.0/benchmark/benchmark_dose_revisions.py +167 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/benchmark/benchmark_interpnd.py +50 -0
- pyradplan-0.9.0/benchmark/profile_resample_dispatch.py +95 -0
- pyradplan-0.9.0/benchmark/profile_shared_grid_interpolation.py +79 -0
- pyradplan-0.9.0/docs/api/core.rst +203 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/conf.py +1 -0
- pyradplan-0.9.0/docs/development/dose_performance.md +138 -0
- pyradplan-0.9.0/docs/tutorials/examples/intro_minimal_photons.ipynb +95 -0
- pyradplan-0.9.0/docs/tutorials/examples/intro_minimal_protons.ipynb +95 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_carbon.ipynb +205 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_helium.ipynb +193 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_oxygen.ipynb +216 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_oxygen_MKM.ipynb +228 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_photon.ipynb +189 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/tutorials/examples/pencilbeam_photon_forward.ipynb +1 -1
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_proton.ipynb +185 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_proton_let.ipynb +213 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_proton_varRBE.ipynb +195 -0
- pyradplan-0.9.0/docs/tutorials/examples/pencilbeam_vhee.ipynb +221 -0
- pyradplan-0.9.0/docs/tutorials/examples/plan_analysis.ipynb +303 -0
- pyradplan-0.9.0/docs/tutorials/examples/proton_mimicking.ipynb +234 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/tutorials/examples/raytracer_rad_depth.ipynb +1 -1
- pyradplan-0.9.0/docs/tutorials/examples/utils_backends.ipynb +307 -0
- pyradplan-0.9.0/docs/tutorials/examples/utils_optimization.ipynb +346 -0
- pyradplan-0.9.0/docs/tutorials/examples/utils_plotting.ipynb +375 -0
- pyradplan-0.9.0/packaging/briefcase/.gitignore +6 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/README.md +19 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/pyproject.toml +3 -2
- pyradplan-0.9.0/packaging/briefcase/scripts/fetch_matrad_phantoms.py +140 -0
- pyradplan-0.9.0/packaging/briefcase/src/pyradplan_app/app.py +30 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/tests/pyradplan_app/__main__.py +34 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/container/Dockerfile +13 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/container/Dockerfile.dockerignore +1 -0
- pyradplan-0.9.0/packaging/container/Dockerfile.hub +30 -0
- pyradplan-0.9.0/packaging/container/README.md +159 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/container/compose.yaml +2 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/container/entrypoint.sh +24 -3
- pyradplan-0.9.0/packaging/container/hub-session.sh +35 -0
- pyradplan-0.9.0/packaging/container/jupyterhub-values.yaml +134 -0
- pyradplan-0.9.0/packaging/container/make_hub_users.py +65 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/container/smoke_test.sh +16 -5
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/__init__.py +27 -1
- pyradplan-0.9.0/pyRadPlan/core/resample.py +411 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/xp_utils/__init__.py +7 -0
- pyradplan-0.9.0/pyRadPlan/core/xp_utils/_image_interpolation.py +73 -0
- pyradplan-0.9.0/pyRadPlan/core/xp_utils/_interpolation.py +353 -0
- pyradplan-0.9.0/pyRadPlan/core/xp_utils/_interpolation1d.py +150 -0
- pyradplan-0.9.0/pyRadPlan/core/xp_utils/_reductions.py +78 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/xp_utils/compat.py +1 -221
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/cst/_cst.py +153 -45
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/cst/_voi.py +31 -10
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dij/_dij.py +6 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_base.py +76 -64
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_base_pencilbeam.py +282 -287
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_base_pencilbeam_particle.py +110 -126
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_hongpb.py +59 -27
- pyradplan-0.9.0/pyRadPlan/dose/engines/_particle_cutoff.py +227 -0
- pyradplan-0.9.0/pyRadPlan/dose/engines/_sparse_output.py +30 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_svdpb.py +207 -85
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/menus/_base_data.py +1 -1
- pyradplan-0.9.0/pyRadPlan/gui/menus/_view.py +240 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_analysis_widget.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_base.py +60 -5
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_display_names.py +24 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/analysis/_gamma.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/optimization/_optimization_widget.py +26 -12
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/plan/_optimization_dialog.py +9 -7
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/plan/_plan_widget.py +95 -40
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/quantity_widget.py +234 -63
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/viewer_options_widget.py +3 -3
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/visualization_widget.py +3 -3
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/vois_widget.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/workflow/_binary_import_dialog.py +3 -3
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/workflow/_workflow_widget.py +9 -24
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/windows/_main_win.py +8 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/windows/_result_win.py +2 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/photons/_calculate_machine_scale.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/photons/_svd_kernel.py +25 -3
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_objective.py +95 -9
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_squared_over.py +7 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_squared_under.py +7 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/problems/_nonlin_fluence.py +26 -14
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/problems/_optiprob.py +47 -18
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_base.py +4 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_composite_worst_case.py +1 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_expected_quantity.py +1 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_expected_value.py +1 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_none.py +1 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_objective_worst_case.py +1 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_voxel_worst_case.py +2 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/solvers/_base_solvers.py +12 -8
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/solvers/_ipax_solver.py +2 -6
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/solvers/_ipopt.py +10 -6
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/solvers/_scipy_solver.py +28 -19
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_base.py +8 -7
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_let.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/raytracer/_base.py +96 -26
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_importance.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_random.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_set.py +7 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_worst_case.py +1 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/util/helpers.py +4 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0/pyRadPlan.egg-info}/PKG-INFO +28 -27
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan.egg-info/SOURCES.txt +33 -0
- pyradplan-0.9.0/pyRadPlan.egg-info/requires.txt +64 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyproject.toml +29 -26
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/conftest.py +33 -0
- pyradplan-0.9.0/test/core/test_array_resample.py +141 -0
- pyradplan-0.9.0/test/core/test_resample_array_api.py +187 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/compat/test_backend_consistency.py +1 -1
- pyradplan-0.9.0/test/core/xp_utils/test_interpolation.py +258 -0
- pyradplan-0.9.0/test/core/xp_utils/test_interpolation1d.py +88 -0
- pyradplan-0.9.0/test/core/xp_utils/test_reductions.py +85 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/cst/test_VOI.py +34 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/cst/test_cst.py +226 -8
- pyradplan-0.9.0/test/data/photons_testData.mat +0 -0
- pyradplan-0.9.0/test/dose/test_depth_preparation.py +87 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_hongpb_bio.py +1 -0
- pyradplan-0.9.0/test/dose/test_particle_cutoff.py +369 -0
- pyradplan-0.9.0/test/dose/test_particle_indexing.py +89 -0
- pyradplan-0.9.0/test/dose/test_particle_interpolators.py +188 -0
- pyradplan-0.9.0/test/dose/test_ray_geometry_preparation.py +295 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_scenarios_pencilbeam.py +48 -3
- pyradplan-0.9.0/test/dose/test_sparse_output.py +157 -0
- pyradplan-0.9.0/test/dose/test_svdpb.py +344 -0
- pyradplan-0.9.0/test/dose/test_svdpb_bixel.py +121 -0
- pyradplan-0.9.0/test/dose/test_svdpb_interpolators.py +54 -0
- pyradplan-0.9.0/test/dose/test_svdpb_sampling.py +87 -0
- pyradplan-0.9.0/test/dose/test_voxel_preparation.py +166 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/conftest.py +10 -8
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/optimization/test_widget_optimization.py +26 -6
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/plan/test_widget_plan.py +119 -36
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/result/test_widget_quantity.py +150 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/test_base.py +7 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/test_widget_result.py +3 -3
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/workflow/test_widget_workflow.py +11 -7
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/windows/test_win_main.py +150 -4
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_fluence_optiprob.py +53 -8
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_ipax_solver.py +14 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_ipopt_solver.py +70 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_objectives.py +80 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_robust_fluence_optiprob.py +57 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_scipy_solver.py +48 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_solver_factory.py +38 -1
- pyradplan-0.9.0/test/packaging/test_jupyterhub_users.py +79 -0
- pyradplan-0.9.0/test/packaging/test_matrad_phantoms.py +112 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_alpha_dose_quantity.py +2 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_dose_quantity.py +2 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_effect_quantity.py +2 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_let_dose_quantity.py +2 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_multi_scenario_quantities.py +55 -1
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_rbe_x_dose_quantity.py +4 -4
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_sqrt_beta_dose_quantity.py +2 -2
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_dij.py +16 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_lazy_imports.py +41 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_raytracersiddon.py +113 -3
- pyradplan-0.7.0/.github/workflows/container.yml +0 -75
- pyradplan-0.7.0/docs/api/core.rst +0 -135
- pyradplan-0.7.0/docs/tutorials/examples/intro_minimal_photons.ipynb +0 -95
- pyradplan-0.7.0/docs/tutorials/examples/intro_minimal_protons.ipynb +0 -95
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_carbon.ipynb +0 -205
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_helium.ipynb +0 -193
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_oxygen.ipynb +0 -216
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_oxygen_MKM.ipynb +0 -228
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_photon.ipynb +0 -189
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_proton.ipynb +0 -185
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_proton_let.ipynb +0 -213
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_proton_varRBE.ipynb +0 -195
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_vhee.ipynb +0 -221
- pyradplan-0.7.0/docs/tutorials/examples/plan_analysis.ipynb +0 -303
- pyradplan-0.7.0/docs/tutorials/examples/proton_mimicking.ipynb +0 -234
- pyradplan-0.7.0/docs/tutorials/examples/utils_backends.ipynb +0 -307
- pyradplan-0.7.0/docs/tutorials/examples/utils_optimization.ipynb +0 -346
- pyradplan-0.7.0/docs/tutorials/examples/utils_plotting.ipynb +0 -375
- pyradplan-0.7.0/packaging/briefcase/.gitignore +0 -4
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/app.py +0 -15
- pyradplan-0.7.0/packaging/container/README.md +0 -90
- pyradplan-0.7.0/pyRadPlan/core/resample.py +0 -158
- pyradplan-0.7.0/pyRadPlan/gui/menus/_view.py +0 -53
- pyradplan-0.7.0/pyRadPlan.egg-info/requires.txt +0 -63
- pyradplan-0.7.0/test/data/photons_testData.mat +0 -0
- pyradplan-0.7.0/test/dose/test_svdpb.py +0 -94
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.env.example +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/PULL_REQUEST_TEMPLATE/release.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/dependabot.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/workflows/copyright.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/workflows/mirror.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/workflows/publish.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/workflows/release.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.github/workflows/tests.yml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitignore +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitlab/issue_templates/Bug Report.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitlab/issue_templates/Feature Request.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitlab/merge_request_templates/Default.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitlab/scripts/codespell_to_codequality.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.gitmodules +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.pre-commit-config.yaml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/.readthedocs.yaml +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/CLAUDE.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/CONTRIBUTING.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/LICENSE +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/README.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/benchmark/benchmark_interp1d.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/benchmark/benchmark_solvers.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/benchmark/benchmark_trace_cubes.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/benchmark/profile_pencilbeam_photon_forward_lineprof.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/css/custom.css +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/android-chrome-192x192.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/android-chrome-512x512.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/apple-touch-icon.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/favicon-16x16.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/favicon-32x32.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/favicon.ico +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/favicon/site.webmanifest +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/logos/dkfz_logo_blue.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/logos/dkfz_logo_white.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/logos/pyradplan_logo_full_landscape.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_static/logos/pyradplan_logo_skull_square.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_templates/autosummary/class.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_templates/autosummary/function.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_templates/autosummary/module.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/_templates/layout.html +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/ai.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/ai_agents.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/ai_modelhub.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/analysis.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/biology.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/biology_models.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/biology_tissues.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/cst.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/ct.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/dij.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/dose.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/dose_engines.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/geometry.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/io.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/machines.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/machines_particles.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/machines_photons.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/optimization.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/optimization_objectives.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/optimization_problems.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/optimization_robustness.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/optimization_solvers.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/pln.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/quantities.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/raytracer.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/scenarios.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/settings.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/stf.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/stf_generators.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/api/util.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/development/bio_model_formalisms.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/development/dynamic_dij_quantities.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/development/optimization_quantity_api.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/development/robust_optimization.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/development/scenario_models.md +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/execute_examples.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/help/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/installation/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/release_notes/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/requirements.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/tutorials/examples/utils_io.ipynb +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/tutorials/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/ai_agents.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/ai_modelhub.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/biological_base_data.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/biological_models.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/dose_calculation.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/optimization.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/patient_data.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/plan.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/quantities.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/steering.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/uncertainty.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/concepts/visualization.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/index.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/introduction.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/docs/user_guide/quickstart.rst +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/gui_main_window.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/gui_planning_widgets.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/gui_workflow_widget.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/intro_minimal_photons.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/intro_minimal_protons.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/mc_fred.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/mc_topas.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_carbon.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_helium.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_oxygen.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_oxygen_MKM.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_photon.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_photon_forward.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_proton.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_proton_let.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_proton_varRBE.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/pencilbeam_vhee.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/plan_analysis.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/proton_mimicking.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/raytracer_rad_depth.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_ai_agents.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_ai_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_backends.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_io.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_matrad.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_optimization.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/examples/utils_plotting.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/scripts/collect_licenses.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/scripts/make_icons.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/scripts/run_briefcase.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/scripts/sync_version.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/__main__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/installer-banner.bmp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/installer-dialog.bmp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-1024.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-128.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-16.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-256.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-32.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-512.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan-64.png +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan.icns +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/src/pyradplan_app/resources/pyradplan.ico +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/tests/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/packaging/briefcase/tests/pyradplan_app/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/_lazy.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/_settings.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/agents/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/agents/_cst_agents.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/agents/_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/agents/_plan_agents.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/agents/_settings.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/agents/_usage.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/modelhub/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/modelhub/_load_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/modelhub/_preprocessor.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/modelhub/_registry.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/modelhub/_resolve.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ai/modelhub/_settings.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/analysis/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/analysis/_dvh.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/analysis/_dvh_plot.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/analysis/_qi.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/analysis/_units.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_engine.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_evaluator.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_influence.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_kernel_sets.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_models/const_rbe.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_models/kernel_based_lq_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_models/let_based_lq_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_models/lq_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_models/tabulated_rbe_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_models/zstar_based_lq_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_options.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_resolution.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/models/_tissue_lookup.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/_conversion.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/_presets.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/_provenance.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/_reference.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/biology/tissues/_sources.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_base_data.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_configurable.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_exceptions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_grids.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_paths.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_progress.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/_units.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/datamodel.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/np2sitk.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/xp_utils/_backends.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/xp_utils/helpers.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/xp_utils/jittable.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/core/xp_utils/typing.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/cst/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ct/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ct/_ct.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/ct/_hlut.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/ai_models/model_config.template.json +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/VHEE_Focused.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/VHEE_Generic.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/carbon_Generic.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/helium_Generic.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/oxygen_Generic.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/photons_Generic.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/machines/protons_Generic.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/phantoms/TG119.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/physics/stopping/SPtable.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/rbe/RBEtable_LEMI_Scholz06_AX01_BX005.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/beam_setup/TOPAS_beam_setup_biGaussian.txt.in +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/material_converter/TOPAS_schneider_converter.txt.in +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/scorer/TOPAS_scorer_doseToMedium.txt.in +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/scorer/TOPAS_scorer_doseToWater.txt.in +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/scorer/TOPAS_subscorer_LET.txt.in +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/template/beamSetup_template.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/template/patient_template.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/data/topas/input/template/pyRadPlan_run_template.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dij/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dij/_compose_beam_dijs.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/_calc_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_base_montecarlo.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_fredmc.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/_topasmc.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/kernels/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/dose/engines/kernels/_calc_geo_dists_kernel.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/geometry/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/geometry/lps.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/apps.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/assets/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/assets/logos/dkfz_logo_blue.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/assets/logos/dkfz_logo_white.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/assets/logos/pyradplan_logo_full_landscape.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/assets/logos/pyradplan_logo_skull_square.svg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/menus/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/menus/_edit.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/menus/_file.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/menus/_help.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/menus/_settings.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_config_form.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_info_widget.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_log_console.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_logo_widget.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_plot_theme.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_quantity_selector.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_result_widget.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_tissue_params.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/_ui_mode.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/ai/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/ai/_ai_task_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/analysis/_dvh.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/analysis/_qi.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/analysis/_qi_point_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/optimization/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/optimization/_status_window.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/plan/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/plan/_tissue_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/_labels.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/_orientation_marker.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/result/_save_result_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/workflow/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/workflow/_dicom_import_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/widgets/workflow/_image_import_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/windows/_analysis_win.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/windows/_splash_win.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/gui/workspace.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/.gitkeep +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/_helpers.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/_load_save.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/base/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/base/_exporter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/base/_importer.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_export_common.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_export_cst.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_export_ct.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_export_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_export_seg.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_exporter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_handler.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_helpers.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_import_cst.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_import_ct.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_import_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/dicom/_importer.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/matlab/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/matlab/_exporter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/matlab/_handler.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/matlab/_importer.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/matlab/_matfile.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/npz/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/npz/_exporter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/npz/_handler.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/npz/_importer.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/npz/_serialize.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/pickle/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/pickle/_exporter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/pickle/_handler.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/pickle/_importer.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/_binary_import.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/base/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/base/_exporter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/base/_importer.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/base/_serialize.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/meta_image/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/nifti/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/io/sitk_based/nrrd/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/_load.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/_validate.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/base/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/base/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/base/_beam_modifier.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/base/_external_beam.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/base/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/base/_internal_beam.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_beam_cutoff.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_beam_emittance.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_beam_energy.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_beam_focus.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_beam_fragment_spectrum.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_ions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/_vhee.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/kernel/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/kernel/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/kernel/_ions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/particles/kernel/_vhee.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/photons/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/photons/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/machines/photons/_linac.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/matRad/.gitkeep +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/matRad/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/matRad/_engine.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/matRad/_matlab.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/matRad/_octave.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/_fluence_optimization.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_eud.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_max_dvh.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_mean.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_min_dvh.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_squared_dev.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_squared_mimicking.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_std.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/objectives/_variance.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/problems/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/problems/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/problems/_simple_least_squares.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_smooth_max.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_terms.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/robustness/_utils.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/solvers/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/optimization/solvers/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/plan/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/plan/_plans.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_alpha_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_effect.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_let_x_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_rbe_x_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_resolver.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/quantities/_sqrt_beta_dose.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/raytracer/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/raytracer/_kernels.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/raytracer/_kernels_numba.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/raytracer/_siddon.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_dimensions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_distributions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_explicit.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_gridded.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_legacy.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/scenarios/_nominal.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_beam.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_beamlet.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_exceptions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_generate_stf.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_presets.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_rangeshifter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_ray.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/_steeringinformation.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/_externalbeam.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/_ions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/_photons.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/generators/_vhee.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/stf/hlutLibrary/matRad_default.hlut +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/util/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/util/_jupyter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/util/keyboard_listener.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/util/logging_utils.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/util/openmp.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/visualization/__init__.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/visualization/_plot_multiple_slices.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan/visualization/_plot_slice.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan.egg-info/dependency_links.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan.egg-info/entry_points.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/pyRadPlan.egg-info/top_level.txt +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/setup.cfg +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/agents/test_cst_agents.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/agents/test_lazy_import.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/agents/test_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/agents/test_plan_agents.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/agents/test_usage.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/modelhub/conftest.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/modelhub/test_load_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/modelhub/test_loader_machinery.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/modelhub/test_preprocessor.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/modelhub/test_registry.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ai/modelhub/test_resolve.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/analysis/test_dvh.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/analysis/test_dvh_plot.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/analysis/test_qi.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/analysis/test_units.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_bio_model_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_check_tissues.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_const_rbe_bio_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_custom_model_extension.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_empty_bio_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_engine_capability.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_evaluator.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_formalism_resolution.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_fragment_species_selection.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_gpu_backend.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_influence.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_kernel_bio_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_kernel_let_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_reference_parameter_domain.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_tabulated_kernel_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_tissue_lookup.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_tissue_quick_fixes.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/models/test_zstar_bio_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/tissues/test_tissue_properties.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/biology/tissues/test_tissue_reference_parameters.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_base_data.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_configurable.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_coordinates.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_datamodel.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_np2sitk.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_paths.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_progress.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_resample.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/test_unit_registry.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/compat/test_interp1d_torch.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/compat/test_interpnd.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/compat/test_math_interp1d.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/compat/test_math_quantile.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/helpers/test_device_parsing.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/helpers/test_namespace_conversion.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/helpers/test_openblas_warning.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/helpers/test_scatter.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/test_backends.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/core/xp_utils/test_initialization.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/cst/conftest.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/cst/test_cst_4d_ct.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ct/test_ct.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/ct/test_hlut.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/ai_models/dummy_model/model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/ai_models/dummy_model/model_config.json +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/ai_models/dummy_model/preprocessor.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/ai_models/dummy_model/weights.safetensors +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/carbon_testData.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_10_physicalDose_beam4.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_1_LET.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_2_LET_beam1.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_3_LET_beam2.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_4_LET_beam3.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_5_LET_beam4.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_6_physicalDose.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_7_physicalDose_beam1.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_8_physicalDose_beam2.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTDose_9_physicalDose_beam3.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/RTstruct.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_1.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_10.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_2.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_3.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_4.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_5.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_6.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_7.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_8.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/ct_slice_9.dcm +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/dicom/dicom_testData.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/helium_testData.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/fred.inp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/plan/plan.inp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/plan/planDelivery.inp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/regions/CTpatient.mhd +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/regions/CTpatient.raw +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/regions/hLut.inp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/inp/regions/regions.inp +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/out/score/Phantom.Dose.mhd +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/mc_fred/out/scoreij/Phantom.Dose.bin +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/meta_image/cst.mha +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/meta_image/ct.mha +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/nifti/cst.nii +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/nifti/cst.nii.gz +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/nifti/ct.nii +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/nifti/ct.nii.gz +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/nrrd/cst.nrrd +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/nrrd/ct.nrrd +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/oxygen_testData.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/protons_testData.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/generate_matrad_fixtures.m +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_all_cr0_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_all_cr0_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_all_cr1_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_all_cr1_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_custom_all.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_default_none.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_default_shift.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_even_shift.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_none_cr0_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_none_cr0_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_none_cr1_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_none_cr1_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_odd7_none.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_shift_cr0_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_shift_cr0_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_shift_cr1_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/impScen_shift_cr1_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/rndScen_structure.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_all_cr0_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_all_cr0_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_all_cr1_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_all_cr1_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_custom_shift.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_none_cr0_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_none_cr0_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_none_cr1_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_none_cr1_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_one_setup_point.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_shift_cr0_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_shift_cr0_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_shift_cr1_ct1.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/scenarios/wcScen_shift_cr1_ct2.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/stf/stf_test_data_n_beams.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/stf/stf_test_data_one_beam.mat +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/data/test_validate_test_data.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/conftest.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/kernels/test_calc_geo_dists.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_base_pencilbeam.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_bio_tissue_check.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_default_bio_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_dose_engine_base.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_engine_reuse.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_fred.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_fred_bio.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_hongpb.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_particle_lateral_cutoff.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_pb_geodist.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_svdpb_bio.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/dose/test_topas.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/geometry/test_lps.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/test_apps.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/test_gui_disabled.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/test_help_menu.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/test_workspace.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/ai/test_ai_task_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/analysis/test_widget_analysis.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/analysis/test_widget_dvh.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/analysis/test_widget_gamma.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/analysis/test_widget_qi.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/optimization/test_status_window.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/plan/test_optimization_dialog.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/result/test_widget_viewer_options.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/result/test_widget_visualization.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/result/test_widget_vois.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/test_config_form.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/test_display_names.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/test_plot_theme.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/widgets/workflow/test_import_dialogs.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/windows/test_win_analysis.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/windows/test_win_result.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/gui/windows/test_win_splash.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/conftest.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_binary_import.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_dicom.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_frontend.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_matlab.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_npz.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_pickle.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/io/test_io_sitk.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_beam_focus.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_beam_modifiers.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_bundled_base_data.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_energy_spectrum.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_kernel_sets.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_particle_kernel.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/machines/test_user_machines.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/conftest.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/robustness/conftest.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/robustness/test_robustness_contract.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/robustness/test_robustness_operators.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/robustness/test_smooth_max.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/robustness/test_variance_objective.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_dose_convention.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_ipopt_output.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_obj_history.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_opt_info.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/optimization/test_problem_factory.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/packaging/test_briefcase.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/packaging/test_container.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_let_quantity.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/quantities/test_resolver.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/scenarios/test_scenario_dimensions.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/scenarios/test_scenario_gridded.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/scenarios/test_scenario_models.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/scenarios/test_scenario_random.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/scenarios/test_scenario_set.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/stf/test_beam_angle_presets.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/stf/test_beamlet.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/stf/test_stf.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/stf/test_stf_gen.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_dij_scenarios.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_grid.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_helpers.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_keyboard_listener.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_logging_utils.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_machine_model.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_matlabEngine.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_matrad_octave.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_octaveEngine.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_openmp.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_plan.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_raytracer_kernels.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_scenarios.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/test_settings.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/visualization/test_plot_multiple_slices.py +0 -0
- {pyradplan-0.7.0 → pyradplan-0.9.0}/test/visualization/test_plot_slice.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# Files that run inside Linux containers keep their LF line endings in Windows checkouts
|
|
2
2
|
# (core.autocrlf), where a CRLF would break the script's interpreter line.
|
|
3
|
-
packaging/container/Dockerfile text eol=lf
|
|
3
|
+
packaging/container/Dockerfile* text eol=lf
|
|
4
4
|
packaging/container/*.sh text eol=lf
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
name: Container
|
|
2
|
+
|
|
3
|
+
# Builds the images of packaging/container (the pyRadPlan GUI in a web browser, and on top of
|
|
4
|
+
# it the JupyterHub session image, see its README) and checks both with
|
|
5
|
+
# packaging/container/smoke_test.sh, which the GitLab pipeline runs as well. For a v* tag the
|
|
6
|
+
# tested images are published to the GitHub Container Registry as
|
|
7
|
+
# ghcr.io/<owner>/pyradplan-web:<version> and ghcr.io/<owner>/pyradplan-hub:<version>, and
|
|
8
|
+
# as :latest unless the version is a pre-release.
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches:
|
|
13
|
+
- main
|
|
14
|
+
- 'rc/**'
|
|
15
|
+
- 'devops/**'
|
|
16
|
+
tags:
|
|
17
|
+
- 'v*'
|
|
18
|
+
paths: &paths
|
|
19
|
+
- 'pyRadPlan/**'
|
|
20
|
+
- 'pyproject.toml'
|
|
21
|
+
- 'packaging/container/**'
|
|
22
|
+
- 'packaging/briefcase/scripts/collect_licenses.py'
|
|
23
|
+
- '.github/workflows/container.yml'
|
|
24
|
+
pull_request:
|
|
25
|
+
branches:
|
|
26
|
+
- main
|
|
27
|
+
paths: *paths
|
|
28
|
+
workflow_dispatch:
|
|
29
|
+
|
|
30
|
+
concurrency:
|
|
31
|
+
group: container-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || github.ref }}
|
|
32
|
+
cancel-in-progress: ${{ github.ref_type != 'tag' && github.ref != 'refs/heads/main' }}
|
|
33
|
+
|
|
34
|
+
jobs:
|
|
35
|
+
build:
|
|
36
|
+
runs-on: ubuntu-24.04
|
|
37
|
+
timeout-minutes: 45
|
|
38
|
+
permissions:
|
|
39
|
+
contents: read
|
|
40
|
+
packages: write # for publishing; the token of a pull request from a fork is read-only anyway
|
|
41
|
+
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/checkout@v7
|
|
44
|
+
|
|
45
|
+
- name: Build the image
|
|
46
|
+
env:
|
|
47
|
+
VERSION: ${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
|
|
48
|
+
run: |
|
|
49
|
+
docker build -f packaging/container/Dockerfile \
|
|
50
|
+
--build-arg VERSION="$VERSION" --build-arg REVISION="$GITHUB_SHA" \
|
|
51
|
+
-t pyradplan-web .
|
|
52
|
+
|
|
53
|
+
- name: Phantoms of matRad in the image
|
|
54
|
+
run: |
|
|
55
|
+
docker run --rm --entrypoint python3 pyradplan-web -c \
|
|
56
|
+
"from pyRadPlan.io import available_phantoms; names = available_phantoms(); print(names); assert {'BOXPHANTOM', 'HEAD_AND_NECK', 'LIVER', 'PROSTATE'} <= set(names)"
|
|
57
|
+
|
|
58
|
+
- name: Start a session
|
|
59
|
+
run: docker run -d --name web -e XPRA_PASSWORD=ci-test pyradplan-web
|
|
60
|
+
|
|
61
|
+
- name: Smoke test
|
|
62
|
+
run: sh packaging/container/smoke_test.sh web
|
|
63
|
+
|
|
64
|
+
- name: Container log
|
|
65
|
+
if: always()
|
|
66
|
+
run: docker logs web || true
|
|
67
|
+
|
|
68
|
+
- name: Build the JupyterHub image
|
|
69
|
+
env:
|
|
70
|
+
VERSION: ${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
|
|
71
|
+
run: |
|
|
72
|
+
docker build -f packaging/container/Dockerfile.hub \
|
|
73
|
+
--build-arg BASE_IMAGE=pyradplan-web \
|
|
74
|
+
--build-arg VERSION="$VERSION" --build-arg REVISION="$GITHUB_SHA" \
|
|
75
|
+
-t pyradplan-hub packaging/container
|
|
76
|
+
|
|
77
|
+
- name: Start a JupyterHub session without a hub
|
|
78
|
+
run: docker run -d --name hub pyradplan-hub hub-session.sh --no-authentication --port=8888
|
|
79
|
+
|
|
80
|
+
- name: Smoke test of the JupyterHub image
|
|
81
|
+
env:
|
|
82
|
+
SMOKE_URL: http://localhost:8888/
|
|
83
|
+
run: sh packaging/container/smoke_test.sh hub
|
|
84
|
+
|
|
85
|
+
- name: JupyterHub session log
|
|
86
|
+
if: always()
|
|
87
|
+
run: docker logs hub || true
|
|
88
|
+
|
|
89
|
+
- name: Publish to the GitHub Container Registry
|
|
90
|
+
if: github.ref_type == 'tag'
|
|
91
|
+
env:
|
|
92
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
93
|
+
run: |
|
|
94
|
+
registry="ghcr.io/$(echo "$GITHUB_REPOSITORY_OWNER" | tr '[:upper:]' '[:lower:]')"
|
|
95
|
+
version="${GITHUB_REF_NAME#v}"
|
|
96
|
+
echo "$GH_TOKEN" | docker login ghcr.io -u "$GITHUB_ACTOR" --password-stdin
|
|
97
|
+
for name in pyradplan-web pyradplan-hub; do
|
|
98
|
+
docker tag "$name" "$registry/$name:$version"
|
|
99
|
+
docker push "$registry/$name:$version"
|
|
100
|
+
if echo "$version" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
|
|
101
|
+
docker tag "$name" "$registry/$name:latest"
|
|
102
|
+
docker push "$registry/$name:latest"
|
|
103
|
+
fi
|
|
104
|
+
done
|
|
@@ -136,6 +136,11 @@ jobs:
|
|
|
136
136
|
- name: Sync the app version and changelog with pyRadPlan
|
|
137
137
|
run: python packaging/briefcase/scripts/sync_version.py
|
|
138
138
|
|
|
139
|
+
# Into the app's sources, which Briefcase copies into the bundle (pyradplan_app/app.py).
|
|
140
|
+
- name: Download the phantoms of matRad
|
|
141
|
+
working-directory: packaging/briefcase
|
|
142
|
+
run: python scripts/fetch_matrad_phantoms.py src/pyradplan_app/data
|
|
143
|
+
|
|
139
144
|
- name: Create the app scaffold
|
|
140
145
|
working-directory: packaging/briefcase
|
|
141
146
|
run: python scripts/run_briefcase.py create ${{ matrix.platform }} ${{ matrix.format }} --no-input
|
|
@@ -223,6 +223,7 @@ installer-linux:
|
|
|
223
223
|
- export PATH=/opt/briefcase-venv/bin:$PATH
|
|
224
224
|
- python packaging/briefcase/scripts/sync_version.py
|
|
225
225
|
- cd packaging/briefcase
|
|
226
|
+
- python scripts/fetch_matrad_phantoms.py src/pyradplan_app/data
|
|
226
227
|
- python scripts/run_briefcase.py create linux system --no-input
|
|
227
228
|
- python scripts/run_briefcase.py build linux system --no-input
|
|
228
229
|
- python scripts/run_briefcase.py run linux system --test --no-input
|
|
@@ -261,10 +262,21 @@ container:
|
|
|
261
262
|
--build-arg VERSION="$CI_COMMIT_SHORT_SHA"
|
|
262
263
|
--build-arg REVISION="$CI_COMMIT_SHA" --build-arg SOURCE="$CI_PROJECT_URL"
|
|
263
264
|
-t pyradplan-web .
|
|
265
|
+
- >
|
|
266
|
+
docker run --rm --entrypoint python3 pyradplan-web -c
|
|
267
|
+
"from pyRadPlan.io import available_phantoms; names = available_phantoms(); print(names); assert {'BOXPHANTOM', 'HEAD_AND_NECK', 'LIVER', 'PROSTATE'} <= set(names)"
|
|
264
268
|
- docker run -d --name web -e XPRA_PASSWORD=ci-test pyradplan-web
|
|
265
269
|
- sh packaging/container/smoke_test.sh web
|
|
270
|
+
- >
|
|
271
|
+
docker build -f packaging/container/Dockerfile.hub
|
|
272
|
+
--build-arg BASE_IMAGE=pyradplan-web
|
|
273
|
+
--build-arg VERSION="$CI_COMMIT_SHORT_SHA" --build-arg REVISION="$CI_COMMIT_SHA"
|
|
274
|
+
-t pyradplan-hub packaging/container
|
|
275
|
+
- docker run -d --name hub pyradplan-hub hub-session.sh --no-authentication --port=8888
|
|
276
|
+
- SMOKE_URL=http://localhost:8888/ sh packaging/container/smoke_test.sh hub
|
|
266
277
|
after_script:
|
|
267
278
|
- docker logs web || true
|
|
279
|
+
- docker logs hub || true
|
|
268
280
|
|
|
269
281
|
docs:
|
|
270
282
|
extends: .venv
|
|
@@ -59,6 +59,20 @@ Keep the `benchmark_*.py` / `profile_*.py` prefixes when adding new performance
|
|
|
59
59
|
|
|
60
60
|
Update [CHANGELOG.md](CHANGELOG.md) under `## [Unreleased]` following [Keep a Changelog](https://keepachangelog.com/) conventions. Categories: `Added`, `Changed`, `Fixed`, `Removed`, `Deprecated`, `Security`.
|
|
61
61
|
|
|
62
|
+
## Commits
|
|
63
|
+
|
|
64
|
+
Keep commit messages short: one header line in the imperative (at most ~72 characters), then optionally a blank line and at most 2–3 lines on why, followed by any `Co-Authored-By` lines. Details belong in the PR description and the changelog, not in the commit message.
|
|
65
|
+
|
|
66
|
+
## Dependencies
|
|
67
|
+
|
|
68
|
+
Every dependency in `pyproject.toml` has an upper bound, so a new release reaches users only after Dependabot's pull request raising the bound has passed CI:
|
|
69
|
+
|
|
70
|
+
- Next major release (`scipy>=1.13.0,<2`) by default.
|
|
71
|
+
- Next minor release for 0.x packages (`numba>=0.61.0,<0.69`), PySide6 (it follows Qt's version numbers, and Qt minor releases change behavior), numpy (removes deprecated API in minor releases; numba and cupy follow it closely) and pydantic.
|
|
72
|
+
- No bound for regex (calendar versions) and matlabengine (its version follows the installed MATLAB release).
|
|
73
|
+
|
|
74
|
+
Set a new bound above the newest release that CI tests. Do not add bounds to `dev`. Keep the Qt and numba entries of `packaging/briefcase/pyproject.toml` identical to the extras (`test/packaging/test_briefcase.py`). CI does not catch everything: the PySide6 6.12.0 crash at interpreter exit passed CI because `test/conftest.py` ends the run with `os._exit`, so check GUI dependency updates with a normal exit too.
|
|
75
|
+
|
|
62
76
|
## PR Checklist
|
|
63
77
|
|
|
64
78
|
- [ ] All existing tests pass; new behaviour has tests
|
|
@@ -7,6 +7,81 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.9.0] - 2026-11-18
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- numpy 2.4 and 2.5 are supported
|
|
15
|
+
- All dependencies have upper version bounds: below the next major release, or below the next minor release for 0.x packages, PySide6, numpy and pydantic. New releases are allowed after they were tested with pyRadPlan
|
|
16
|
+
- Documentation: the photon SVD pencil beam engine and `PhotonSVDKernel` docstrings describe the attributes, units, kernel data layout and the dose calculation steps. The `betas` of a kernel are described as build-up coefficients, not weighting factors
|
|
17
|
+
- Fluence optimization on the GPU evaluates objectives and gradients faster: structure voxel indices are transferred to the device once per optimization instead of at every evaluation, and Squared Overdosing / Squared Underdosing no longer wait for the host. On TG119 with 5 photon beams and CuPy, an evaluation takes about half the time
|
|
18
|
+
|
|
19
|
+
### Deprecated
|
|
20
|
+
|
|
21
|
+
- `StructureSet.get_reference_lq_params` and `get_tissue_class_indices`: the `overlap_is_applied` argument has no effect, because the result is the same with and without overlap priorities applied. Passing it emits a `DeprecationWarning`
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Exporting steering information in matRad format (e.g. to a `.mat` file) failed with numpydantic 2.0
|
|
26
|
+
- Dose influence matrices failed to validate ("Invalid shape!") with numpydantic 2.0 on Python 3.12.3, the system Python of Ubuntu 24.04, so no dose could be calculated there. This also broke the Linux desktop installer
|
|
27
|
+
- Photon SVD pencil beam engine: in bixel-based dose calculation, the bixel lay half a convolution pixel beside its ray (0.25 mm in both lateral directions at the default 5 mm bixel width and 0.5 mm resolution). It is now centered, which slightly shifts all bixel-based photon doses and dose influence matrices. `use_custom_primary_photon_fluence=True` no longer fails with a `KeyError` in this mode
|
|
28
|
+
- Photon SVD pencil beam engine with `use_custom_primary_photon_fluence=True`: the primary fluence across a bixel was evaluated mirrored through the ray center and with its two lateral directions swapped, so a bixel off the central axis in x had its fluence tilt along z and vice versa, pointing inward. The mean fluence per bixel was correct, so the effect on dose is small
|
|
29
|
+
- Photon SVD pencil beam engine: the Gaussian penumbra filter and the dose kernels were sampled on grids without their last positive sample, which made photon doses slightly asymmetric when the kernel is cut off (up to 0.03 % of the maximum dose with a 20 mm kernel cutoff). Both grids are now symmetric around the ray
|
|
30
|
+
- Photon SVD pencil beam engine: field-based dose calculation mirrored the field shape along IEC Y, so an MLC opening toward the gantry deposited dose on the opposite side (e.g. inferior instead of superior for a head-first supine patient). Fields symmetric in IEC Y were not affected
|
|
31
|
+
- GUI: the slice viewer drew every voxel square, so CTs with a slice spacing different from the in-plane resolution (e.g. the head and neck phantom) looked squished in the sagittal and coronal views. Slices are now drawn with the correct aspect ratio.
|
|
32
|
+
- Ray tracers: the lateral cut-off was applied on the ray-matrix plane behind the patient instead of at the isocenter plane, and did not account for the tilt of off-axis rays, so the traced region was narrower than the geometric cut-off of the dose engines (about 11 % for photons in a 240 mm phantom, ~1 % for ions). Voxels in between got no radiological depth and no dose. Every voxel inside the geometric cut-off now gets a depth. Photon dose influence matrices gain entries at the edge of the cut-off, existing entries are unchanged (TG119, two beams, 50 mm cut-off, dij sampling off: +0.7 % non-zeros, dose up to +0.26 % of the maximum). With dij sampling on (the default), the additional voxels shift the random sampling, so photon results with a fixed `random_seed` differ from 0.8.0 within the sampling noise (up to ±1.6 % of the maximum dose in the same case). Photon ray tracing traces about 30 % more rays and takes correspondingly longer. Proton dose influence matrices on TG119 are bit-identical. matRad applies the cut-off unscaled on the ray-matrix plane, so photon dose influence matrices now have slightly more entries than matRad's
|
|
33
|
+
- Quantities: `compute_chain_derivative` returned the derivative of the previous cotangent when it was called again with the same fluence and a different cotangent. It now always uses the cotangent it is given
|
|
34
|
+
- `import pyRadPlan.raytracer` (or `from pyRadPlan.raytracer import RayTracerSiddon`) as the first pyRadPlan import failed with a circular `ImportError`
|
|
35
|
+
- GUI: in the plan settings, the orange border that marks a field with unapplied changes no longer changes how the field is drawn. On spin boxes such as the dose grid resolution, the up/down arrows used to change their look and position while the field was marked; they now look the same with and without the border
|
|
36
|
+
- Overlap priorities: a VOI without objectives removed its voxels from VOIs with a higher overlap priority number, so those voxels lost their objectives. This can cause problems if a CTV inside a PTV has no objective. Overlap priorities are now only resolved among VOIs with objectives; VOIs without objectives keep their full masks. A warning is logged when a VOI with objectives is completely overlapped. Reference LQ parameters and tissue classes of voxels that several VOIs share come from the VOI with the lowest overlap priority number. They used to come from the VOI listed last, so a dose influence matrix with `alphax` / `betax` calculated with 0.8.0 can differ where VOIs with different tissues overlap; optimizing it then raises a `ValueError` (see below), and it has to be recalculated. Empty placeholders such as `None` in a VOI's objectives are dropped, so such a VOI counts as having no objectives.
|
|
37
|
+
- Optimization: the check that the Dij's `alphax` / `betax` match the structure set only logged an error, and computed the reference values differently from the dose engines. The check now builds the values with `StructureSet.get_tissue_data`, like the dose engines, and raises a `ValueError`.
|
|
38
|
+
|
|
39
|
+
## [0.8.0] - 2026-11-05
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- `core.resample.resample_array` resamples NumPy, CuPy, PyTorch and other Array API arrays and returns them on their namespace, device and dtype. Full volumes use SimpleITK by default; `prefer_native=False` resamples on the array's backend. `ArrayBackendGridResampler` prepares repeated sampling of selected voxels
|
|
44
|
+
- `core.xp_utils.ArrayBackendGridInterpolator` and `ArrayBackend1DInterpolator`: interpolation on rectilinear grids that keeps its grid preparation across queries and evaluates several fields with one coordinate search; `interpnd` takes `prefer_native` to choose between the native (SciPy/CuPy/JAX) and the generic Array API implementation
|
|
45
|
+
- `core.xp_utils.grouped_max`: maximum per integer group on the arrays' device
|
|
46
|
+
- Ray tracers: `trace_cubes_array` returns the radiological depth arrays on the tracing backend; `trace_cubes` still returns images
|
|
47
|
+
- GUI: a *Dark Mode* switch in the *View* menu of the main and result windows. It follows the operating system's color scheme until it is used; where the platform cannot switch the scheme itself (e.g. Linux sessions without a GNOME/KDE theme plugin, or Qt < 6.8), the GUI switches to the Fusion style with a dark or light palette
|
|
48
|
+
- GUI: the slice viewer marks the isocenter with a red "x", and the 5 slices on either side of it show a fainter half cross pointing in the mouse-wheel direction that leads to the isocenter slice
|
|
49
|
+
- JupyterHub sessions of the browser GUI: the `pyradplan-hub` image (`packaging/container/Dockerfile.hub`, published as `ghcr.io/e0404/pyradplan-hub` with each release) runs as a JupyterHub server and gives every logged-in user a pod of their own with the GUI, ending when the GUI is closed; `packaging/container/jupyterhub-values.yaml` installs Zero to JupyterHub into a single Kubernetes namespace without cluster-wide permissions, with users set up in advance with a password each (`packaging/container/make_hub_users.py`), a limit on simultaneous sessions and culling of sessions whose browser tab was closed
|
|
50
|
+
- Desktop installers and browser container images: the phantoms of matRad 3.2.3, the CORT patient cases `HEAD_AND_NECK`, `LIVER` and `PROSTATE` and the `BOXPHANTOM`, are listed under File → Open Example Phantom next to TG119. The builds download them from the matRad release; they are not part of the Python package
|
|
51
|
+
- Robustness operators carry a `label` (e.g. "Voxel-wise worst case"); custom operators may set one, otherwise their `name` is shown
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
|
|
55
|
+
- Pencil-beam dose calculation is faster with unchanged results. On TG119 with the GUI defaults (3 mm dose grid, 5 mm bixels), five-field photon IMRT is 2.2x faster with NumPy and 3.2x faster with CuPy, three-field protons 1.4x and 1.6x faster. Main contributions: photon dose sampling uses a grouped maximum instead of sorting each ray, the convolved photon kernels share one interpolator, beam geometry and voxel masks are compacted once per beam instead of per ray, dose setup and tissue data preparation are faster, and radiological depths stay on the compute device
|
|
56
|
+
- Influence matrices store row indices and column pointers as int32 when they fit, a third less memory for the sparse buffers; larger matrices keep int64
|
|
57
|
+
- Browser container: without `XPRA_PASSWORD` the web client connects without asking for a password (it asked for one and accepted any); `XPRA_BIND` sets the address the web client listens on
|
|
58
|
+
- Browser container: with a CPU limit, the calculations use as many threads as the limit allows instead of one per CPU of the host, so the session keeps responding during dose calculations and optimizations
|
|
59
|
+
- Browser container: `PYRADPLAN_BASE_DATA_PATH` is `/shared:/opt/pyradplan/data` by default, so a course folder mounted at `/shared` is found without setting it; a deployment that sets it must keep `/opt/pyradplan/data` for the phantoms of matRad
|
|
60
|
+
- GUI: the plan widget lists dose engines, scenario models, planning problems and solvers, and the objective table lists robustness settings, by their full names; the identifiers stay visible in the open dropdowns
|
|
61
|
+
- GUI: the Objective, Quantity and Robustness columns of the objective table are narrower; longer names are shortened with "…" and shown in full in the open dropdown
|
|
62
|
+
- Display names of the scenario models and the planning problem: `wcScen` is "Worst-case Grid", `impScen` "Importance Grid", `rndScen` "Random Samples" and `nonlin_fluence` "Fluence (nonlinear)"
|
|
63
|
+
- GUI: the workflow's "Save / Keep Result" button is now "Snapshot Result" with tooltip to counter ambiguity
|
|
64
|
+
- GUI: the slice viewer responds much faster on large patients, with unchanged display. On a 456 × 456 × 125 head-and-neck CT with 24 structures, a slice step takes about 3 ms instead of about 210 ms, and the main window opens in about 1 s instead of 2.6 s. Structure contours and dose isolines are traced in C (contourpy) instead of Python, only within each structure's bounding box, and cached per slice. Full-volume minima and maxima are computed once instead of on every slice. Dragging the slider or scrolling with the mouse wheel renders only the latest slice
|
|
65
|
+
- `StructureSet.target_center_of_mass` is about 5x faster on large images, with unchanged results
|
|
66
|
+
|
|
67
|
+
### Deprecated
|
|
68
|
+
|
|
69
|
+
- `resample_numpy_array`: use `resample_array`, which takes the same arguments and also accepts arrays of other backends
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
|
|
73
|
+
- Loading matRad `.mat` files is more lenient about objectives. Files with an EUD objective no longer fail with "pop from empty list": missing or invalid objective parameters now keep their defaults and log a warning. Mean-dose objectives now read and write matRad's `f_diff` setting (stored as 1 = linear, 2 = quadratic). Objectives without a pyRadPlan equivalent, such as matRad's `DoseConstraints`, are now skipped with a warning instead of stopping the import
|
|
74
|
+
- Loading matRad `.mat` files now reads each structure's visibility (`Visible`); before, all structures were shown. Colors stored as whole numbers, such as `[0 0 1]` for blue, are read on matRad's 0–1 scale instead of as almost black. Saving to matRad `.mat` now writes the visibility and color of each structure
|
|
75
|
+
- GUI: widgets no longer switch to a larger font after pressing Apply or when a modified field is reset. The compact font is now set on the application rather than the main window, and the VOI and analysis group boxes no longer use fixed font sizes
|
|
76
|
+
- GUI: labels and buttons outside the workflow panel and menus now consistently use sentence case
|
|
77
|
+
- GUI: the slice viewer drew the isocenter marker and the beam axes half a voxel off the isocenter, towards the top left of the image (1.5 mm in each direction on TG119's axial slices), so the dose appeared shifted against them. They now sit on the isocenter
|
|
78
|
+
- GUI: Optimize and Recalculate Dose over a scenario set keep the per-scenario results of every quantity. Before, they kept them only for the physical dose and the quantities the objectives evaluate, so a proton plan with physical-dose objectives, shown as RBE-weighted dose, offered no scenarios in the viewer and the DVH widget
|
|
79
|
+
- IPOPT solver ignored `bounds` (always solved on [0, inf)), wrote the solution into the caller's `x0` and returned garbage for a float32 `x0`
|
|
80
|
+
- SciPy solver ignored `max_time`, and cancelling a TNC run raised `StopIteration` instead of returning the last iterate
|
|
81
|
+
- SciPy and IPOPT solvers used outside the built-in planning problems (called directly or from a custom planning problem) evaluated a torch `x0` on the default device instead of its own
|
|
82
|
+
- ipax solver reported `num_iter` one too high (ipax also counts the starting point)
|
|
83
|
+
- `register_solver` accepted a solver without `short_name`
|
|
84
|
+
|
|
10
85
|
## [0.7.0] - 2026-11-02
|
|
11
86
|
|
|
12
87
|
### Added
|
|
@@ -681,7 +756,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
681
756
|
|
|
682
757
|
## [0.0.1] - 2025-01-10
|
|
683
758
|
|
|
684
|
-
[Unreleased]: https://github.com/e0404/pyRadPlan/compare/v0.
|
|
759
|
+
[Unreleased]: https://github.com/e0404/pyRadPlan/compare/v0.9.0...HEAD
|
|
760
|
+
[0.9.0]: https://github.com/e0404/pyRadPlan/compare/v0.8.0...v0.9.0
|
|
761
|
+
[0.8.0]: https://github.com/e0404/pyRadPlan/compare/v0.7.0...v0.8.0
|
|
685
762
|
[0.7.0]: https://github.com/e0404/pyRadPlan/compare/v0.6.1...v0.7.0
|
|
686
763
|
[0.6.1]: https://github.com/e0404/pyRadPlan/compare/v0.6.0...v0.6.1
|
|
687
764
|
[0.6.0]: https://github.com/e0404/pyRadPlan/compare/v0.5.0...v0.6.0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
cff-version: 1.2.0
|
|
2
2
|
title: pyRadPlan
|
|
3
|
-
version: 0.
|
|
4
|
-
date-released: '2026-11-
|
|
3
|
+
version: 0.9.0
|
|
4
|
+
date-released: '2026-11-18'
|
|
5
5
|
message: >-
|
|
6
6
|
If you use this software, please cite it using the
|
|
7
7
|
metadata from this file.
|
|
@@ -56,6 +56,10 @@ authors:
|
|
|
56
56
|
family-names: Ortkamp
|
|
57
57
|
email: tim.ortkamp@kit.edu
|
|
58
58
|
affiliation: Karlsruhe Institute of Technology (KIT)
|
|
59
|
+
- given-names: Leopold
|
|
60
|
+
family-names: Reiche
|
|
61
|
+
email: leopold.reiche@dkfz-heidelberg.de
|
|
62
|
+
affiliation: German Cancer Research Center (DKFZ)
|
|
59
63
|
- given-names: Victoria
|
|
60
64
|
family-names: Santiago Aguilar
|
|
61
65
|
email: victoria.santiagoaguilar@dkfz-heidelberg.de
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyRadPlan
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: A python interface and reimplementation to matRad
|
|
5
|
-
Author-email: Niklas Wahl <n.wahl@dkfz-heidelberg.de>, Tobias Becher <t.becher@dkfz-heidelberg.de>, Maxim Braunsburger <m.braunsburger@icloud.com>, Lina Bucher <lina.bucher@dkfz-heidelberg.de>, Louis Ermeneux <louis.ermeneux@gmail.com>, Jennifer Josephine Hardt <jennifer.hardt@dkfz-heidelberg.de>, Antonios Kontopoulos <antonios.kontopoulos@dkfz-heidelberg.de>, Julius Laub <julius.laub@dkfz-heidelberg.de>, Florian Leininger <florian.leininger@dkfz-heidelberg.de>, Cheyenne Leize <cheyenne.leize@dkfz-heidelberg.de>, Moritz Müller <moritz.mueller@dkfz-heidelberg.de>, Tim Ortkamp <tim.ortkamp@kit.edu>, Victoria Santiago Aguilar <victoria.santiagoaguilar@dkfz-heidelberg.de>, Goran Stanic <goran.stanic@dkfz-heidelberg.de>, Samir Schulz <samirshivaji.schulz@dkfz-heidelberg.de>, Wilfrid Wangon Zekou <wangonwil@gmail.com>
|
|
5
|
+
Author-email: Niklas Wahl <n.wahl@dkfz-heidelberg.de>, Tobias Becher <t.becher@dkfz-heidelberg.de>, Maxim Braunsburger <m.braunsburger@icloud.com>, Lina Bucher <lina.bucher@dkfz-heidelberg.de>, Louis Ermeneux <louis.ermeneux@gmail.com>, Jennifer Josephine Hardt <jennifer.hardt@dkfz-heidelberg.de>, Antonios Kontopoulos <antonios.kontopoulos@dkfz-heidelberg.de>, Julius Laub <julius.laub@dkfz-heidelberg.de>, Florian Leininger <florian.leininger@dkfz-heidelberg.de>, Cheyenne Leize <cheyenne.leize@dkfz-heidelberg.de>, Moritz Müller <moritz.mueller@dkfz-heidelberg.de>, Tim Ortkamp <tim.ortkamp@kit.edu>, Leopold Reiche <leopold.reiche@dkfz-heidelberg.de>, Victoria Santiago Aguilar <victoria.santiagoaguilar@dkfz-heidelberg.de>, Goran Stanic <goran.stanic@dkfz-heidelberg.de>, Samir Schulz <samirshivaji.schulz@dkfz-heidelberg.de>, Wilfrid Wangon Zekou <wangonwil@gmail.com>
|
|
6
6
|
Maintainer-email: Niklas Wahl <n.wahl@dkfz-heidelberg.de>, Florian Leininger <florian.leininger@dkfz-heidelberg.de>, Tobias Becher <t.becher@dkfz-heidelberg.de>, Tim Ortkamp <tim.ortkamp@kit.edu>
|
|
7
7
|
Project-URL: Homepage, https://github.com/e0404/pyRadPlan
|
|
8
8
|
Project-URL: Repository, https://github.com/e0404/pyRadPlan
|
|
@@ -15,45 +15,46 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Requires-Python: <3.15,>=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: scipy
|
|
19
|
-
Requires-Dist: numpy<2.
|
|
20
|
-
Requires-Dist: array_api_compat
|
|
21
|
-
Requires-Dist: array_api_strict
|
|
22
|
-
Requires-Dist: array_api_extra
|
|
23
|
-
Requires-Dist: types-array-api
|
|
24
|
-
Requires-Dist: ipax
|
|
25
|
-
Requires-Dist: pymatreader
|
|
26
|
-
Requires-Dist: h5py
|
|
18
|
+
Requires-Dist: scipy<2,>=1.13.0
|
|
19
|
+
Requires-Dist: numpy<2.6,>=2.0
|
|
20
|
+
Requires-Dist: array_api_compat<2
|
|
21
|
+
Requires-Dist: array_api_strict<3
|
|
22
|
+
Requires-Dist: array_api_extra<0.12
|
|
23
|
+
Requires-Dist: types-array-api<2
|
|
24
|
+
Requires-Dist: ipax<0.14,>=0.13.0
|
|
25
|
+
Requires-Dist: pymatreader<2,>=1.0.0
|
|
26
|
+
Requires-Dist: h5py<4,>=3.11.0
|
|
27
27
|
Requires-Dist: regex>=2024.5.15
|
|
28
|
-
Requires-Dist: pydicom
|
|
29
|
-
Requires-Dist: matplotlib
|
|
28
|
+
Requires-Dist: pydicom<4,>=2.4.4
|
|
29
|
+
Requires-Dist: matplotlib<4,>=3.9.2
|
|
30
30
|
Requires-Dist: pydantic<2.20,>=2.10
|
|
31
31
|
Requires-Dist: pydantic-settings<3.0,>=2.0
|
|
32
32
|
Requires-Dist: pydantic_ai<3.0,>=1.60
|
|
33
|
-
Requires-Dist: numpydantic
|
|
34
|
-
Requires-Dist: SimpleITK
|
|
35
|
-
Requires-Dist: tqdm
|
|
36
|
-
Requires-Dist: pint
|
|
37
|
-
Requires-Dist: jinja2
|
|
38
|
-
Requires-Dist: huggingface_hub
|
|
39
|
-
Requires-Dist: safetensors
|
|
33
|
+
Requires-Dist: numpydantic<3,>=1.6.9
|
|
34
|
+
Requires-Dist: SimpleITK<3,>=2.4.0
|
|
35
|
+
Requires-Dist: tqdm<5,>=4.0.0
|
|
36
|
+
Requires-Dist: pint<0.27,>=0.24.0
|
|
37
|
+
Requires-Dist: jinja2<4
|
|
38
|
+
Requires-Dist: huggingface_hub<3,>=0.23
|
|
39
|
+
Requires-Dist: safetensors<0.9
|
|
40
40
|
Provides-Extra: matlab
|
|
41
41
|
Requires-Dist: matlabengine; extra == "matlab"
|
|
42
42
|
Provides-Extra: octave
|
|
43
|
-
Requires-Dist: oct2py; extra == "octave"
|
|
43
|
+
Requires-Dist: oct2py<7; extra == "octave"
|
|
44
44
|
Provides-Extra: gui
|
|
45
45
|
Requires-Dist: pyside6-essentials<6.12,>=6.4; extra == "gui"
|
|
46
|
-
Requires-Dist: pyqtgraph
|
|
46
|
+
Requires-Dist: pyqtgraph<0.15,>=0.12.0; extra == "gui"
|
|
47
|
+
Requires-Dist: contourpy<2,>=1.0.1; extra == "gui"
|
|
47
48
|
Provides-Extra: numba
|
|
48
|
-
Requires-Dist: numba
|
|
49
|
+
Requires-Dist: numba<0.69,>=0.61.0; extra == "numba"
|
|
49
50
|
Provides-Extra: torch
|
|
50
|
-
Requires-Dist: torch
|
|
51
|
+
Requires-Dist: torch<3,>=2.0; extra == "torch"
|
|
51
52
|
Provides-Extra: cupy
|
|
52
|
-
Requires-Dist: cupy
|
|
53
|
+
Requires-Dist: cupy<15,>=13.0; extra == "cupy"
|
|
53
54
|
Provides-Extra: jax
|
|
54
|
-
Requires-Dist: jax
|
|
55
|
+
Requires-Dist: jax<0.13,>=0.4.35; extra == "jax"
|
|
55
56
|
Provides-Extra: profiling
|
|
56
|
-
Requires-Dist: line_profiler
|
|
57
|
+
Requires-Dist: line_profiler<6,>=4.0; extra == "profiling"
|
|
57
58
|
Provides-Extra: dev
|
|
58
59
|
Requires-Dist: pytest; extra == "dev"
|
|
59
60
|
Requires-Dist: coverage; extra == "dev"
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"""Compare end-to-end TG119 influence-matrix calculation between git revisions.
|
|
2
|
+
|
|
3
|
+
Each revision's ``pyRadPlan`` package is exported with ``git archive`` and imported
|
|
4
|
+
in a fresh process with the installed dependencies; no checkout is modified.
|
|
5
|
+
The pseudo-revision ``worktree`` imports the current checkout, uncommitted changes included.
|
|
6
|
+
Revisions alternate within each round. Outputs are compared exactly: dose values,
|
|
7
|
+
row indices and column pointers of the sorted CSC matrix (index dtype ignored).
|
|
8
|
+
|
|
9
|
+
The workloads mirror the GUI defaults: 3 mm dose grid, 5 mm bixels; photons use
|
|
10
|
+
five fields with dose sampling (fixed seed), protons three fields, physical dose.
|
|
11
|
+
|
|
12
|
+
python benchmark/benchmark_dose_revisions.py develop worktree --mode photons --backend cupy
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
# ruff: noqa: PLC0415
|
|
16
|
+
|
|
17
|
+
import argparse
|
|
18
|
+
import hashlib
|
|
19
|
+
import io
|
|
20
|
+
import json
|
|
21
|
+
from pathlib import Path
|
|
22
|
+
import statistics
|
|
23
|
+
import subprocess
|
|
24
|
+
import sys
|
|
25
|
+
import tarfile
|
|
26
|
+
import time
|
|
27
|
+
|
|
28
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
29
|
+
RESULTS = ROOT / "benchmark" / "results" / "revisions"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def export_revision(revision: str) -> Path:
|
|
33
|
+
"""Export the package of one revision once and return the import root."""
|
|
34
|
+
if revision == "worktree":
|
|
35
|
+
return ROOT
|
|
36
|
+
sha = subprocess.check_output(["git", "rev-parse", revision], cwd=ROOT, text=True).strip()
|
|
37
|
+
snapshot = RESULTS / "snapshots" / sha
|
|
38
|
+
if not snapshot.exists():
|
|
39
|
+
archive = subprocess.check_output(["git", "archive", sha, "pyRadPlan"], cwd=ROOT)
|
|
40
|
+
snapshot.mkdir(parents=True)
|
|
41
|
+
with tarfile.open(fileobj=io.BytesIO(archive)) as stream:
|
|
42
|
+
stream.extractall(snapshot, filter="data")
|
|
43
|
+
return snapshot
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def worker(snapshot: str, mode: str, backend: str, runs: int) -> None:
|
|
47
|
+
"""Time the influence calculation of one snapshot and print a JSON record."""
|
|
48
|
+
sys.path.insert(0, snapshot)
|
|
49
|
+
import logging
|
|
50
|
+
import warnings
|
|
51
|
+
|
|
52
|
+
import numpy as np
|
|
53
|
+
import pyRadPlan
|
|
54
|
+
from pyRadPlan import IonPlan, PhotonPlan, calc_dose_influence, generate_stf, load_tg119
|
|
55
|
+
from pyRadPlan import settings
|
|
56
|
+
|
|
57
|
+
assert Path(pyRadPlan.__file__).is_relative_to(Path(snapshot)), pyRadPlan.__file__
|
|
58
|
+
settings.xp.prefer_gpu = backend == "cupy"
|
|
59
|
+
settings.xp.preferred_cpu_array_backend = "numpy"
|
|
60
|
+
logging.basicConfig(level=logging.ERROR)
|
|
61
|
+
warnings.filterwarnings("ignore")
|
|
62
|
+
|
|
63
|
+
ct, cst = load_tg119()
|
|
64
|
+
angles = [0, 72, 144, 216, 288] if mode == "photons" else [0, 120, 240]
|
|
65
|
+
common = dict(
|
|
66
|
+
machine="Generic",
|
|
67
|
+
prop_stf=dict(gantry_angles=angles, couch_angles=[0] * len(angles), bixel_width=5.0),
|
|
68
|
+
prop_dose_calc=dict(dose_grid=dict(resolution=[3.0] * 3), console_progress=False),
|
|
69
|
+
)
|
|
70
|
+
if mode == "photons":
|
|
71
|
+
common["prop_dose_calc"]["random_seed"] = 1234
|
|
72
|
+
plan = PhotonPlan(**common)
|
|
73
|
+
else:
|
|
74
|
+
plan = IonPlan(radiation_mode=mode, bio_model="none", **common)
|
|
75
|
+
stf = generate_stf(ct, cst, plan)
|
|
76
|
+
|
|
77
|
+
def synchronize():
|
|
78
|
+
if backend == "cupy":
|
|
79
|
+
import cupy
|
|
80
|
+
|
|
81
|
+
cupy.cuda.Device().synchronize()
|
|
82
|
+
|
|
83
|
+
times = []
|
|
84
|
+
for _ in range(runs + 1):
|
|
85
|
+
synchronize()
|
|
86
|
+
start = time.perf_counter()
|
|
87
|
+
result = calc_dose_influence(ct, cst, stf, plan)
|
|
88
|
+
synchronize()
|
|
89
|
+
times.append(time.perf_counter() - start)
|
|
90
|
+
|
|
91
|
+
matrix = result.physical_dose.flat[0]
|
|
92
|
+
if hasattr(matrix, "get"):
|
|
93
|
+
matrix = matrix.get()
|
|
94
|
+
matrix = matrix.tocsc()
|
|
95
|
+
matrix.sort_indices()
|
|
96
|
+
digest = hashlib.sha256()
|
|
97
|
+
for array in (matrix.data, matrix.indices.astype(np.int64), matrix.indptr.astype(np.int64)):
|
|
98
|
+
digest.update(memoryview(np.ascontiguousarray(array)))
|
|
99
|
+
print(
|
|
100
|
+
json.dumps(
|
|
101
|
+
dict(
|
|
102
|
+
cold=times[0],
|
|
103
|
+
warm=times[1:],
|
|
104
|
+
nnz=int(matrix.nnz),
|
|
105
|
+
index_dtype=str(matrix.indices.dtype),
|
|
106
|
+
sha256=digest.hexdigest(),
|
|
107
|
+
)
|
|
108
|
+
)
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def main() -> None:
|
|
113
|
+
"""Alternate revisions per round and summarize warm medians and output equality."""
|
|
114
|
+
parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
|
|
115
|
+
parser.add_argument(
|
|
116
|
+
"revisions",
|
|
117
|
+
nargs="*",
|
|
118
|
+
help="Git revisions, or 'worktree' for uncommitted changes; the first is the baseline",
|
|
119
|
+
)
|
|
120
|
+
parser.add_argument("--mode", choices=["photons", "protons", "carbon"], default="photons")
|
|
121
|
+
parser.add_argument("--backend", choices=["numpy", "cupy"], default="numpy")
|
|
122
|
+
parser.add_argument("--runs", type=int, default=2, help="Warm runs after one cold run")
|
|
123
|
+
parser.add_argument("--rounds", type=int, default=2)
|
|
124
|
+
parser.add_argument("--worker", help=argparse.SUPPRESS)
|
|
125
|
+
args = parser.parse_args()
|
|
126
|
+
if args.worker:
|
|
127
|
+
worker(args.worker, args.mode, args.backend, args.runs)
|
|
128
|
+
return
|
|
129
|
+
if not args.revisions:
|
|
130
|
+
parser.error("at least one revision is required")
|
|
131
|
+
|
|
132
|
+
snapshots = {revision: export_revision(revision) for revision in args.revisions}
|
|
133
|
+
records = {revision: [] for revision in args.revisions}
|
|
134
|
+
for round_ix in range(args.rounds):
|
|
135
|
+
for revision, snapshot in snapshots.items():
|
|
136
|
+
process = subprocess.run(
|
|
137
|
+
[sys.executable, __file__, "--worker", str(snapshot)]
|
|
138
|
+
+ ["--mode", args.mode, "--backend", args.backend, "--runs", str(args.runs)],
|
|
139
|
+
capture_output=True,
|
|
140
|
+
text=True,
|
|
141
|
+
check=False,
|
|
142
|
+
)
|
|
143
|
+
if process.returncode:
|
|
144
|
+
sys.exit(f"{revision} failed:\n{process.stderr}")
|
|
145
|
+
output = process.stdout
|
|
146
|
+
record = json.loads(output.strip().splitlines()[-1])
|
|
147
|
+
records[revision].append(record)
|
|
148
|
+
print(f"round {round_ix}: {revision}: warm {statistics.median(record['warm']):.2f} s")
|
|
149
|
+
|
|
150
|
+
baseline = statistics.median(t for r in records[args.revisions[0]] for t in r["warm"])
|
|
151
|
+
print(f"\n{args.mode} / {args.backend}, warm medians over {args.rounds} rounds:")
|
|
152
|
+
for revision, runs in records.items():
|
|
153
|
+
median = statistics.median(t for r in runs for t in r["warm"])
|
|
154
|
+
identical = {r["sha256"] for r in runs} == {records[args.revisions[0]][0]["sha256"]}
|
|
155
|
+
print(
|
|
156
|
+
f" {revision:>20}: {median:7.2f} s {baseline / median:5.2f}x "
|
|
157
|
+
f"nnz {runs[0]['nnz']} indices {runs[0]['index_dtype']} "
|
|
158
|
+
f"{'identical' if identical else 'DIFFERENT'} output"
|
|
159
|
+
)
|
|
160
|
+
RESULTS.mkdir(parents=True, exist_ok=True)
|
|
161
|
+
out = RESULTS / f"{args.mode}_{args.backend}_{int(time.time())}.json"
|
|
162
|
+
out.write_text(json.dumps(dict(args=vars(args), records=records), indent=2) + "\n")
|
|
163
|
+
print(f"Saved {out.relative_to(ROOT)}")
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
if __name__ == "__main__":
|
|
167
|
+
main()
|
|
@@ -4,6 +4,7 @@ import numpy as np
|
|
|
4
4
|
import pytest
|
|
5
5
|
|
|
6
6
|
from pyRadPlan.core.xp_utils.compat import interpnd
|
|
7
|
+
from pyRadPlan.core.xp_utils import ArrayBackendGridInterpolator
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
try:
|
|
@@ -73,8 +74,53 @@ def _block_until_ready(result):
|
|
|
73
74
|
|
|
74
75
|
|
|
75
76
|
# %% Tests
|
|
77
|
+
@pytest.mark.parametrize("backend", ["numpy", "cupy"])
|
|
78
|
+
@pytest.mark.parametrize("prefer_native", [True, False], ids=["native", "generic"])
|
|
79
|
+
@pytest.mark.parametrize("ndim", [2, 3, 4], ids=["2d", "3d", "4d"])
|
|
80
|
+
@pytest.mark.parametrize("operation", ["construct", "evaluate", "oneshot"])
|
|
81
|
+
@pytest.mark.parametrize("single_query", [False, True], ids=["batch", "single"])
|
|
82
|
+
def test_interpnd_lifecycle(benchmark, backend, prefer_native, ndim, operation, single_query): # noqa: PLR0913
|
|
83
|
+
"""Separate setup, repeated queries, and one-shot cost."""
|
|
84
|
+
if not prefer_native and ndim == 4:
|
|
85
|
+
pytest.skip("Generic interpolation is 2D/3D")
|
|
86
|
+
if backend == "cupy" and (cp is None or not cp.cuda.is_available()):
|
|
87
|
+
pytest.skip("CuPy device unavailable")
|
|
88
|
+
xp = np if backend == "numpy" else cp
|
|
89
|
+
xq, x, y = _make_case(xp, ndim)
|
|
90
|
+
if single_query:
|
|
91
|
+
xq = xq[:1, :]
|
|
92
|
+
|
|
93
|
+
def construct():
|
|
94
|
+
return ArrayBackendGridInterpolator(x, y, prefer_native=prefer_native)
|
|
95
|
+
|
|
96
|
+
interpolator = construct()
|
|
97
|
+
expected = interpnd(xq, x, y)
|
|
98
|
+
actual = interpolator(xq)
|
|
99
|
+
np.testing.assert_allclose(
|
|
100
|
+
actual if backend == "numpy" else actual.get(),
|
|
101
|
+
expected if backend == "numpy" else expected.get(),
|
|
102
|
+
rtol=1e-12,
|
|
103
|
+
atol=1e-12,
|
|
104
|
+
)
|
|
105
|
+
operations = {
|
|
106
|
+
"construct": construct,
|
|
107
|
+
"evaluate": lambda: interpolator(xq),
|
|
108
|
+
"oneshot": lambda: interpnd(xq, x, y, prefer_native=prefer_native),
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
def measured():
|
|
112
|
+
result = operations[operation]()
|
|
113
|
+
if backend == "cupy":
|
|
114
|
+
cp.cuda.get_current_stream().synchronize()
|
|
115
|
+
return result
|
|
116
|
+
|
|
117
|
+
measured() # Warm up; synchronize only the backend under measurement.
|
|
118
|
+
benchmark(measured)
|
|
119
|
+
|
|
120
|
+
|
|
76
121
|
@pytest.mark.parametrize("ndim", [2, 3, 4], ids=["2d", "3d", "4d"])
|
|
77
122
|
def test_interpnd_numpy(benchmark, ndim):
|
|
123
|
+
"""Measure one-shot interpolation with NumPy."""
|
|
78
124
|
xq, x, y = _make_case(np, ndim)
|
|
79
125
|
|
|
80
126
|
benchmark(lambda: interpnd(xq, x, y))
|
|
@@ -83,6 +129,7 @@ def test_interpnd_numpy(benchmark, ndim):
|
|
|
83
129
|
@pytest.mark.skipif(jax is None, reason="JAX not installed")
|
|
84
130
|
@pytest.mark.parametrize("ndim", [2, 3, 4], ids=["2d", "3d", "4d"])
|
|
85
131
|
def test_interpnd_jax(benchmark, ndim):
|
|
132
|
+
"""Measure one-shot interpolation with JAX after compilation."""
|
|
86
133
|
xq, x, y = _make_case(jnp, ndim)
|
|
87
134
|
|
|
88
135
|
# Warmup: compile is not benchmarked
|
|
@@ -94,6 +141,7 @@ def test_interpnd_jax(benchmark, ndim):
|
|
|
94
141
|
@pytest.mark.skipif(cp is None, reason="CuPy is not available")
|
|
95
142
|
@pytest.mark.parametrize("ndim", [2, 3, 4], ids=["2d", "3d", "4d"])
|
|
96
143
|
def test_interpnd_cupy(benchmark, ndim):
|
|
144
|
+
"""Measure synchronized one-shot interpolation with CuPy."""
|
|
97
145
|
xq, x, y = _make_case(cp, ndim)
|
|
98
146
|
|
|
99
147
|
# warmup
|
|
@@ -105,6 +153,7 @@ def test_interpnd_cupy(benchmark, ndim):
|
|
|
105
153
|
@pytest.mark.skipif(torch is None, reason="PyTorch is not available")
|
|
106
154
|
@pytest.mark.parametrize("ndim", [2, 3], ids=["2d", "3d"])
|
|
107
155
|
def test_interpnd_torch_cpu(benchmark, ndim):
|
|
156
|
+
"""Measure one-shot interpolation with CPU tensors."""
|
|
108
157
|
xq, x, y = _make_case(torch, ndim)
|
|
109
158
|
|
|
110
159
|
benchmark(lambda: _block_until_ready(interpnd(xq, x, y)))
|
|
@@ -116,6 +165,7 @@ def test_interpnd_torch_cpu(benchmark, ndim):
|
|
|
116
165
|
)
|
|
117
166
|
@pytest.mark.parametrize("ndim", [2, 3], ids=["2d", "3d"])
|
|
118
167
|
def test_interpnd_torch_cuda(benchmark, ndim):
|
|
168
|
+
"""Measure synchronized one-shot interpolation with CUDA tensors."""
|
|
119
169
|
xq_np, x_np, y_np = _make_case(np, ndim)
|
|
120
170
|
|
|
121
171
|
x = tuple(torch.asarray(axis, dtype=torch.float64, device="cuda") for axis in x_np)
|