Describe the bug
Symmetry calculations for IC Profiler measurements disagree from those calculated by the Profiler software. This seems to be due to the profiles stored in the horiz_profile and vert_profile variables are not symmetric about the CAX. This results in incorrect points being matched together when the profile is reversed in the symmetry calculation.
Additional context
Adding an additional point to the right of the CAX by editing the "field values" key in the data dictionary of SingleProfile makes the pylinac symmetry calculation match the Profiler software calculation. I've created a pull request with this edit.
https://github.com/jrkerns/pylinac/pull/439
Describe the bug Symmetry calculations for IC Profiler measurements disagree from those calculated by the Profiler software. This seems to be due to the profiles stored in the horiz_profile and vert_profile variables are not symmetric about the CAX. This results in incorrect points being matched together when the profile is reversed in the symmetry calculation.
To Reproduce See gist at https://gist.github.com/StephenTerry/36c1dbffca05319687c33ab5571a8234 Output shown below.
Screenshots
Additional context Adding an additional point to the right of the CAX by editing the "field values" key in the data dictionary of SingleProfile makes the pylinac symmetry calculation match the Profiler software calculation. I've created a pull request with this edit. https://github.com/jrkerns/pylinac/pull/439