wrssc / ray_scripts

Python scripts for RayStation treatment planning system
GNU General Public License v3.0
23 stars 4 forks source link

Issue102 script improvements #103

Closed rabayliss closed 5 years ago

rabayliss commented 5 years ago

Final Dose: -Added dsp hunting algorithm that uses numpy to determine the point in the dose grid with the closest agreement between dose contributed per fraction and the fractional monitor unit weight. This can be used to fix the incorrect reference point reporting on TomoTherapy IDMS

Planning Structs -Changing ExternalClean color to Therapist preference -Removed holes from ExternalClean -Updated structure definitions for uniform and underdose structures using TG-263 -added All_PTVs per MD/Therapist request

Create_goals: Cleaning logging - only one line should be used per message. Eliminated multiline issue

planning_structures: moved commonly used methods like exclude from export to a separate method and put a call in for the air volume

Objectives: -moved exists_roi to a separate library function StructureOperations, changed wording on element tree usage to check if protocol is not None -Moved the skip objective command to top of objective to speed up that operation

StructureOperations: functions to check for the existence of an roi in the list, check if the roi has contours, and give the maximum coordinate of the roi were written -Making the StructureOperations take multiple rois

Protocols: -Matched all order names to ARIA Documents -Removed all D98% objective limits
-Added Anorectal, Prostate-SBRT, 45 Gy Lung, 8 fraction lung