Skip to content

Instantly share code, notes, and snippets.

@jrkerns
Created June 27, 2023 16:56
Show Gist options
  • Save jrkerns/3c3c7fcbdf598456ce2d8528a5527d2d to your computer and use it in GitHub Desktop.
Save jrkerns/3c3c7fcbdf598456ce2d8528a5527d2d to your computer and use it in GitHub Desktop.
catphan mm override
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