victorgabr / ApertureComplexity

Python 3.x port of the Eclipse ESAPI plug-in script used in the study : Predicting deliverability of volumetric-modulated arc therapy (VMAT) plans using aperture complexity analysis
GNU General Public License v3.0
24 stars 8 forks source link

Enable 'jaw tracking' on Halcyon #7

Closed brianmanderson closed 1 year ago

brianmanderson commented 1 year ago

This is essentially creating a pseudo-jaw based on the Halcyon MLCs being open or closed. The 'left' and 'right' are made by taking the min and max values of the MLC leaves, while the 'top' and 'bottom' are found by adding the leaf-widths from the center of the field to the top-most closed MLC pair and bottom-most closed MLC pair

Also, added lines into to make sure that we are accurately pulling the X and Y jaw based on their names

victorgabr commented 1 year ago

Thank you! That was an excellent addition.