コード例 #1
0
 def __init__(self, klass, name):
     self.wavelengthvector_data = np.array([])
     self.max_value = 1.0
     self.controller = None  # type: SpectrometerCameraController
     self.state_dispatcher = None  # type: StateDispatcher
     self.db = None
     Device.__init__(self, klass, name)
コード例 #2
0
ファイル: PataraDS.py プロジェクト: filiplindau/PataraDS
 def __init__(self, klass, name):
     self.controller = None              # type: PataraControl
     self.setup_attr_params = dict()
     self.idle_params = dict()
     self.scan_params = dict()
     self.analyse_params = dict()
     self.db = None
     self.state_dispatcher = None    # type: StateDispatcher
     Device.__init__(self, klass, name)
コード例 #3
0
 def __init__(self, klass, name):
     self.max_value = 1.0
     self.controller = None              # type: FrogController
     self.setup_attr_params = dict()
     self.idle_params = dict()
     self.scan_params = dict()
     self.analyse_params = dict()
     self.db = None
     self.frogstate_dispatcher = None    # type: FrogStateDispatcher
     Device.__init__(self, klass, name)
コード例 #4
0
    def __init__(self, klass, name):
        self.controller = None  # type: TMCM6110MotoraxisController
        self.setup_attr_params = dict()
        self.state_dispatcher = None  # type: StateDispatcher
        self.state_thread = None  # type: threading.Thread
        self.stop_state_thread = False

        self.offset_value = 0
        self.baserate_value = 0
        self.backlash_value = False
        self.simulation_value = False

        Device.__init__(self, klass, name)
コード例 #5
0
 def __init__(self, *args, **kwargs):
     Device.__init__(self, *args, **kwargs)
コード例 #6
0
 def __init__(self, klass, name):
     self.wavelengthvector_data = np.array([])
     self.max_value = 1.0
     self.dev_controller = None
     self.db = None
     Device.__init__(self, klass, name)
コード例 #7
0
ファイル: CT2.py プロジェクト: ESRF-BCU/ct2
 def __init__(self, *args, **kwargs):
     Device.__init__(self, *args, **kwargs)
コード例 #8
0
 def __init__(self, cl, name):
     self._im_size = 10
     self.db = None
     Device.__init__(self, cl, name)
コード例 #9
0
ファイル: gpib.py プロジェクト: mguijarr/bliss
 def __init__(self, *args, **kwargs):
     self.gpib = None
     Device.__init__(self, *args, **kwargs)