Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Same than https://github.com/OpenGATE/opengate/pull/148/files after rebasing
created tests for tps source
Treatment plan source file was missing from the branch. Added. small modifications. Still trying to figure out the error in spot positions Fixed bug with TPS rotation and created tests
Removed old version of the helpers. Now the function that reads the treatment plan txt file returns also the gantry angle Created tests for: optics in air, absolute dose in water and gantry rotation. Working version of TPSource
Removed full MA polinomia from the beamline model
added test for weights and comparison pbs-tps
exposed G4UserLimits and StepLimiter
Corrected bugs in TPSource and created working tests for optics, absolute dose, ranges and weights Improved test metrics and TPS readability
test optics in vbl
Refactored TPS init and renamed beamline properties changed TPS initialization
minor changes, mainly estetics'
turn off visualization
reduced the size of the detectors
Further reduced the detector's side
Included energy spread in the TPS model and examples Corrected inconsistency in test for absolute dose. Added function to test dose grid shape and spacing to helpers_test accounted for correction in dose grid (PR#137)
accounted for PR#137
corrected scale_dose function for case image size 1,1,x multiprocessing: do we need a timeout in p.join()? spot weighted on the beamset number of particles, not on the beam ones. created separate neme dictionary for particles to use in user_limit Changed queue initialization for multiprocessing
added check to avoid error when beam spot has almost zero weight removed step limiter from branch
modified threshold