Skip to content

Commit

Permalink
add note about skew
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkerns committed Feb 12, 2024
1 parent 16b0e58 commit e677822
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Picket Fence
* The MLC arrangement for Varian machines was inverted. Leaf 1 was assumed to be at the
top of the image, but it is actually at the bottom. This will affect both the combined
and separated leaf analysis. An error that would've shown, e.g., A20 will now show A40.
* The MLC skew is now reported in the ``.results()`` method.

Winston-Lutz
^^^^^^^^^^^^
Expand Down
1 change: 0 additions & 1 deletion pylinac/picketfence.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,6 @@ def plot_analyzed_image(
else:
figure_size = (9, 9)
fig, ax = plt.subplots(figsize=figure_size)
# ax.imshow(self.image.array, cmap=get_dicom_cmap())
self.image.plot(ax=ax, show=False)

if leaf_error_subplot:
Expand Down
1 change: 1 addition & 0 deletions tests_basic/test_picketfence.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ def test_publish_pdf(self):
def test_results(self):
data = self.pf.results()
self.assertIsInstance(data, str)
self.assertIn("Skew", data)

data = self.pf.results(as_list=True)
self.assertIsInstance(data, list)
Expand Down

0 comments on commit e677822

Please sign in to comment.