pyRadPlan 0.6.1__tar.gz → 0.7.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/.env.example +49 -0
- pyradplan-0.7.0/.gitattributes +4 -0
- pyradplan-0.7.0/.github/ISSUE_TEMPLATE/bug_report.yml +67 -0
- pyradplan-0.7.0/.github/ISSUE_TEMPLATE/feature_request.yml +67 -0
- pyradplan-0.7.0/.github/PULL_REQUEST_TEMPLATE/release.md +54 -0
- pyradplan-0.7.0/.github/PULL_REQUEST_TEMPLATE.md +39 -0
- pyradplan-0.7.0/.github/dependabot.yml +17 -0
- pyradplan-0.7.0/.github/workflows/container.yml +75 -0
- pyradplan-0.7.0/.github/workflows/copyright.yml +54 -0
- pyradplan-0.7.0/.github/workflows/installers.yml +222 -0
- pyradplan-0.7.0/.github/workflows/mirror.yml +54 -0
- pyradplan-0.7.0/.github/workflows/publish.yml +79 -0
- pyradplan-0.7.0/.github/workflows/release.yml +81 -0
- pyradplan-0.7.0/.github/workflows/tests.yml +166 -0
- pyradplan-0.7.0/.gitignore +190 -0
- pyradplan-0.7.0/.gitlab/issue_templates/Bug Report.md +44 -0
- pyradplan-0.7.0/.gitlab/issue_templates/Feature Request.md +46 -0
- pyradplan-0.7.0/.gitlab/merge_request_templates/Default.md +42 -0
- pyradplan-0.7.0/.gitlab/scripts/codespell_to_codequality.py +36 -0
- pyradplan-0.7.0/.gitlab-ci.yml +311 -0
- pyradplan-0.7.0/.gitmodules +4 -0
- pyradplan-0.7.0/.pre-commit-config.yaml +50 -0
- pyradplan-0.7.0/.readthedocs.yaml +16 -0
- pyradplan-0.7.0/AGENTS.md +115 -0
- pyradplan-0.7.0/CHANGELOG.md +708 -0
- pyradplan-0.7.0/CITATION.cff +97 -0
- pyradplan-0.7.0/CLAUDE.md +11 -0
- pyradplan-0.7.0/CONTRIBUTING.md +39 -0
- pyradplan-0.7.0/PKG-INFO +215 -0
- pyradplan-0.7.0/benchmark/benchmark_interp1d.py +156 -0
- pyradplan-0.7.0/benchmark/benchmark_interpnd.py +128 -0
- pyradplan-0.7.0/benchmark/benchmark_solvers.py +450 -0
- pyradplan-0.7.0/benchmark/benchmark_trace_cubes.py +116 -0
- pyradplan-0.7.0/benchmark/profile_pencilbeam_photon_forward_lineprof.py +273 -0
- pyradplan-0.7.0/docs/_static/css/custom.css +107 -0
- pyradplan-0.7.0/docs/_static/favicon/android-chrome-192x192.png +0 -0
- pyradplan-0.7.0/docs/_static/favicon/android-chrome-512x512.png +0 -0
- pyradplan-0.7.0/docs/_static/favicon/apple-touch-icon.png +0 -0
- pyradplan-0.7.0/docs/_static/favicon/favicon-16x16.png +0 -0
- pyradplan-0.7.0/docs/_static/favicon/favicon-32x32.png +0 -0
- pyradplan-0.7.0/docs/_static/favicon/favicon.ico +0 -0
- pyradplan-0.7.0/docs/_static/favicon/site.webmanifest +1 -0
- pyradplan-0.7.0/docs/_templates/autosummary/class.rst +5 -0
- pyradplan-0.7.0/docs/_templates/autosummary/function.rst +5 -0
- pyradplan-0.7.0/docs/_templates/autosummary/module.rst +5 -0
- pyradplan-0.7.0/docs/_templates/layout.html +16 -0
- pyradplan-0.7.0/docs/api/ai.rst +27 -0
- pyradplan-0.7.0/docs/api/ai_agents.rst +31 -0
- pyradplan-0.7.0/docs/api/ai_modelhub.rst +54 -0
- pyradplan-0.7.0/docs/api/analysis.rst +26 -0
- pyradplan-0.7.0/docs/api/biology.rst +26 -0
- pyradplan-0.7.0/docs/api/biology_models.rst +148 -0
- pyradplan-0.7.0/docs/api/biology_tissues.rst +152 -0
- pyradplan-0.7.0/docs/api/core.rst +135 -0
- pyradplan-0.7.0/docs/api/cst.rst +34 -0
- pyradplan-0.7.0/docs/api/ct.rst +23 -0
- pyradplan-0.7.0/docs/api/dij.rst +20 -0
- pyradplan-0.7.0/docs/api/dose.rst +19 -0
- pyradplan-0.7.0/docs/api/dose_engines.rst +36 -0
- pyradplan-0.7.0/docs/api/geometry.rst +11 -0
- pyradplan-0.7.0/docs/api/index.rst +27 -0
- pyradplan-0.7.0/docs/api/io.rst +51 -0
- pyradplan-0.7.0/docs/api/machines.rst +59 -0
- pyradplan-0.7.0/docs/api/machines_particles.rst +28 -0
- pyradplan-0.7.0/docs/api/machines_photons.rst +10 -0
- pyradplan-0.7.0/docs/api/optimization.rst +46 -0
- pyradplan-0.7.0/docs/api/optimization_objectives.rst +38 -0
- pyradplan-0.7.0/docs/api/optimization_problems.rst +23 -0
- pyradplan-0.7.0/docs/api/optimization_robustness.rst +39 -0
- pyradplan-0.7.0/docs/api/optimization_solvers.rst +32 -0
- pyradplan-0.7.0/docs/api/pln.rst +21 -0
- pyradplan-0.7.0/docs/api/quantities.rst +28 -0
- pyradplan-0.7.0/docs/api/raytracer.rst +10 -0
- pyradplan-0.7.0/docs/api/scenarios.rst +21 -0
- pyradplan-0.7.0/docs/api/settings.rst +24 -0
- pyradplan-0.7.0/docs/api/stf.rst +55 -0
- pyradplan-0.7.0/docs/api/stf_generators.rst +37 -0
- pyradplan-0.7.0/docs/api/util.rst +15 -0
- pyradplan-0.7.0/docs/conf.py +178 -0
- pyradplan-0.7.0/docs/development/bio_model_formalisms.md +438 -0
- pyradplan-0.7.0/docs/development/dynamic_dij_quantities.md +113 -0
- pyradplan-0.7.0/docs/development/optimization_quantity_api.md +702 -0
- pyradplan-0.7.0/docs/development/robust_optimization.md +300 -0
- pyradplan-0.7.0/docs/development/scenario_models.md +468 -0
- pyradplan-0.7.0/docs/execute_examples.py +324 -0
- pyradplan-0.7.0/docs/help/index.rst +27 -0
- pyradplan-0.7.0/docs/index.rst +89 -0
- pyradplan-0.7.0/docs/installation/index.rst +439 -0
- pyradplan-0.7.0/docs/release_notes/index.rst +8 -0
- pyradplan-0.7.0/docs/requirements.txt +8 -0
- pyradplan-0.7.0/docs/tutorials/examples/intro_minimal_photons.ipynb +95 -0
- pyradplan-0.7.0/docs/tutorials/examples/intro_minimal_protons.ipynb +95 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_carbon.ipynb +205 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_helium.ipynb +193 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_oxygen.ipynb +216 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_oxygen_MKM.ipynb +228 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_photon.ipynb +189 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_photon_forward.ipynb +324 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_proton.ipynb +185 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_proton_let.ipynb +213 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_proton_varRBE.ipynb +195 -0
- pyradplan-0.7.0/docs/tutorials/examples/pencilbeam_vhee.ipynb +221 -0
- pyradplan-0.7.0/docs/tutorials/examples/plan_analysis.ipynb +303 -0
- pyradplan-0.7.0/docs/tutorials/examples/proton_mimicking.ipynb +234 -0
- pyradplan-0.7.0/docs/tutorials/examples/raytracer_rad_depth.ipynb +179 -0
- pyradplan-0.7.0/docs/tutorials/examples/utils_backends.ipynb +307 -0
- pyradplan-0.7.0/docs/tutorials/examples/utils_io.ipynb +310 -0
- pyradplan-0.7.0/docs/tutorials/examples/utils_optimization.ipynb +346 -0
- pyradplan-0.7.0/docs/tutorials/examples/utils_plotting.ipynb +375 -0
- pyradplan-0.7.0/docs/tutorials/index.rst +22 -0
- pyradplan-0.7.0/docs/user_guide/concepts/ai_agents.rst +198 -0
- pyradplan-0.7.0/docs/user_guide/concepts/ai_modelhub.rst +228 -0
- pyradplan-0.7.0/docs/user_guide/concepts/biological_base_data.rst +554 -0
- pyradplan-0.7.0/docs/user_guide/concepts/biological_models.rst +206 -0
- pyradplan-0.7.0/docs/user_guide/concepts/dose_calculation.rst +247 -0
- pyradplan-0.7.0/docs/user_guide/concepts/index.rst +41 -0
- pyradplan-0.7.0/docs/user_guide/concepts/optimization.rst +590 -0
- pyradplan-0.7.0/docs/user_guide/concepts/patient_data.rst +681 -0
- pyradplan-0.7.0/docs/user_guide/concepts/plan.rst +228 -0
- pyradplan-0.7.0/docs/user_guide/concepts/quantities.rst +125 -0
- pyradplan-0.7.0/docs/user_guide/concepts/steering.rst +154 -0
- pyradplan-0.7.0/docs/user_guide/concepts/uncertainty.rst +188 -0
- pyradplan-0.7.0/docs/user_guide/concepts/visualization.rst +133 -0
- pyradplan-0.7.0/docs/user_guide/index.rst +12 -0
- pyradplan-0.7.0/docs/user_guide/introduction.rst +80 -0
- pyradplan-0.7.0/docs/user_guide/quickstart.rst +42 -0
- pyradplan-0.7.0/examples/gui_main_window.py +36 -0
- pyradplan-0.7.0/examples/gui_planning_widgets.py +72 -0
- pyradplan-0.7.0/examples/gui_workflow_widget.py +57 -0
- pyradplan-0.7.0/examples/intro_minimal_photons.py +39 -0
- pyradplan-0.7.0/examples/intro_minimal_protons.py +39 -0
- pyradplan-0.7.0/examples/mc_fred.py +121 -0
- pyradplan-0.7.0/examples/mc_topas.py +127 -0
- pyradplan-0.7.0/examples/pencilbeam_carbon.py +84 -0
- pyradplan-0.7.0/examples/pencilbeam_helium.py +82 -0
- pyradplan-0.7.0/examples/pencilbeam_oxygen.py +96 -0
- pyradplan-0.7.0/examples/pencilbeam_oxygen_MKM.py +108 -0
- pyradplan-0.7.0/examples/pencilbeam_photon.py +88 -0
- pyradplan-0.7.0/examples/pencilbeam_photon_forward.py +193 -0
- pyradplan-0.7.0/examples/pencilbeam_proton.py +84 -0
- pyradplan-0.7.0/examples/pencilbeam_proton_let.py +94 -0
- pyradplan-0.7.0/examples/pencilbeam_proton_varRBE.py +71 -0
- pyradplan-0.7.0/examples/pencilbeam_vhee.py +99 -0
- pyradplan-0.7.0/examples/plan_analysis.py +104 -0
- pyradplan-0.7.0/examples/proton_mimicking.py +113 -0
- pyradplan-0.7.0/examples/raytracer_rad_depth.py +107 -0
- pyradplan-0.7.0/examples/utils_ai_agents.py +141 -0
- pyradplan-0.7.0/examples/utils_ai_models.py +99 -0
- pyradplan-0.7.0/examples/utils_backends.py +134 -0
- pyradplan-0.7.0/examples/utils_io.py +123 -0
- pyradplan-0.7.0/examples/utils_matrad.py +93 -0
- pyradplan-0.7.0/examples/utils_optimization.py +192 -0
- pyradplan-0.7.0/examples/utils_plotting.py +172 -0
- pyradplan-0.7.0/packaging/briefcase/.gitignore +4 -0
- pyradplan-0.7.0/packaging/briefcase/README.md +204 -0
- pyradplan-0.7.0/packaging/briefcase/pyproject.toml +106 -0
- pyradplan-0.7.0/packaging/briefcase/scripts/collect_licenses.py +264 -0
- pyradplan-0.7.0/packaging/briefcase/scripts/make_icons.py +111 -0
- pyradplan-0.7.0/packaging/briefcase/scripts/run_briefcase.py +46 -0
- pyradplan-0.7.0/packaging/briefcase/scripts/sync_version.py +52 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/__init__.py +1 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/__main__.py +5 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/app.py +15 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/installer-banner.bmp +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/installer-dialog.bmp +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-1024.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-128.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-16.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-256.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-32.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-512.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan-64.png +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan.icns +0 -0
- pyradplan-0.7.0/packaging/briefcase/src/pyradplan_app/resources/pyradplan.ico +0 -0
- pyradplan-0.7.0/packaging/briefcase/tests/__init__.py +1 -0
- pyradplan-0.7.0/packaging/briefcase/tests/pyradplan_app/__init__.py +1 -0
- pyradplan-0.7.0/packaging/briefcase/tests/pyradplan_app/__main__.py +114 -0
- pyradplan-0.7.0/packaging/container/Dockerfile +76 -0
- pyradplan-0.7.0/packaging/container/Dockerfile.dockerignore +11 -0
- pyradplan-0.7.0/packaging/container/README.md +90 -0
- pyradplan-0.7.0/packaging/container/compose.yaml +25 -0
- pyradplan-0.7.0/packaging/container/entrypoint.sh +38 -0
- pyradplan-0.7.0/packaging/container/smoke_test.sh +41 -0
- pyradplan-0.7.0/pyRadPlan/analysis/_dvh_plot.py +288 -0
- pyradplan-0.7.0/pyRadPlan/core/__init__.py +89 -0
- pyradplan-0.7.0/pyRadPlan/core/_base_data.py +326 -0
- pyradplan-0.7.0/pyRadPlan/core/_configurable.py +434 -0
- pyradplan-0.7.0/pyRadPlan/core/_progress.py +448 -0
- pyradplan-0.7.0/pyRadPlan/core/datamodel.py +191 -0
- pyradplan-0.7.0/pyRadPlan/cst/_cst.py +978 -0
- pyradplan-0.7.0/pyRadPlan/cst/_voi.py +1343 -0
- pyradplan-0.7.0/pyRadPlan/ct/_ct.py +608 -0
- pyradplan-0.7.0/pyRadPlan/dij/_compose_beam_dijs.py +61 -0
- pyradplan-0.7.0/pyRadPlan/dij/_dij.py +1592 -0
- pyradplan-0.7.0/pyRadPlan/dose/_calc_dose.py +93 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_base.py +1150 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_base_montecarlo.py +147 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_base_pencilbeam.py +1377 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_base_pencilbeam_particle.py +1192 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_fredmc.py +1530 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_svdpb.py +580 -0
- pyradplan-0.7.0/pyRadPlan/dose/engines/_topasmc.py +843 -0
- pyradplan-0.7.0/pyRadPlan/gui/assets/logos/dkfz_logo_blue.svg +315 -0
- pyradplan-0.7.0/pyRadPlan/gui/assets/logos/dkfz_logo_white.svg +315 -0
- pyradplan-0.7.0/pyRadPlan/gui/assets/logos/pyradplan_logo_full_landscape.svg +909 -0
- pyradplan-0.7.0/pyRadPlan/gui/assets/logos/pyradplan_logo_skull_square.svg +458 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/_analysis_widget.py +935 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/_base.py +256 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/_config_form.py +654 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/_display_names.py +312 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/_quantity_selector.py +188 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/_result_widget.py +887 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/analysis/_dvh.py +529 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/optimization/_optimization_widget.py +701 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/plan/_plan_widget.py +1953 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/result/quantity_widget.py +1610 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/result/visualization_widget.py +199 -0
- pyradplan-0.7.0/pyRadPlan/gui/widgets/workflow/_workflow_widget.py +1716 -0
- pyradplan-0.7.0/pyRadPlan/gui/windows/_analysis_win.py +193 -0
- pyradplan-0.7.0/pyRadPlan/io/.gitkeep +0 -0
- pyradplan-0.7.0/pyRadPlan/io/matlab/_importer.py +155 -0
- pyradplan-0.7.0/pyRadPlan/matRad/.gitkeep +0 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/__init__.py +49 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_eud.py +66 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_max_dvh.py +69 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_min_dvh.py +69 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_objective.py +427 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_squared_dev.py +39 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_squared_mimicking.py +49 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_squared_over.py +43 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_squared_under.py +42 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_std.py +30 -0
- pyradplan-0.7.0/pyRadPlan/optimization/objectives/_variance.py +70 -0
- pyradplan-0.7.0/pyRadPlan/optimization/problems/_nonlin_fluence.py +324 -0
- pyradplan-0.7.0/pyRadPlan/optimization/problems/_optiprob.py +639 -0
- pyradplan-0.7.0/pyRadPlan/optimization/problems/_simple_least_squares.py +122 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/__init__.py +58 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_base.py +194 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_composite_worst_case.py +66 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_expected_quantity.py +45 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_expected_value.py +50 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_factory.py +106 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_none.py +59 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_objective_worst_case.py +55 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_smooth_max.py +63 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_terms.py +200 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_utils.py +28 -0
- pyradplan-0.7.0/pyRadPlan/optimization/robustness/_voxel_worst_case.py +93 -0
- pyradplan-0.7.0/pyRadPlan/plan/_plans.py +459 -0
- pyradplan-0.7.0/pyRadPlan/quantities/_alpha_dose.py +39 -0
- pyradplan-0.7.0/pyRadPlan/quantities/_base.py +493 -0
- pyradplan-0.7.0/pyRadPlan/quantities/_rbe_x_dose.py +175 -0
- pyradplan-0.7.0/pyRadPlan/quantities/_resolver.py +179 -0
- pyradplan-0.7.0/pyRadPlan/quantities/_sqrt_beta_dose.py +41 -0
- pyradplan-0.7.0/pyRadPlan/raytracer/_siddon.py +582 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/__init__.py +244 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_base.py +281 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_dimensions.py +338 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_distributions.py +236 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_explicit.py +51 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_gridded.py +137 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_importance.py +19 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_legacy.py +240 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_nominal.py +30 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_random.py +80 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_set.py +1180 -0
- pyradplan-0.7.0/pyRadPlan/scenarios/_worst_case.py +34 -0
- pyradplan-0.7.0/pyRadPlan/stf/_beam.py +262 -0
- pyradplan-0.7.0/pyRadPlan/stf/_beamlet.py +415 -0
- pyradplan-0.7.0/pyRadPlan/stf/generators/_base.py +246 -0
- pyradplan-0.7.0/pyRadPlan/stf/generators/_ions.py +399 -0
- pyradplan-0.7.0/pyRadPlan/stf/generators/_vhee.py +186 -0
- pyradplan-0.7.0/pyRadPlan/stf/hlutLibrary/matRad_default.hlut +10 -0
- pyradplan-0.7.0/pyRadPlan.egg-info/PKG-INFO +215 -0
- pyradplan-0.7.0/pyRadPlan.egg-info/SOURCES.txt +795 -0
- pyradplan-0.7.0/pyRadPlan.egg-info/requires.txt +63 -0
- pyradplan-0.7.0/pyproject.toml +248 -0
- pyradplan-0.7.0/test/ai/agents/test_cst_agents.py +139 -0
- pyradplan-0.7.0/test/ai/agents/test_lazy_import.py +31 -0
- pyradplan-0.7.0/test/ai/agents/test_models.py +109 -0
- pyradplan-0.7.0/test/ai/agents/test_plan_agents.py +88 -0
- pyradplan-0.7.0/test/ai/agents/test_usage.py +44 -0
- pyradplan-0.7.0/test/ai/modelhub/conftest.py +34 -0
- pyradplan-0.7.0/test/ai/modelhub/test_load_model.py +54 -0
- pyradplan-0.7.0/test/ai/modelhub/test_loader_machinery.py +232 -0
- pyradplan-0.7.0/test/ai/modelhub/test_preprocessor.py +29 -0
- pyradplan-0.7.0/test/ai/modelhub/test_registry.py +149 -0
- pyradplan-0.7.0/test/ai/modelhub/test_resolve.py +235 -0
- pyradplan-0.7.0/test/analysis/test_dvh.py +187 -0
- pyradplan-0.7.0/test/analysis/test_dvh_plot.py +118 -0
- pyradplan-0.7.0/test/analysis/test_qi.py +474 -0
- pyradplan-0.7.0/test/analysis/test_units.py +35 -0
- pyradplan-0.7.0/test/biology/models/test_bio_model_factory.py +142 -0
- pyradplan-0.7.0/test/biology/models/test_check_tissues.py +463 -0
- pyradplan-0.7.0/test/biology/models/test_const_rbe_bio_model.py +40 -0
- pyradplan-0.7.0/test/biology/models/test_custom_model_extension.py +213 -0
- pyradplan-0.7.0/test/biology/models/test_empty_bio_model.py +35 -0
- pyradplan-0.7.0/test/biology/models/test_engine_capability.py +281 -0
- pyradplan-0.7.0/test/biology/models/test_evaluator.py +163 -0
- pyradplan-0.7.0/test/biology/models/test_formalism_resolution.py +299 -0
- pyradplan-0.7.0/test/biology/models/test_fragment_species_selection.py +227 -0
- pyradplan-0.7.0/test/biology/models/test_gpu_backend.py +146 -0
- pyradplan-0.7.0/test/biology/models/test_influence.py +30 -0
- pyradplan-0.7.0/test/biology/models/test_kernel_bio_model.py +265 -0
- pyradplan-0.7.0/test/biology/models/test_kernel_let_model.py +126 -0
- pyradplan-0.7.0/test/biology/models/test_reference_parameter_domain.py +252 -0
- pyradplan-0.7.0/test/biology/models/test_tabulated_kernel_model.py +258 -0
- pyradplan-0.7.0/test/biology/models/test_tissue_lookup.py +314 -0
- pyradplan-0.7.0/test/biology/models/test_tissue_quick_fixes.py +200 -0
- pyradplan-0.7.0/test/biology/models/test_zstar_bio_model.py +198 -0
- pyradplan-0.7.0/test/biology/tissues/test_tissue_properties.py +823 -0
- pyradplan-0.7.0/test/biology/tissues/test_tissue_reference_parameters.py +564 -0
- pyradplan-0.7.0/test/conftest.py +138 -0
- pyradplan-0.7.0/test/core/test_base_data.py +264 -0
- pyradplan-0.7.0/test/core/test_configurable.py +227 -0
- pyradplan-0.7.0/test/core/test_coordinates.py +47 -0
- pyradplan-0.7.0/test/core/test_datamodel.py +120 -0
- pyradplan-0.7.0/test/core/test_np2sitk.py +176 -0
- pyradplan-0.7.0/test/core/test_paths.py +42 -0
- pyradplan-0.7.0/test/core/test_progress.py +275 -0
- pyradplan-0.7.0/test/core/test_resample.py +45 -0
- pyradplan-0.7.0/test/core/test_unit_registry.py +17 -0
- pyradplan-0.7.0/test/core/xp_utils/compat/test_backend_consistency.py +152 -0
- pyradplan-0.7.0/test/core/xp_utils/compat/test_interp1d_torch.py +128 -0
- pyradplan-0.7.0/test/core/xp_utils/compat/test_interpnd.py +201 -0
- pyradplan-0.7.0/test/core/xp_utils/compat/test_math_interp1d.py +171 -0
- pyradplan-0.7.0/test/core/xp_utils/compat/test_math_quantile.py +108 -0
- pyradplan-0.7.0/test/core/xp_utils/helpers/test_device_parsing.py +125 -0
- pyradplan-0.7.0/test/core/xp_utils/helpers/test_namespace_conversion.py +338 -0
- pyradplan-0.7.0/test/core/xp_utils/helpers/test_openblas_warning.py +69 -0
- pyradplan-0.7.0/test/core/xp_utils/helpers/test_scatter.py +45 -0
- pyradplan-0.7.0/test/core/xp_utils/test_backends.py +133 -0
- pyradplan-0.7.0/test/core/xp_utils/test_initialization.py +266 -0
- pyradplan-0.7.0/test/cst/conftest.py +62 -0
- pyradplan-0.7.0/test/cst/test_VOI.py +1401 -0
- pyradplan-0.7.0/test/cst/test_cst.py +1107 -0
- pyradplan-0.7.0/test/cst/test_cst_4d_ct.py +86 -0
- pyradplan-0.7.0/test/ct/test_ct.py +330 -0
- pyradplan-0.7.0/test/ct/test_hlut.py +10 -0
- pyradplan-0.7.0/test/data/ai_models/dummy_model/model.py +31 -0
- pyradplan-0.7.0/test/data/ai_models/dummy_model/model_config.json +15 -0
- pyradplan-0.7.0/test/data/ai_models/dummy_model/preprocessor.py +16 -0
- pyradplan-0.7.0/test/data/ai_models/dummy_model/weights.safetensors +0 -0
- pyradplan-0.7.0/test/data/carbon_testData.mat +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_10_physicalDose_beam4.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_1_LET.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_2_LET_beam1.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_3_LET_beam2.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_4_LET_beam3.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_5_LET_beam4.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_6_physicalDose.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_7_physicalDose_beam1.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_8_physicalDose_beam2.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTDose_9_physicalDose_beam3.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/RTstruct.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_1.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_10.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_2.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_3.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_4.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_5.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_6.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_7.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_8.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/ct_slice_9.dcm +0 -0
- pyradplan-0.7.0/test/data/dicom/dicom_testData.mat +0 -0
- pyradplan-0.7.0/test/data/helium_testData.mat +0 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/fred.inp +3 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/plan/plan.inp +30 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/plan/planDelivery.inp +74 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/regions/CTpatient.mhd +13 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/regions/CTpatient.raw +0 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/regions/hLut.inp +10 -0
- pyradplan-0.7.0/test/data/mc_fred/inp/regions/regions.inp +14 -0
- pyradplan-0.7.0/test/data/mc_fred/out/score/Phantom.Dose.mhd +0 -0
- pyradplan-0.7.0/test/data/mc_fred/out/scoreij/Phantom.Dose.bin +0 -0
- pyradplan-0.7.0/test/data/meta_image/cst.mha +0 -0
- pyradplan-0.7.0/test/data/meta_image/ct.mha +23 -0
- pyradplan-0.7.0/test/data/nifti/cst.nii +0 -0
- pyradplan-0.7.0/test/data/nifti/cst.nii.gz +0 -0
- pyradplan-0.7.0/test/data/nifti/ct.nii +0 -0
- pyradplan-0.7.0/test/data/nifti/ct.nii.gz +0 -0
- pyradplan-0.7.0/test/data/nrrd/cst.nrrd +0 -0
- pyradplan-0.7.0/test/data/nrrd/ct.nrrd +0 -0
- pyradplan-0.7.0/test/data/oxygen_testData.mat +0 -0
- pyradplan-0.7.0/test/data/photons_testData.mat +0 -0
- pyradplan-0.7.0/test/data/protons_testData.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/generate_matrad_fixtures.m +115 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_all_cr0_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_all_cr0_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_all_cr1_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_all_cr1_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_custom_all.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_default_none.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_default_shift.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_even_shift.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_none_cr0_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_none_cr0_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_none_cr1_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_none_cr1_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_odd7_none.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_shift_cr0_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_shift_cr0_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_shift_cr1_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/impScen_shift_cr1_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/rndScen_structure.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_all_cr0_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_all_cr0_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_all_cr1_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_all_cr1_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_custom_shift.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_none_cr0_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_none_cr0_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_none_cr1_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_none_cr1_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_one_setup_point.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_shift_cr0_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_shift_cr0_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_shift_cr1_ct1.mat +0 -0
- pyradplan-0.7.0/test/data/scenarios/wcScen_shift_cr1_ct2.mat +0 -0
- pyradplan-0.7.0/test/data/stf/stf_test_data_n_beams.mat +0 -0
- pyradplan-0.7.0/test/data/stf/stf_test_data_one_beam.mat +0 -0
- pyradplan-0.7.0/test/data/test_validate_test_data.py +155 -0
- pyradplan-0.7.0/test/dose/conftest.py +95 -0
- pyradplan-0.7.0/test/dose/kernels/test_calc_geo_dists.py +695 -0
- pyradplan-0.7.0/test/dose/test_base_pencilbeam.py +167 -0
- pyradplan-0.7.0/test/dose/test_bio_tissue_check.py +152 -0
- pyradplan-0.7.0/test/dose/test_default_bio_models.py +181 -0
- pyradplan-0.7.0/test/dose/test_dose_engine_base.py +193 -0
- pyradplan-0.7.0/test/dose/test_engine_reuse.py +91 -0
- pyradplan-0.7.0/test/dose/test_factory.py +31 -0
- pyradplan-0.7.0/test/dose/test_fred.py +532 -0
- pyradplan-0.7.0/test/dose/test_fred_bio.py +349 -0
- pyradplan-0.7.0/test/dose/test_hongpb.py +339 -0
- pyradplan-0.7.0/test/dose/test_hongpb_bio.py +531 -0
- pyradplan-0.7.0/test/dose/test_particle_lateral_cutoff.py +32 -0
- pyradplan-0.7.0/test/dose/test_pb_geodist.py +105 -0
- pyradplan-0.7.0/test/dose/test_scenarios_pencilbeam.py +737 -0
- pyradplan-0.7.0/test/dose/test_svdpb.py +94 -0
- pyradplan-0.7.0/test/dose/test_svdpb_bio.py +70 -0
- pyradplan-0.7.0/test/dose/test_topas.py +287 -0
- pyradplan-0.7.0/test/geometry/test_lps.py +124 -0
- pyradplan-0.7.0/test/gui/conftest.py +97 -0
- pyradplan-0.7.0/test/gui/test_apps.py +184 -0
- pyradplan-0.7.0/test/gui/test_gui_disabled.py +35 -0
- pyradplan-0.7.0/test/gui/test_help_menu.py +115 -0
- pyradplan-0.7.0/test/gui/test_workspace.py +63 -0
- pyradplan-0.7.0/test/gui/widgets/ai/test_ai_task_dialog.py +100 -0
- pyradplan-0.7.0/test/gui/widgets/analysis/test_widget_analysis.py +664 -0
- pyradplan-0.7.0/test/gui/widgets/analysis/test_widget_dvh.py +353 -0
- pyradplan-0.7.0/test/gui/widgets/analysis/test_widget_gamma.py +0 -0
- pyradplan-0.7.0/test/gui/widgets/analysis/test_widget_qi.py +290 -0
- pyradplan-0.7.0/test/gui/widgets/optimization/test_status_window.py +84 -0
- pyradplan-0.7.0/test/gui/widgets/optimization/test_widget_optimization.py +551 -0
- pyradplan-0.7.0/test/gui/widgets/plan/test_optimization_dialog.py +100 -0
- pyradplan-0.7.0/test/gui/widgets/plan/test_widget_plan.py +3054 -0
- pyradplan-0.7.0/test/gui/widgets/result/test_widget_quantity.py +236 -0
- pyradplan-0.7.0/test/gui/widgets/result/test_widget_viewer_options.py +67 -0
- pyradplan-0.7.0/test/gui/widgets/result/test_widget_visualization.py +130 -0
- pyradplan-0.7.0/test/gui/widgets/result/test_widget_vois.py +1147 -0
- pyradplan-0.7.0/test/gui/widgets/test_base.py +157 -0
- pyradplan-0.7.0/test/gui/widgets/test_config_form.py +305 -0
- pyradplan-0.7.0/test/gui/widgets/test_display_names.py +176 -0
- pyradplan-0.7.0/test/gui/widgets/test_plot_theme.py +27 -0
- pyradplan-0.7.0/test/gui/widgets/test_widget_result.py +749 -0
- pyradplan-0.7.0/test/gui/widgets/workflow/test_import_dialogs.py +237 -0
- pyradplan-0.7.0/test/gui/widgets/workflow/test_widget_workflow.py +1095 -0
- pyradplan-0.7.0/test/gui/windows/test_win_analysis.py +130 -0
- pyradplan-0.7.0/test/gui/windows/test_win_main.py +484 -0
- pyradplan-0.7.0/test/gui/windows/test_win_result.py +74 -0
- pyradplan-0.7.0/test/gui/windows/test_win_splash.py +209 -0
- pyradplan-0.7.0/test/io/conftest.py +47 -0
- pyradplan-0.7.0/test/io/test_io_binary_import.py +203 -0
- pyradplan-0.7.0/test/io/test_io_dicom.py +746 -0
- pyradplan-0.7.0/test/io/test_io_factory.py +93 -0
- pyradplan-0.7.0/test/io/test_io_frontend.py +128 -0
- pyradplan-0.7.0/test/io/test_io_matlab.py +229 -0
- pyradplan-0.7.0/test/io/test_io_npz.py +199 -0
- pyradplan-0.7.0/test/io/test_io_pickle.py +109 -0
- pyradplan-0.7.0/test/io/test_io_sitk.py +354 -0
- pyradplan-0.7.0/test/machines/test_beam_focus.py +84 -0
- pyradplan-0.7.0/test/machines/test_beam_modifiers.py +302 -0
- pyradplan-0.7.0/test/machines/test_bundled_base_data.py +241 -0
- pyradplan-0.7.0/test/machines/test_energy_spectrum.py +44 -0
- pyradplan-0.7.0/test/machines/test_kernel_sets.py +328 -0
- pyradplan-0.7.0/test/machines/test_particle_kernel.py +112 -0
- pyradplan-0.7.0/test/machines/test_user_machines.py +88 -0
- pyradplan-0.7.0/test/optimization/conftest.py +26 -0
- pyradplan-0.7.0/test/optimization/robustness/conftest.py +67 -0
- pyradplan-0.7.0/test/optimization/robustness/test_robustness_contract.py +308 -0
- pyradplan-0.7.0/test/optimization/robustness/test_robustness_operators.py +251 -0
- pyradplan-0.7.0/test/optimization/robustness/test_smooth_max.py +82 -0
- pyradplan-0.7.0/test/optimization/robustness/test_variance_objective.py +79 -0
- pyradplan-0.7.0/test/optimization/test_dose_convention.py +264 -0
- pyradplan-0.7.0/test/optimization/test_fluence_optiprob.py +305 -0
- pyradplan-0.7.0/test/optimization/test_ipax_solver.py +210 -0
- pyradplan-0.7.0/test/optimization/test_ipopt_output.py +123 -0
- pyradplan-0.7.0/test/optimization/test_ipopt_solver.py +98 -0
- pyradplan-0.7.0/test/optimization/test_obj_history.py +63 -0
- pyradplan-0.7.0/test/optimization/test_objectives.py +414 -0
- pyradplan-0.7.0/test/optimization/test_opt_info.py +159 -0
- pyradplan-0.7.0/test/optimization/test_problem_factory.py +77 -0
- pyradplan-0.7.0/test/optimization/test_robust_fluence_optiprob.py +466 -0
- pyradplan-0.7.0/test/optimization/test_scipy_solver.py +248 -0
- pyradplan-0.7.0/test/optimization/test_solver_factory.py +105 -0
- pyradplan-0.7.0/test/packaging/test_briefcase.py +18 -0
- pyradplan-0.7.0/test/packaging/test_container.py +71 -0
- pyradplan-0.7.0/test/quantities/test_alpha_dose_quantity.py +116 -0
- pyradplan-0.7.0/test/quantities/test_dose_quantity.py +110 -0
- pyradplan-0.7.0/test/quantities/test_effect_quantity.py +143 -0
- pyradplan-0.7.0/test/quantities/test_let_dose_quantity.py +116 -0
- pyradplan-0.7.0/test/quantities/test_let_quantity.py +144 -0
- pyradplan-0.7.0/test/quantities/test_multi_scenario_quantities.py +556 -0
- pyradplan-0.7.0/test/quantities/test_rbe_x_dose_quantity.py +451 -0
- pyradplan-0.7.0/test/quantities/test_resolver.py +215 -0
- pyradplan-0.7.0/test/quantities/test_sqrt_beta_dose_quantity.py +150 -0
- pyradplan-0.7.0/test/scenarios/test_scenario_dimensions.py +264 -0
- pyradplan-0.7.0/test/scenarios/test_scenario_gridded.py +236 -0
- pyradplan-0.7.0/test/scenarios/test_scenario_models.py +327 -0
- pyradplan-0.7.0/test/scenarios/test_scenario_random.py +176 -0
- pyradplan-0.7.0/test/scenarios/test_scenario_set.py +563 -0
- pyradplan-0.7.0/test/stf/test_beam_angle_presets.py +63 -0
- pyradplan-0.7.0/test/stf/test_beamlet.py +294 -0
- pyradplan-0.7.0/test/stf/test_stf.py +278 -0
- pyradplan-0.7.0/test/stf/test_stf_gen.py +626 -0
- pyradplan-0.7.0/test/test_dij_scenarios.py +642 -0
- pyradplan-0.7.0/test/test_keyboard_listener.py +102 -0
- pyradplan-0.7.0/test/test_plan.py +525 -0
- pyradplan-0.7.0/test/test_raytracersiddon.py +280 -0
- pyradplan-0.7.0/test/test_scenarios.py +185 -0
- pyradplan-0.7.0/test/visualization/test_plot_multiple_slices.py +287 -0
- pyradplan-0.7.0/test/visualization/test_plot_slice.py +203 -0
- pyradplan-0.6.1/PKG-INFO +0 -211
- pyradplan-0.6.1/pyRadPlan/analysis/_dvh_plot.py +0 -270
- pyradplan-0.6.1/pyRadPlan/core/__init__.py +0 -87
- pyradplan-0.6.1/pyRadPlan/core/_base_data.py +0 -326
- pyradplan-0.6.1/pyRadPlan/core/_configurable.py +0 -425
- pyradplan-0.6.1/pyRadPlan/core/_progress.py +0 -416
- pyradplan-0.6.1/pyRadPlan/core/datamodel.py +0 -157
- pyradplan-0.6.1/pyRadPlan/cst/_cst.py +0 -925
- pyradplan-0.6.1/pyRadPlan/cst/_voi.py +0 -1340
- pyradplan-0.6.1/pyRadPlan/ct/_ct.py +0 -590
- pyradplan-0.6.1/pyRadPlan/dij/_compose_beam_dijs.py +0 -55
- pyradplan-0.6.1/pyRadPlan/dij/_dij.py +0 -852
- pyradplan-0.6.1/pyRadPlan/dose/_calc_dose.py +0 -82
- pyradplan-0.6.1/pyRadPlan/dose/engines/_base.py +0 -980
- pyradplan-0.6.1/pyRadPlan/dose/engines/_base_montecarlo.py +0 -131
- pyradplan-0.6.1/pyRadPlan/dose/engines/_base_pencilbeam.py +0 -1336
- pyradplan-0.6.1/pyRadPlan/dose/engines/_base_pencilbeam_particle.py +0 -1175
- pyradplan-0.6.1/pyRadPlan/dose/engines/_fredmc.py +0 -1532
- pyradplan-0.6.1/pyRadPlan/dose/engines/_svdpb.py +0 -580
- pyradplan-0.6.1/pyRadPlan/dose/engines/_topasmc.py +0 -845
- pyradplan-0.6.1/pyRadPlan/gui/widgets/_analysis_widget.py +0 -910
- pyradplan-0.6.1/pyRadPlan/gui/widgets/_base.py +0 -254
- pyradplan-0.6.1/pyRadPlan/gui/widgets/_config_form.py +0 -608
- pyradplan-0.6.1/pyRadPlan/gui/widgets/_display_names.py +0 -276
- pyradplan-0.6.1/pyRadPlan/gui/widgets/_quantity_selector.py +0 -142
- pyradplan-0.6.1/pyRadPlan/gui/widgets/_result_widget.py +0 -861
- pyradplan-0.6.1/pyRadPlan/gui/widgets/analysis/_dvh.py +0 -512
- pyradplan-0.6.1/pyRadPlan/gui/widgets/optimization/_optimization_widget.py +0 -658
- pyradplan-0.6.1/pyRadPlan/gui/widgets/plan/_plan_widget.py +0 -1854
- pyradplan-0.6.1/pyRadPlan/gui/widgets/result/quantity_widget.py +0 -1610
- pyradplan-0.6.1/pyRadPlan/gui/widgets/result/visualization_widget.py +0 -195
- pyradplan-0.6.1/pyRadPlan/gui/widgets/workflow/_workflow_widget.py +0 -1669
- pyradplan-0.6.1/pyRadPlan/gui/windows/_analysis_win.py +0 -184
- pyradplan-0.6.1/pyRadPlan/io/matlab/_importer.py +0 -138
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/__init__.py +0 -46
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_eud.py +0 -66
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_max_dvh.py +0 -69
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_min_dvh.py +0 -69
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_objective.py +0 -358
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_squared_dev.py +0 -39
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_squared_mimicking.py +0 -49
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_squared_over.py +0 -43
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_squared_under.py +0 -42
- pyradplan-0.6.1/pyRadPlan/optimization/objectives/_std.py +0 -30
- pyradplan-0.6.1/pyRadPlan/optimization/problems/_nonlin_fluence.py +0 -292
- pyradplan-0.6.1/pyRadPlan/optimization/problems/_optiprob.py +0 -534
- pyradplan-0.6.1/pyRadPlan/optimization/problems/_simple_least_squares.py +0 -121
- pyradplan-0.6.1/pyRadPlan/plan/_plans.py +0 -445
- pyradplan-0.6.1/pyRadPlan/quantities/_alpha_dose.py +0 -33
- pyradplan-0.6.1/pyRadPlan/quantities/_base.py +0 -340
- pyradplan-0.6.1/pyRadPlan/quantities/_rbe_x_dose.py +0 -172
- pyradplan-0.6.1/pyRadPlan/quantities/_resolver.py +0 -138
- pyradplan-0.6.1/pyRadPlan/quantities/_sqrt_beta_dose.py +0 -36
- pyradplan-0.6.1/pyRadPlan/raytracer/_siddon.py +0 -575
- pyradplan-0.6.1/pyRadPlan/scenarios/__init__.py +0 -117
- pyradplan-0.6.1/pyRadPlan/scenarios/_base.py +0 -371
- pyradplan-0.6.1/pyRadPlan/scenarios/_nominal.py +0 -127
- pyradplan-0.6.1/pyRadPlan/stf/_beam.py +0 -265
- pyradplan-0.6.1/pyRadPlan/stf/_beamlet.py +0 -414
- pyradplan-0.6.1/pyRadPlan/stf/generators/_base.py +0 -213
- pyradplan-0.6.1/pyRadPlan/stf/generators/_ions.py +0 -399
- pyradplan-0.6.1/pyRadPlan/stf/generators/_vhee.py +0 -186
- pyradplan-0.6.1/pyRadPlan.egg-info/PKG-INFO +0 -211
- pyradplan-0.6.1/pyRadPlan.egg-info/SOURCES.txt +0 -333
- pyradplan-0.6.1/pyRadPlan.egg-info/requires.txt +0 -63
- pyradplan-0.6.1/pyproject.toml +0 -242
- pyradplan-0.6.1/test/test_keyboard_listener.py +0 -96
- pyradplan-0.6.1/test/test_plan.py +0 -447
- pyradplan-0.6.1/test/test_raytracersiddon.py +0 -245
- pyradplan-0.6.1/test/test_scenarios.py +0 -245
- {pyradplan-0.6.1 → pyradplan-0.7.0}/LICENSE +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/README.md +0 -0
- {pyradplan-0.6.1/pyRadPlan/gui/assets → pyradplan-0.7.0/docs/_static}/logos/dkfz_logo_blue.svg +0 -0
- {pyradplan-0.6.1/pyRadPlan/gui/assets → pyradplan-0.7.0/docs/_static}/logos/dkfz_logo_white.svg +0 -0
- {pyradplan-0.6.1/pyRadPlan/gui/assets → pyradplan-0.7.0/docs/_static}/logos/pyradplan_logo_full_landscape.svg +0 -0
- {pyradplan-0.6.1/pyRadPlan/gui/assets → pyradplan-0.7.0/docs/_static}/logos/pyradplan_logo_skull_square.svg +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/_lazy.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/_settings.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/agents/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/agents/_cst_agents.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/agents/_models.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/agents/_plan_agents.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/agents/_settings.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/agents/_usage.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/modelhub/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/modelhub/_load_model.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/modelhub/_preprocessor.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/modelhub/_registry.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/modelhub/_resolve.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ai/modelhub/_settings.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/analysis/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/analysis/_dvh.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/analysis/_qi.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/analysis/_units.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_engine.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_evaluator.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_influence.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_kernel_sets.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_models/const_rbe.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_models/kernel_based_lq_model.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_models/let_based_lq_models.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_models/lq_models.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_models/tabulated_rbe_models.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_models/zstar_based_lq_model.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_options.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_resolution.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/models/_tissue_lookup.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/_conversion.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/_presets.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/_provenance.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/_reference.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/biology/tissues/_sources.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/_exceptions.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/_grids.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/_paths.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/_units.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/np2sitk.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/resample.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/xp_utils/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/xp_utils/_backends.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/xp_utils/compat.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/xp_utils/helpers.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/xp_utils/jittable.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/core/xp_utils/typing.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/cst/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ct/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/ct/_hlut.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/ai_models/model_config.template.json +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/VHEE_Focused.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/VHEE_Generic.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/carbon_Generic.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/helium_Generic.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/oxygen_Generic.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/photons_Generic.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/machines/protons_Generic.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/phantoms/TG119.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/physics/stopping/SPtable.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/rbe/RBEtable_LEMI_Scholz06_AX01_BX005.mat +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/beam_setup/TOPAS_beam_setup_biGaussian.txt.in +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/material_converter/TOPAS_schneider_converter.txt.in +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/scorer/TOPAS_scorer_doseToMedium.txt.in +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/scorer/TOPAS_scorer_doseToWater.txt.in +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/scorer/TOPAS_subscorer_LET.txt.in +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/template/beamSetup_template.txt +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/template/patient_template.txt +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/data/topas/input/template/pyRadPlan_run_template.txt +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dij/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dose/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dose/engines/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dose/engines/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dose/engines/_hongpb.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dose/engines/kernels/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/dose/engines/kernels/_calc_geo_dists_kernel.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/geometry/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/geometry/lps.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/apps.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/assets/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/_base_data.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/_edit.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/_file.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/_help.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/_settings.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/menus/_view.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/_info_widget.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/_log_console.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/_logo_widget.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/_plot_theme.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/_tissue_params.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/_ui_mode.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/ai/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/ai/_ai_task_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/analysis/_gamma.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/analysis/_qi.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/analysis/_qi_point_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/optimization/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/optimization/_status_window.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/plan/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/plan/_optimization_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/plan/_tissue_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/result/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/result/_labels.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/result/_orientation_marker.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/result/_save_result_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/result/viewer_options_widget.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/result/vois_widget.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/workflow/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/workflow/_binary_import_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/workflow/_dicom_import_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/widgets/workflow/_image_import_dialog.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/windows/_main_win.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/windows/_result_win.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/windows/_splash_win.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/gui/workspace.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/_helpers.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/_load_save.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/base/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/base/_exporter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/base/_importer.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_export_common.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_export_cst.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_export_ct.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_export_dose.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_export_seg.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_exporter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_handler.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_helpers.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_import_cst.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_import_ct.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_import_dose.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/dicom/_importer.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/matlab/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/matlab/_exporter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/matlab/_handler.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/matlab/_matfile.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/npz/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/npz/_exporter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/npz/_handler.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/npz/_importer.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/npz/_serialize.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/pickle/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/pickle/_exporter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/pickle/_handler.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/pickle/_importer.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/_binary_import.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/base/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/base/_exporter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/base/_importer.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/base/_serialize.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/meta_image/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/nifti/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/io/sitk_based/nrrd/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/_load.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/_validate.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/base/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/base/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/base/_beam_modifier.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/base/_external_beam.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/base/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/base/_internal_beam.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_beam_cutoff.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_beam_emittance.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_beam_energy.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_beam_focus.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_beam_fragment_spectrum.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_ions.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/_vhee.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/kernel/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/kernel/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/kernel/_ions.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/particles/kernel/_vhee.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/photons/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/photons/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/photons/_calculate_machine_scale.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/photons/_linac.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/machines/photons/_svd_kernel.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/matRad/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/matRad/_engine.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/matRad/_matlab.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/matRad/_octave.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/_fluence_optimization.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/objectives/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/objectives/_mean.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/problems/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/problems/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/solvers/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/solvers/_base_solvers.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/solvers/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/solvers/_ipax_solver.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/solvers/_ipopt.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/optimization/solvers/_scipy_solver.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/plan/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/quantities/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/quantities/_dose.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/quantities/_effect.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/quantities/_let.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/quantities/_let_x_dose.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/raytracer/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/raytracer/_base.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/raytracer/_kernels.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/raytracer/_kernels_numba.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/_exceptions.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/_generate_stf.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/_presets.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/_rangeshifter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/_ray.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/_steeringinformation.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/generators/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/generators/_externalbeam.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/generators/_factory.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/stf/generators/_photons.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/util/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/util/_jupyter.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/util/helpers.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/util/keyboard_listener.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/util/logging_utils.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/util/openmp.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/visualization/__init__.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/visualization/_plot_multiple_slices.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan/visualization/_plot_slice.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan.egg-info/dependency_links.txt +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan.egg-info/entry_points.txt +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/pyRadPlan.egg-info/top_level.txt +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/setup.cfg +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_dij.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_grid.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_helpers.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_lazy_imports.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_logging_utils.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_machine_model.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_matlabEngine.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_matrad_octave.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_octaveEngine.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_openmp.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_raytracer_kernels.py +0 -0
- {pyradplan-0.6.1 → pyradplan-0.7.0}/test/test_settings.py +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# pyRadPlan AI Agents configuration
|
|
2
|
+
# Copy this file to .env and fill in your values.
|
|
3
|
+
|
|
4
|
+
# Model to use for AI agents (default: claude-sonnet-4-5)
|
|
5
|
+
# PYRADPLAN_AI_AGENTS_MODEL=claude-sonnet-4-5
|
|
6
|
+
|
|
7
|
+
# Display usage info for API calls (default: true)
|
|
8
|
+
# PYRADPLAN_AI_AGENTS_DISPLAY_USAGE=true
|
|
9
|
+
|
|
10
|
+
# API keys — set the one matching your chosen model's provider.
|
|
11
|
+
# pydantic-ai reads these directly; do not prefix them with PYRADPLAN_AI_.
|
|
12
|
+
# ANTHROPIC_API_KEY=sk-ant-...
|
|
13
|
+
# OPENAI_API_KEY=sk-proj-...
|
|
14
|
+
# GOOGLE_API_KEY=...
|
|
15
|
+
# MISTRAL_API_KEY=...
|
|
16
|
+
|
|
17
|
+
# pyRadPlan data location
|
|
18
|
+
|
|
19
|
+
# Root directory for pyRadPlan's writable data (downloaded AI models and, later,
|
|
20
|
+
# datasets it fetches). Defaults to "~/.pyradplan". A "~" is expanded.
|
|
21
|
+
# PYRADPLAN_DATA_DIR=~/.pyradplan
|
|
22
|
+
|
|
23
|
+
# pyRadPlan AI model handling configuration
|
|
24
|
+
|
|
25
|
+
# Base directory for local AI models. Defaults to "<data_dir>/ai_models". When
|
|
26
|
+
# set, models are downloaded into / loaded from "<path>/<org>/<repo>" and used
|
|
27
|
+
# as the default local_dir for load_model(). Set to "" to use the HuggingFace
|
|
28
|
+
# cache only.
|
|
29
|
+
# PYRADPLAN_AI_MODELHUB_LOCAL_MODELS_DIR=/path/to/ai_models
|
|
30
|
+
|
|
31
|
+
# HF_HUB_DISABLE_SYMLINKS_WARNING=1 # suppress warning about symlinks
|
|
32
|
+
|
|
33
|
+
# HuggingFace organization/namespace hosting the model repositories.
|
|
34
|
+
# PYRADPLAN_AI_MODELHUB_HF_ORG=DKFZ-RadOpt
|
|
35
|
+
|
|
36
|
+
# HuggingFace cache directory (default: the HuggingFace default / HF_HOME)
|
|
37
|
+
# PYRADPLAN_AI_MODELHUB_CACHE_DIR=/path/to/hf_cache
|
|
38
|
+
|
|
39
|
+
# Force offline mode (only use cached / local files). (default: false)
|
|
40
|
+
# PYRADPLAN_AI_MODELHUB_OFFLINE=true
|
|
41
|
+
|
|
42
|
+
# Allow loading a model fetched from the HuggingFace Hub to execute the Python
|
|
43
|
+
# it ships (model.py, preprocessor.py). Only enable for sources you trust; a
|
|
44
|
+
# directory passed explicitly as load_model(local_dir=...) is exempt.
|
|
45
|
+
# (default: false)
|
|
46
|
+
# PYRADPLAN_AI_MODELHUB_TRUST_REMOTE_CODE=true
|
|
47
|
+
|
|
48
|
+
# Device to load models onto (default: cpu)
|
|
49
|
+
# PYRADPLAN_AI_MODELHUB_DEVICE=cuda
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: Bug Report
|
|
2
|
+
description: Report a bug or unexpected behavior in pyRadPlan
|
|
3
|
+
labels: ["bug"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thanks for taking the time to report a bug! Please fill out the sections below as completely as possible.
|
|
9
|
+
Before submitting, check whether the issue already exists.
|
|
10
|
+
|
|
11
|
+
- type: textarea
|
|
12
|
+
id: description
|
|
13
|
+
attributes:
|
|
14
|
+
label: Bug Description
|
|
15
|
+
description: A clear and concise description of what the bug is.
|
|
16
|
+
placeholder: Describe the unexpected behavior...
|
|
17
|
+
validations:
|
|
18
|
+
required: true
|
|
19
|
+
|
|
20
|
+
- type: textarea
|
|
21
|
+
id: reproduction
|
|
22
|
+
attributes:
|
|
23
|
+
label: Steps to Reproduce
|
|
24
|
+
description: Minimal steps or a minimal script to reproduce the behavior.
|
|
25
|
+
placeholder: |
|
|
26
|
+
1. Import pyRadPlan with `...`
|
|
27
|
+
2. Run `...`
|
|
28
|
+
3. See error
|
|
29
|
+
validations:
|
|
30
|
+
required: true
|
|
31
|
+
|
|
32
|
+
- type: textarea
|
|
33
|
+
id: expected
|
|
34
|
+
attributes:
|
|
35
|
+
label: Expected Behavior
|
|
36
|
+
description: What did you expect to happen?
|
|
37
|
+
validations:
|
|
38
|
+
required: true
|
|
39
|
+
|
|
40
|
+
- type: textarea
|
|
41
|
+
id: actual
|
|
42
|
+
attributes:
|
|
43
|
+
label: Actual Behavior
|
|
44
|
+
description: What actually happened? Include the full traceback if applicable.
|
|
45
|
+
render: python
|
|
46
|
+
validations:
|
|
47
|
+
required: true
|
|
48
|
+
|
|
49
|
+
- type: textarea
|
|
50
|
+
id: environment
|
|
51
|
+
attributes:
|
|
52
|
+
label: Environment
|
|
53
|
+
description: Please provide relevant environment information.
|
|
54
|
+
placeholder: |
|
|
55
|
+
- pyRadPlan version:
|
|
56
|
+
- Python version:
|
|
57
|
+
- OS:
|
|
58
|
+
- Compute backend (numpy / cupy / pytorch):
|
|
59
|
+
- Relevant dependency versions (e.g. pydantic, SimpleITK):
|
|
60
|
+
validations:
|
|
61
|
+
required: true
|
|
62
|
+
|
|
63
|
+
- type: textarea
|
|
64
|
+
id: additional
|
|
65
|
+
attributes:
|
|
66
|
+
label: Additional Context
|
|
67
|
+
description: Any other context, screenshots, or data files that may help diagnose the issue.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: Feature Request
|
|
2
|
+
description: Propose a new feature or enhancement for pyRadPlan
|
|
3
|
+
labels: ["enhancement"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thanks for suggesting a feature! We recommend getting in touch with the team first so we can avoid duplicating work.
|
|
9
|
+
See [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md) for guidance.
|
|
10
|
+
|
|
11
|
+
- type: textarea
|
|
12
|
+
id: motivation
|
|
13
|
+
attributes:
|
|
14
|
+
label: Motivation
|
|
15
|
+
description: |
|
|
16
|
+
What problem does this feature solve? What use case or workflow would it enable?
|
|
17
|
+
Link related issues if applicable.
|
|
18
|
+
placeholder: I often find myself needing to...
|
|
19
|
+
validations:
|
|
20
|
+
required: true
|
|
21
|
+
|
|
22
|
+
- type: textarea
|
|
23
|
+
id: description
|
|
24
|
+
attributes:
|
|
25
|
+
label: Proposed Feature
|
|
26
|
+
description: A clear and concise description of the feature or enhancement you'd like to see.
|
|
27
|
+
validations:
|
|
28
|
+
required: true
|
|
29
|
+
|
|
30
|
+
- type: textarea
|
|
31
|
+
id: api
|
|
32
|
+
attributes:
|
|
33
|
+
label: Suggested API / Interface
|
|
34
|
+
description: |
|
|
35
|
+
If applicable, sketch out how the feature might look from a user's perspective
|
|
36
|
+
(e.g., a short Python snippet using the top-level or low-level API).
|
|
37
|
+
render: python
|
|
38
|
+
|
|
39
|
+
- type: dropdown
|
|
40
|
+
id: modality
|
|
41
|
+
attributes:
|
|
42
|
+
label: Relevant Modality / Workflow Step
|
|
43
|
+
description: Which part of the treatment planning workflow does this concern?
|
|
44
|
+
multiple: true
|
|
45
|
+
options:
|
|
46
|
+
- Patient / CT data structures
|
|
47
|
+
- Dose calculation (photons)
|
|
48
|
+
- Dose calculation (ions / protons)
|
|
49
|
+
- Steering geometry (STF)
|
|
50
|
+
- Fluence optimization
|
|
51
|
+
- matRad / Octave interface
|
|
52
|
+
- DevOps / CI
|
|
53
|
+
- Documentation
|
|
54
|
+
- Other
|
|
55
|
+
|
|
56
|
+
- type: textarea
|
|
57
|
+
id: alternatives
|
|
58
|
+
attributes:
|
|
59
|
+
label: Alternatives Considered
|
|
60
|
+
description: Any alternative approaches or workarounds you have considered.
|
|
61
|
+
|
|
62
|
+
- type: checkboxes
|
|
63
|
+
id: contribution
|
|
64
|
+
attributes:
|
|
65
|
+
label: Contribution
|
|
66
|
+
options:
|
|
67
|
+
- label: I am willing to implement this feature and open a pull request.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
## Release
|
|
2
|
+
|
|
3
|
+
<!-- Pull request to cut a new release of pyRadPlan into `main`, opened with
|
|
4
|
+
`gh pr create --base main --template release.md`.
|
|
5
|
+
Releases are cut from a release candidate branch `rc/X.Y.Z` branched off `develop`,
|
|
6
|
+
never from `develop` directly: that keeps `develop` open for regular work while the
|
|
7
|
+
candidate is stabilised, reviewed and version-bumped. -->
|
|
8
|
+
|
|
9
|
+
Version: `vX.Y.Z`
|
|
10
|
+
|
|
11
|
+
## Type of Release
|
|
12
|
+
|
|
13
|
+
<!-- Check one. Follows Semantic Versioning (https://semver.org). -->
|
|
14
|
+
|
|
15
|
+
- [ ] Major (`X.0.0`) — incompatible API changes
|
|
16
|
+
- [ ] Minor (`X.Y.0`) — new functionality, backwards compatible
|
|
17
|
+
- [ ] Patch (`X.Y.Z`) — backwards compatible bug fixes
|
|
18
|
+
- [ ] Pre-release (e.g. `X.Y.Z-rc1`, not uploaded to PyPI)
|
|
19
|
+
|
|
20
|
+
## Highlights
|
|
21
|
+
|
|
22
|
+
<!-- A few bullet points on the most important changes for users in this release.
|
|
23
|
+
Pull from the [Unreleased] section of CHANGELOG.md. -->
|
|
24
|
+
|
|
25
|
+
## Checklist
|
|
26
|
+
|
|
27
|
+
<!-- All items must be checked before this PR can be merged. -->
|
|
28
|
+
|
|
29
|
+
- [ ] This PR targets the `main` branch from `rc/X.Y.Z` (not from `develop`), and `rc/X.Y.Z` was branched from `develop`.
|
|
30
|
+
- [ ] Review performed, all resulting fixes applied or explicitly approved, and no open threads remain.
|
|
31
|
+
- [ ] Full test suite passes locally (`pytest test`).
|
|
32
|
+
- [ ] Documentation builds without errors.
|
|
33
|
+
- [ ] The desktop installers build: the "Desktop installers" workflow (all three platforms) is green.
|
|
34
|
+
- [ ] No outstanding deprecations are due to be removed in this version (or they have been removed).
|
|
35
|
+
- [ ] The pre-commit hook has been run and all files are formatted (`ruff`).
|
|
36
|
+
- [ ] Executed example notebooks up to date on `rc/X.Y.Z` once the review is addressed and CI is green (examples are never executed in CI or on Read the Docs). They stay tracked in `docs/tutorials/examples/` from the last release: for every example whose script or results changed, `python docs/execute_examples.py --release <name>` executes it without errors and stages it (`git add -f`, the folder is git-ignored; without a name it runs all runnable examples); commit them on `rc/X.Y.Z`. A local docs build shows their outputs and no "older than its script" warning.
|
|
37
|
+
- [ ] Last commit before merging, once the release code is final: version bumped in `pyproject.toml`, `CHANGELOG.md` `[Unreleased]` section renamed to `[X.Y.Z] - YYYY-MM-DD` with a fresh empty `[Unreleased]` section added on top, and `CITATION.cff` updated (version, date-released, authors if applicable).
|
|
38
|
+
|
|
39
|
+
## Post-Merge Actions
|
|
40
|
+
|
|
41
|
+
<!-- Steps to perform after the PR is merged into `main`. -->
|
|
42
|
+
|
|
43
|
+
- [ ] Tag the release commit on `main` with an annotated tag `vX.Y.Z` (the tag message becomes part of the release notes).
|
|
44
|
+
- [ ] Push the tag to GitHub to trigger the workflows `release.yml`, `publish.yml` (PyPI), `installers.yml` and `container.yml`.
|
|
45
|
+
- [ ] Verify the release was published with the correct notes from `CHANGELOG.md` and the tag annotation.
|
|
46
|
+
- [ ] Once the "Desktop installers" workflow of the tag has finished, verify the GitHub release carries the Windows (`.msi`), macOS (`.dmg`) and Linux (`.deb`) installers.
|
|
47
|
+
- [ ] Once the "Publish" workflow of the tag has finished, verify the PyPI release: version `X.Y.Z` is listed, the sdist and wheel are present, and `pip install pyRadPlan==X.Y.Z` resolves in a clean environment.
|
|
48
|
+
- [ ] Verify Read the Docs built the release (`stable` / `vX.Y.Z`) with the example outputs.
|
|
49
|
+
- [ ] Merge `main` back into `develop` to keep branches in sync, including the executed notebooks.
|
|
50
|
+
- [ ] Delete the `rc/X.Y.Z` branch.
|
|
51
|
+
|
|
52
|
+
## Additional Notes
|
|
53
|
+
|
|
54
|
+
<!-- Breaking changes, migration notes for users, known issues, or anything else worth flagging. -->
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
## Description
|
|
2
|
+
|
|
3
|
+
<!-- Provide a clear summary of the changes and the motivation behind them.
|
|
4
|
+
Link the related issue(s) below. -->
|
|
5
|
+
|
|
6
|
+
Closes #<!-- issue number -->
|
|
7
|
+
|
|
8
|
+
## Type of Change
|
|
9
|
+
|
|
10
|
+
<!-- Check all that apply. -->
|
|
11
|
+
|
|
12
|
+
- [ ] Bug fix
|
|
13
|
+
- [ ] Hotfix for a breaking change on `main`
|
|
14
|
+
- [ ] New feature
|
|
15
|
+
- [ ] Refactor
|
|
16
|
+
- [ ] Interface to external software
|
|
17
|
+
- [ ] DevOps / CI
|
|
18
|
+
- [ ] Documentation
|
|
19
|
+
- [ ] Other — please describe:
|
|
20
|
+
|
|
21
|
+
## Checklist
|
|
22
|
+
|
|
23
|
+
<!-- All items must be checked before this PR can be merged. -->
|
|
24
|
+
|
|
25
|
+
- [ ] This PR targets the `develop` branch (or `main` for hotfixes and documentation only).
|
|
26
|
+
- [ ] The pre-commit hook has been run and all files are formatted (`ruff`).
|
|
27
|
+
- [ ] Unit tests pass locally (`pytest test`).
|
|
28
|
+
- [ ] New or changed code is covered by tests; coverage has not dropped significantly.
|
|
29
|
+
- [ ] `CHANGELOG.md` has been updated in the `[UNRELEASED]` section following [Keep a Changelog](https://keepachangelog.com/) conventions.
|
|
30
|
+
- [ ] If example scripts in `examples/` were added or changed: they run (`python docs/execute_examples.py <name>`); no notebooks are committed, the docs build generates them (executed notebooks only change on release commits).
|
|
31
|
+
- [ ] If new contributor: Authors in `CITATION.cff` and `pyproject.toml` have been updated.
|
|
32
|
+
|
|
33
|
+
## Testing
|
|
34
|
+
|
|
35
|
+
<!-- Describe how the changes were tested. Include relevant pytest commands or test file names. -->
|
|
36
|
+
|
|
37
|
+
## Additional Notes
|
|
38
|
+
|
|
39
|
+
<!-- Anything else reviewers should know: breaking changes, performance implications, open questions, etc. -->
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: github-actions
|
|
4
|
+
directory: /
|
|
5
|
+
target-branch: develop
|
|
6
|
+
schedule:
|
|
7
|
+
interval: weekly
|
|
8
|
+
groups:
|
|
9
|
+
actions:
|
|
10
|
+
patterns:
|
|
11
|
+
- "*"
|
|
12
|
+
- package-ecosystem: pip
|
|
13
|
+
directory: /
|
|
14
|
+
target-branch: develop
|
|
15
|
+
schedule:
|
|
16
|
+
interval: weekly
|
|
17
|
+
open-pull-requests-limit: 5
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: Container
|
|
2
|
+
|
|
3
|
+
# Builds the image of packaging/container (the pyRadPlan GUI in a web browser, see its
|
|
4
|
+
# README) and checks that it works with packaging/container/smoke_test.sh, which the GitLab
|
|
5
|
+
# pipeline runs as well. For a v* tag the tested image is published to the GitHub Container
|
|
6
|
+
# Registry as ghcr.io/<owner>/pyradplan-web:<version>, and as :latest unless the version is
|
|
7
|
+
# a pre-release.
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
branches:
|
|
12
|
+
- main
|
|
13
|
+
- 'rc/**'
|
|
14
|
+
- 'devops/**'
|
|
15
|
+
tags:
|
|
16
|
+
- 'v*'
|
|
17
|
+
paths: &paths
|
|
18
|
+
- 'pyRadPlan/**'
|
|
19
|
+
- 'pyproject.toml'
|
|
20
|
+
- 'packaging/container/**'
|
|
21
|
+
- 'packaging/briefcase/scripts/collect_licenses.py'
|
|
22
|
+
- '.github/workflows/container.yml'
|
|
23
|
+
pull_request:
|
|
24
|
+
branches:
|
|
25
|
+
- main
|
|
26
|
+
paths: *paths
|
|
27
|
+
workflow_dispatch:
|
|
28
|
+
|
|
29
|
+
concurrency:
|
|
30
|
+
group: container-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || github.ref }}
|
|
31
|
+
cancel-in-progress: ${{ github.ref_type != 'tag' && github.ref != 'refs/heads/main' }}
|
|
32
|
+
|
|
33
|
+
jobs:
|
|
34
|
+
build:
|
|
35
|
+
runs-on: ubuntu-24.04
|
|
36
|
+
timeout-minutes: 45
|
|
37
|
+
permissions:
|
|
38
|
+
contents: read
|
|
39
|
+
packages: write # for publishing; the token of a pull request from a fork is read-only anyway
|
|
40
|
+
|
|
41
|
+
steps:
|
|
42
|
+
- uses: actions/checkout@v7
|
|
43
|
+
|
|
44
|
+
- name: Build the image
|
|
45
|
+
env:
|
|
46
|
+
VERSION: ${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
|
|
47
|
+
run: |
|
|
48
|
+
docker build -f packaging/container/Dockerfile \
|
|
49
|
+
--build-arg VERSION="$VERSION" --build-arg REVISION="$GITHUB_SHA" \
|
|
50
|
+
-t pyradplan-web .
|
|
51
|
+
|
|
52
|
+
- name: Start a session
|
|
53
|
+
run: docker run -d --name web -e XPRA_PASSWORD=ci-test pyradplan-web
|
|
54
|
+
|
|
55
|
+
- name: Smoke test
|
|
56
|
+
run: sh packaging/container/smoke_test.sh web
|
|
57
|
+
|
|
58
|
+
- name: Container log
|
|
59
|
+
if: always()
|
|
60
|
+
run: docker logs web || true
|
|
61
|
+
|
|
62
|
+
- name: Publish to the GitHub Container Registry
|
|
63
|
+
if: github.ref_type == 'tag'
|
|
64
|
+
env:
|
|
65
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
66
|
+
run: |
|
|
67
|
+
image="ghcr.io/$(echo "$GITHUB_REPOSITORY_OWNER" | tr '[:upper:]' '[:lower:]')/pyradplan-web"
|
|
68
|
+
version="${GITHUB_REF_NAME#v}"
|
|
69
|
+
echo "$GH_TOKEN" | docker login ghcr.io -u "$GITHUB_ACTOR" --password-stdin
|
|
70
|
+
docker tag pyradplan-web "$image:$version"
|
|
71
|
+
docker push "$image:$version"
|
|
72
|
+
if echo "$version" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
|
|
73
|
+
docker tag pyradplan-web "$image:latest"
|
|
74
|
+
docker push "$image:latest"
|
|
75
|
+
fi
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Copyright year
|
|
2
|
+
|
|
3
|
+
# Opens a pull request into develop that moves the copyright year to the current one, once a
|
|
4
|
+
# year or when started by hand. Needs "Allow GitHub Actions to create and approve pull requests"
|
|
5
|
+
# in the repository settings. Events caused by the workflow's GITHUB_TOKEN do not start other
|
|
6
|
+
# workflows, so the checks of the pull request only start once it is closed and reopened.
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
schedule:
|
|
10
|
+
- cron: '0 6 2 1 *'
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
bump:
|
|
15
|
+
if: github.repository == 'e0404/pyRadPlan'
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
timeout-minutes: 5
|
|
18
|
+
permissions:
|
|
19
|
+
contents: write
|
|
20
|
+
pull-requests: write
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v7
|
|
23
|
+
with:
|
|
24
|
+
ref: develop
|
|
25
|
+
|
|
26
|
+
- name: Update the year
|
|
27
|
+
id: bump
|
|
28
|
+
run: |
|
|
29
|
+
year=$(date +%Y)
|
|
30
|
+
sed -E -i "s/(Copyright \(c\) [0-9]{4}-)[0-9]{4}/\1$year/" LICENSE pyRadPlan/gui/menus/_help.py
|
|
31
|
+
sed -E -i "s/^(copyright = \")[0-9]{4}/\1$year/" docs/conf.py
|
|
32
|
+
echo "year=$year" >> "$GITHUB_OUTPUT"
|
|
33
|
+
if git diff --quiet; then
|
|
34
|
+
echo "The copyright year is already $year."
|
|
35
|
+
echo "changed=false" >> "$GITHUB_OUTPUT"
|
|
36
|
+
else
|
|
37
|
+
echo "changed=true" >> "$GITHUB_OUTPUT"
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
- name: Open the pull request
|
|
41
|
+
if: steps.bump.outputs.changed == 'true'
|
|
42
|
+
env:
|
|
43
|
+
GH_TOKEN: ${{ github.token }}
|
|
44
|
+
YEAR: ${{ steps.bump.outputs.year }}
|
|
45
|
+
run: |
|
|
46
|
+
branch="devops/copyright-$YEAR"
|
|
47
|
+
git config user.name "github-actions[bot]"
|
|
48
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
49
|
+
git switch -c "$branch"
|
|
50
|
+
git commit -a -m "Update the copyright year to $YEAR"
|
|
51
|
+
git push origin "$branch"
|
|
52
|
+
gh pr create --base develop --head "$branch" \
|
|
53
|
+
--title "Update the copyright year to $YEAR" \
|
|
54
|
+
--body "Close and reopen this pull request to start its checks: pull requests opened by a workflow do not start them."
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
name: Desktop installers
|
|
2
|
+
|
|
3
|
+
# Builds the Briefcase desktop bundle of the pyRadPlan GUI (packaging/briefcase)
|
|
4
|
+
# as a Windows MSI, a macOS DMG and a Linux .deb. It runs on main, on the release
|
|
5
|
+
# candidate branches rc/* and on pull requests into main (the release PR from
|
|
6
|
+
# rc/X.Y.Z), so a broken installer shows up before a release, and on v* tags, where
|
|
7
|
+
# the installers are attached to the release of the tag. The devops/* branches are
|
|
8
|
+
# for trying out changes to the pipelines. It can also be started manually.
|
|
9
|
+
#
|
|
10
|
+
# The tag push (not the "release published" event) is the trigger: release.yml
|
|
11
|
+
# creates the release with the workflow's GITHUB_TOKEN, and events caused by that
|
|
12
|
+
# token do not start other workflows. The release is attached to by tag name, so it
|
|
13
|
+
# does not matter which of the two workflows reaches it first.
|
|
14
|
+
|
|
15
|
+
on:
|
|
16
|
+
push:
|
|
17
|
+
branches:
|
|
18
|
+
- main
|
|
19
|
+
- 'rc/**'
|
|
20
|
+
- 'devops/**'
|
|
21
|
+
tags:
|
|
22
|
+
- 'v*'
|
|
23
|
+
pull_request:
|
|
24
|
+
branches:
|
|
25
|
+
- main
|
|
26
|
+
workflow_dispatch:
|
|
27
|
+
inputs:
|
|
28
|
+
attach_to_release:
|
|
29
|
+
description: Attach the installers to the GitHub release of this tag (needs a tag ref)
|
|
30
|
+
type: boolean
|
|
31
|
+
default: false
|
|
32
|
+
|
|
33
|
+
permissions:
|
|
34
|
+
contents: read
|
|
35
|
+
|
|
36
|
+
# A newer push to a branch or pull request makes the build of the older one obsolete.
|
|
37
|
+
# Builds of main and of tags are never cancelled. A push to an rc branch and the pull
|
|
38
|
+
# request opened from it build different commits (the branch head, and its merge into
|
|
39
|
+
# main), so both run.
|
|
40
|
+
concurrency:
|
|
41
|
+
group: installers-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || github.ref }}
|
|
42
|
+
cancel-in-progress: ${{ github.ref_type != 'tag' && github.ref != 'refs/heads/main' }}
|
|
43
|
+
|
|
44
|
+
env:
|
|
45
|
+
# Briefcase re-prints the app's output; keep that from failing on non-UTF-8 consoles.
|
|
46
|
+
PYTHONUTF8: "1"
|
|
47
|
+
|
|
48
|
+
jobs:
|
|
49
|
+
build:
|
|
50
|
+
name: ${{ matrix.label }}
|
|
51
|
+
runs-on: ${{ matrix.os }}
|
|
52
|
+
timeout-minutes: ${{ matrix.timeout-minutes }}
|
|
53
|
+
strategy:
|
|
54
|
+
fail-fast: false
|
|
55
|
+
matrix:
|
|
56
|
+
include:
|
|
57
|
+
- os: windows-latest
|
|
58
|
+
label: windows app
|
|
59
|
+
platform: windows
|
|
60
|
+
format: app
|
|
61
|
+
artifact: pyRadPlan-windows-installer
|
|
62
|
+
package-args: ""
|
|
63
|
+
timeout-minutes: 90
|
|
64
|
+
# Briefcase builds for the architecture of the machine (universal_build = false),
|
|
65
|
+
# so Apple silicon and Intel Macs each get their own installer.
|
|
66
|
+
- os: macos-latest
|
|
67
|
+
label: macOS app (arm64)
|
|
68
|
+
platform: macOS
|
|
69
|
+
arch: arm64
|
|
70
|
+
format: app
|
|
71
|
+
artifact: pyRadPlan-macos-arm64-installer
|
|
72
|
+
package-args: --adhoc-sign
|
|
73
|
+
timeout-minutes: 60
|
|
74
|
+
- os: macos-15-intel
|
|
75
|
+
label: macOS app (x86_64)
|
|
76
|
+
platform: macOS
|
|
77
|
+
arch: x86_64
|
|
78
|
+
format: app
|
|
79
|
+
artifact: pyRadPlan-macos-x86_64-installer
|
|
80
|
+
package-args: --adhoc-sign
|
|
81
|
+
timeout-minutes: 60
|
|
82
|
+
# Pinned: the .deb is built for, and needs, the distribution it is built on, and
|
|
83
|
+
# ubuntu-latest moves to Ubuntu 26 in October 2026. The GitLab job uses Debian 13.
|
|
84
|
+
- os: ubuntu-24.04
|
|
85
|
+
label: linux system
|
|
86
|
+
platform: linux
|
|
87
|
+
format: system
|
|
88
|
+
artifact: pyRadPlan-linux-installer
|
|
89
|
+
package-args: ""
|
|
90
|
+
timeout-minutes: 60
|
|
91
|
+
defaults:
|
|
92
|
+
run:
|
|
93
|
+
shell: bash
|
|
94
|
+
|
|
95
|
+
steps:
|
|
96
|
+
- uses: actions/checkout@v7
|
|
97
|
+
with:
|
|
98
|
+
fetch-tags: true
|
|
99
|
+
|
|
100
|
+
- name: Set up Python 3.12
|
|
101
|
+
if: runner.os != 'Linux'
|
|
102
|
+
uses: actions/setup-python@v7
|
|
103
|
+
with:
|
|
104
|
+
python-version: "3.12"
|
|
105
|
+
cache: pip
|
|
106
|
+
cache-dependency-path: packaging/briefcase/pyproject.toml
|
|
107
|
+
|
|
108
|
+
# Briefcase builds Linux system packages with the distribution's own python3
|
|
109
|
+
# (3.12 on Ubuntu 24.04) and refuses any other interpreter, so no setup-python
|
|
110
|
+
# here. The Qt libraries are the system_runtime_requires of the Briefcase
|
|
111
|
+
# project, which Briefcase verifies, plus the ones the test suite installs.
|
|
112
|
+
- name: Install system packages (Linux)
|
|
113
|
+
if: runner.os == 'Linux'
|
|
114
|
+
run: |
|
|
115
|
+
sudo apt-get update
|
|
116
|
+
sudo apt-get install -y \
|
|
117
|
+
gnupg python3-dev python3-pip python3-venv build-essential dpkg-dev \
|
|
118
|
+
libgl1 libegl1 libxkbcommon-x11-0 libdbus-1-3 libfontconfig1 \
|
|
119
|
+
libxcb-cursor0 libxcb-icccm4 libxcb-keysyms1 libxcb-shape0 libxcb-xkb1 \
|
|
120
|
+
libglib2.0-0 libnss3 libasound2t64
|
|
121
|
+
|
|
122
|
+
- name: Install Briefcase
|
|
123
|
+
run: |
|
|
124
|
+
if [[ "$RUNNER_OS" == "Linux" ]]; then
|
|
125
|
+
# A venv of /usr/bin/python3 reports the same sys.version, which is
|
|
126
|
+
# what Briefcase checks for the system packaging format.
|
|
127
|
+
python3 -m venv "$HOME/briefcase-venv"
|
|
128
|
+
"$HOME/briefcase-venv/bin/python" -m pip install --upgrade pip
|
|
129
|
+
"$HOME/briefcase-venv/bin/python" -m pip install "briefcase==0.4.7"
|
|
130
|
+
echo "$HOME/briefcase-venv/bin" >> "$GITHUB_PATH"
|
|
131
|
+
else
|
|
132
|
+
python -m pip install --upgrade pip
|
|
133
|
+
python -m pip install "briefcase==0.4.7"
|
|
134
|
+
fi
|
|
135
|
+
|
|
136
|
+
- name: Sync the app version and changelog with pyRadPlan
|
|
137
|
+
run: python packaging/briefcase/scripts/sync_version.py
|
|
138
|
+
|
|
139
|
+
- name: Create the app scaffold
|
|
140
|
+
working-directory: packaging/briefcase
|
|
141
|
+
run: python scripts/run_briefcase.py create ${{ matrix.platform }} ${{ matrix.format }} --no-input
|
|
142
|
+
|
|
143
|
+
- name: Build the app
|
|
144
|
+
working-directory: packaging/briefcase
|
|
145
|
+
run: python scripts/run_briefcase.py build ${{ matrix.platform }} ${{ matrix.format }} --no-input
|
|
146
|
+
|
|
147
|
+
- name: Run the bundled smoke test
|
|
148
|
+
working-directory: packaging/briefcase
|
|
149
|
+
env:
|
|
150
|
+
QT_QPA_PLATFORM: offscreen
|
|
151
|
+
run: python scripts/run_briefcase.py run ${{ matrix.platform }} ${{ matrix.format }} --test --no-input
|
|
152
|
+
|
|
153
|
+
# `run --test` copied the test sources into the bundle; refresh the app code
|
|
154
|
+
# (not the requirements) so the installer ships without them.
|
|
155
|
+
- name: Drop the test sources from the bundle
|
|
156
|
+
working-directory: packaging/briefcase
|
|
157
|
+
run: python scripts/run_briefcase.py build ${{ matrix.platform }} ${{ matrix.format }} --update --no-input
|
|
158
|
+
|
|
159
|
+
- name: Collect third-party license notices
|
|
160
|
+
working-directory: packaging/briefcase
|
|
161
|
+
run: python scripts/collect_licenses.py --check
|
|
162
|
+
|
|
163
|
+
- name: Package the installer
|
|
164
|
+
working-directory: packaging/briefcase
|
|
165
|
+
run: python scripts/run_briefcase.py package ${{ matrix.platform }} ${{ matrix.format }} ${{ matrix.package-args }} --no-input
|
|
166
|
+
|
|
167
|
+
# The macOS DMG and its license notices are named after the platform only, so the
|
|
168
|
+
# builds of the two architectures would overwrite each other in the release.
|
|
169
|
+
- name: Name the macOS installer after its architecture
|
|
170
|
+
if: runner.os == 'macOS'
|
|
171
|
+
working-directory: packaging/briefcase/dist
|
|
172
|
+
run: |
|
|
173
|
+
for f in *.dmg; do mv "$f" "${f%.dmg}-${{ matrix.arch }}.dmg"; done
|
|
174
|
+
mv THIRD_PARTY_NOTICES-macos.txt "THIRD_PARTY_NOTICES-macos-${{ matrix.arch }}.txt"
|
|
175
|
+
|
|
176
|
+
- name: List the installer
|
|
177
|
+
working-directory: packaging/briefcase
|
|
178
|
+
run: ls -l dist
|
|
179
|
+
|
|
180
|
+
- name: Upload the installer
|
|
181
|
+
uses: actions/upload-artifact@v7
|
|
182
|
+
with:
|
|
183
|
+
name: ${{ matrix.artifact }}
|
|
184
|
+
path: packaging/briefcase/dist/*
|
|
185
|
+
if-no-files-found: error
|
|
186
|
+
# Builds of every push are only for looking at; the release keeps the tag's.
|
|
187
|
+
retention-days: ${{ github.ref_type == 'tag' && 90 || 14 }}
|
|
188
|
+
|
|
189
|
+
- name: Upload the Briefcase logs
|
|
190
|
+
if: failure()
|
|
191
|
+
uses: actions/upload-artifact@v7
|
|
192
|
+
with:
|
|
193
|
+
name: ${{ matrix.artifact }}-logs
|
|
194
|
+
path: packaging/briefcase/logs/
|
|
195
|
+
if-no-files-found: ignore
|
|
196
|
+
|
|
197
|
+
attach:
|
|
198
|
+
name: Attach to release
|
|
199
|
+
needs: build
|
|
200
|
+
# Only a tag has a release to attach to; a manual run on one has to ask for it.
|
|
201
|
+
if: github.ref_type == 'tag' && (github.event_name == 'push' || inputs.attach_to_release)
|
|
202
|
+
runs-on: ubuntu-latest
|
|
203
|
+
permissions:
|
|
204
|
+
contents: write
|
|
205
|
+
|
|
206
|
+
steps:
|
|
207
|
+
- name: Download the installers
|
|
208
|
+
uses: actions/download-artifact@v8
|
|
209
|
+
with:
|
|
210
|
+
pattern: pyRadPlan-*-installer
|
|
211
|
+
path: installers
|
|
212
|
+
merge-multiple: true
|
|
213
|
+
|
|
214
|
+
- name: List the release assets
|
|
215
|
+
run: ls -l installers
|
|
216
|
+
|
|
217
|
+
- name: Attach the installers to the release
|
|
218
|
+
uses: softprops/action-gh-release@v3
|
|
219
|
+
with:
|
|
220
|
+
tag_name: ${{ github.ref_name }}
|
|
221
|
+
files: installers/*
|
|
222
|
+
fail_on_unmatched_files: true
|