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

Class based scenarios and simulations #259

Open
wants to merge 14 commits into
base: dev_varRBErobOpt
Choose a base branch
from

Conversation

Haydnspass
Copy link
Contributor

I propose using the classes MatRadScenario and MatRadSimulation to handle scenarios (nominal, standard deviations, shifts, etc.) and simulations, which are sets of scenarios.
Sorry if the following sounds like an advert :D

The class MatRadScenarios features:

  • handling and storing basic properties such as radiationquantity, indices, etc., several identifiers, if the scenario is a specific realisation of a shift
  • storage and handling of dose either as full cube or as subset
  • handling is such as to access dose without any need to know whether it was originally stored sparse or not, it can always accessed via obj.dose to get the full cube or obj.doseLin to get the (potential) subset of non-zero voxels
  • calculation of QI and DVH can be initiated and stored on the instance and is kept consistent
  • there is a listener on obj.dose. If it changes, statistics (DVH, QI) will be withdrawn and unavailable until recomputation
  • ...

The class MatRadSimulation features:

  • handling and storing parameters of set of scenarios, including ct, cst and pln which was used for all scenarios within the set
  • container of scenarios, weights etc.
  • nominal, mean, standard deviation and gammacube scenario
  • several listeners and checks when new scenarios are being added. they must meet requirements derived from the first scenario (e.g. same resolution, radiationQuantity etc.)
  • fractionated treatment
  • calculation of QI / DVH can be iniated for all scenarios of the simulation
  • calculation of QI / DVH statistics
  • listener on the scenarios. If they change, statistics will be withdrawn and unavailable until recomputation
  • ...

Other changes:

  • multScen can now handle different correlation types of shifts and range shifts
  • there is a dummy multScen which allows for sampling of fractionated treatments (may be integrated into the usual multScen)

@Haydnspass
Copy link
Contributor Author

There will be minor changes needed in order to generate the latexReport.

@stale stale bot added the stale Automatic label for stale issues label Nov 3, 2020
@e0404 e0404 deleted a comment from stale bot Nov 3, 2020
@stale stale bot removed the stale Automatic label for stale issues label Nov 3, 2020
@wahln wahln self-assigned this Dec 28, 2020
Copy link

github-actions bot commented Jul 7, 2024

This PR was automatically marked as stale it has been open 30 days with no activity. Please review/update/merge this PR.

@github-actions github-actions bot added the stale Automatic label for stale issues label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Automatic label for stale issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants