Describe the bug
The vertical and horizontal profiles appear to be swapped on the plotted image, i.e the horizontal profile appears at the vertical profile offset and vice versa.
To Reproduce
Steps to reproduce the behavior:
In python console
from pylinac import FlatSymfs = FlatSym.from_demo_image()fs.analyze("varian", "varian", 0.7, 0.2)fs.plot()
Expected behavior
The vertical and horizontal profiles are not where I expect them to be.
Screenshots
See attached images.
Figure_1.png is uncorrected behaviour
Figure_2.png is if I swap the "horizontal" and "vertical" dictionary labels in lines 312 and 313 of FlatSym.py
Additional context
I'll add a pull request if this is indeed the case.
Describe the bug The vertical and horizontal profiles appear to be swapped on the plotted image, i.e the horizontal profile appears at the vertical profile offset and vice versa.
To Reproduce Steps to reproduce the behavior: In python console
from pylinac import FlatSym
fs = FlatSym.from_demo_image()
fs.analyze("varian", "varian", 0.7, 0.2)
fs.plot()
Expected behavior The vertical and horizontal profiles are not where I expect them to be.
Screenshots See attached images. Figure_1.png is uncorrected behaviour Figure_2.png is if I swap the "horizontal" and "vertical" dictionary labels in lines 312 and 313 of FlatSym.py
Additional context I'll add a pull request if this is indeed the case.
Regards Alan