Last active
April 6, 2022 03:04
-
-
Save jrkerns/4984bae5c323fabc00087996303615c2 to your computer and use it in GitHub Desktop.
offset 404
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
from pylinac.ct import CTP404CP504, CTP486, CTP528CP604, CTP515, CatPhan604, CTP404CP604 | |
class CustomCatPhan604(CatPhan604): | |
modules = { | |
CTP404CP604: {'offset': 5}, # offset this; the rest are unmodified | |
CTP486: {'offset': -80}, | |
CTP528CP604: {'offset': 42}, | |
CTP515: {'offset': -40} | |
} | |
# use the class like normal | |
ct = CustomCatPhan604.from_zip(path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment