Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt dose engine concept to dev_varRBErobOpt #683

Closed
wants to merge 109 commits into from

Conversation

wahln
Copy link
Contributor

@wahln wahln commented Dec 4, 2023

This draft PR adapts the dose engine concept to the dev_varRBErobOpt branch. Since the dose engine concept is currently residing on the dev branch, this PR prepares the union of dev and dev_varRBErobOpt.

Some adaptations are still to be done (mostly with regards to biological model management and maybe scenario management - now would be the time to change it).

I will assign a few reviewers to do a first rough validation of this refactoring.

  • All dose calculation algorithms and MC interfaces are now engines. This means propMC should be dropped (as MonteCarlo engines now have their own properties).
  • Robustness for pencil-beam engines is mainly managed in the base classes.
  • There's probably some inconsistencies with biological models.

NathanKunz and others added 30 commits June 10, 2021 13:35
First (real) commit into the refactorDoseCalc branch. Includes all up till now created dose calc engines for the refactoring of the dose calculation in MatRad.

The goal of this refactoring is, to leave the full script-file based dose calculation (which is used right now) and use a modular class based  dose calculation. This should provide a modifiable and modular engine class for each major calculation method. Those engines can then be expanded and specified by inheritance. This solution should also add a factory like overview, over possible engines for a given treatment planning.
Merge new master changes into dev_refactorDoseCalc
matRad_calcDose funktion should supersede the funktion of the other matRad_... calc funktions by creating the fitting engine and call the dose calc method.
Removed the content of deprecated functions and replaced their content with the creation and call of a fitting doseCalcEngine. The functions can still be called exactly like before in order to assure downwards compatibility.
…on or are now implemented inside the engines
Merge e0404/master branch into dev_refactorDoseCalc
# Conflicts:
#	AUTHORS.txt
#	MatRad_Config.m
#	matRad_calcDoseInit.m
#	matRad_calcPhotonDose.m
Forgot to turn off the visualization for the lateral cut off inside the physical dose calculation, which resulted in an octave error
# Conflicts:
#	matRad_calcParticleDose.m
# Conflicts:
#	matRad_calcParticleDose.m
# Conflicts:
#	matRad_calcParticleDose.m
# Conflicts:
#	matRad_calcParticleDose.m
Implementation of the analytical dose engine
# Conflicts:
#	doseCalc/+DoseEngines/matRad_DoseEngineParticlePB.m
Incorperate multiple weighted lateral Gaussian Profiles
@wahln wahln added the refactor label Dec 4, 2023
@wahln wahln closed this Dec 4, 2023
@wahln wahln deleted the refactor/doseEnginesRobOpt branch December 4, 2023 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

5 participants