/
__init__.py
25 lines (20 loc) · 1 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import sys
__version__ = '2.2.5'
__version_info__ = (2, 2, 5)
# check python version
if sys.version_info[0] < 3 or sys.version_info[1] < 6:
raise ValueError("Pylinac is only supported on Python 3.6+. Please update your environment.")
# import shortcuts
from pylinac.ct import CatPhan504, CatPhan600, CatPhan503, CatPhan604
from pylinac.core import decorators, geometry, image, io, mask, profile, roi, utilities
from pylinac.core.utilities import clear_data_files, assign2machine
from pylinac.flatsym import FlatSym
from pylinac.planar_imaging import LeedsTOR, StandardImagingQC3, LasVegas
from pylinac.log_analyzer import load_log, Dynalog, TrajectoryLog, MachineLogs
from pylinac.picketfence import PicketFence # must be after log analyzer
from pylinac.starshot import Starshot
from pylinac.vmat import DRMLC, DRGS
from pylinac.winston_lutz import WinstonLutz
from pylinac import calibration
from pylinac.watcher import watch, process
from pylinac.py_gui import gui # must be after everything since it imports it all