Created
June 27, 2023 16:56
-
-
Save jrkerns/3c3c7fcbdf598456ce2d8528a5527d2d to your computer and use it in GitHub Desktop.
catphan mm override
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 | |
class CatphanFOV(pylinac.CatPhan504): | |
@property | |
def mm_per_pixel(self) -> float: | |
return super().mm_per_pixel * 0.81 | |
cbct = CatphanFOV(r"C:\Users\jkern\Downloads\pylinaczip - Matthew Georgesen") | |
cbct.analyze() | |
cbct.plot_analyzed_image() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment