Created
March 1, 2023 17:46
-
-
Save jrkerns/85b5aefaaf8ea54c8066dac94f3fdac1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pylinac | |
from pylinac.winston_lutz import is_round, is_modest_size, is_symmetric | |
# monkey patch | |
pylinac.winston_lutz.WinstonLutz2D.detection_conditions = [is_round, is_modest_size, is_symmetric] | |
# use as normal | |
wl_dir = "..." | |
wl = pylinac.WinstonLutz(wl_dir, use_filenames=True) | |
wl.analyze() | |
wl.plot_summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment