Last active
December 5, 2022 18:18
-
-
Save jrkerns/a99cefc8027b12d56258b8437ea0a5ee to your computer and use it in GitHub Desktop.
Smooth WL images before plotting and shorten path name
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 | |
wl = pylinac.WinstonLutz.from_demo_images() | |
wl.analyze() | |
for img in wl.images: | |
img.filter(size=0.01, kind='gaussian') | |
img.path = "..." + img.path[-20:] # last 20 chars | |
wl.plot_images() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment