def __init__(
     self,
     app,
     h_limits=(-1, 1),
     v_limits=(-1, 1),
     h_unit='',
     v_unit='',
     h_spinbox_decimals=4,
     v_spinbox_decimals=4,
     h_spinbox_step=0.1,
     v_spinbox_step=0.1,
     use_external_range_sync=False,
     circ_roi_size=1.0,
 ):
     self.h_spinbox_decimals = h_spinbox_decimals
     self.v_spinbox_decimals = v_spinbox_decimals
     self.h_spinbox_step = h_spinbox_step
     self.v_spinbox_step = v_spinbox_step
     self.h_limits = h_limits
     self.v_limits = v_limits
     self.h_unit = h_unit
     self.v_unit = v_unit
     self.use_external_range_sync = use_external_range_sync
     self.circ_roi_size = circ_roi_size
     Measurement.__init__(self, app)
Beispiel #2
0
    def __init__(self, app):

        self.ui_filename = sibling_path(__file__, "sine_gen.ui")

        self.ui = load_qt_ui_file(self.ui_filename)

        self.ui.setWindowTitle(self.name)

        Measurement.__init__(self, app)
Beispiel #3
0
 def __init__(self,
              app,
              h_limits=(-1, 1),
              v_limits=(-1, 1),
              h_unit='',
              v_unit=''):
     self.h_limits = h_limits
     self.v_limits = v_limits
     self.h_unit = h_unit
     self.v_unit = v_unit
     Measurement.__init__(self, app)
Beispiel #4
0
    def __init__(self, app):

        # Define ui file to be used.
        self.ui_filename = sibling_path(__file__, "rand_gen_optimizer.ui")

        #Load ui file using ScopeFoundry helper function
        self.ui = load_qt_ui_file(self.ui_filename)

        # set Measurement UI window title
        self.ui.setWindowTitle(self.name)

        # Run super class Measurement init method.
        Measurement.__init__(self, app)
Beispiel #5
0
 def __init__(self, app):
     Measurement.__init__(self, app)
Beispiel #6
0
 def __init__(self, app, shutter_open_lq_path = None):
     self.ui_filename = sibling_path(__file__, "power_scan.ui")
     Measurement.__init__(self, app)
     if shutter_open_lq_path != None:
         self.shutter_open = app.lq_path(shutter_open_lq_path)
Beispiel #7
0
 def __init__(self, app):
     self.ui_filename = sibling_path(__file__, "lakeshore_measure.ui")
     Measurement.__init__(self, app)
 def __init__(self, app, name=None, hw_name='attocube_xyz_stage'):
     self.hw_name = hw_name
     Measurement.__init__(self, app, name=name)
Beispiel #9
0
    def __init__(self, app):

        Measurement.__init__(self, app)
        self.dt = 0.1
Beispiel #10
0
 def __init__(self, app):
     self.ui_filename = sibling_path(__file__, "relay_widget.ui")
     self.ui = load_qt_ui_file(self.ui_filename)
     self.ui.setWindowTitle(self.name)
     Measurement.__init__(self, app)
     self.dt = 0.1
Beispiel #11
0
 def __init__(self, app, name=None, hw_name='asi_stage'):
     self.hw_name = hw_name
     Measurement.__init__(self, app, name=name)
Beispiel #12
0
 def __init__(self, app, name=None, hw_name='esp300_xyz_stage'):
     self.hw_name = hw_name
     Measurement.__init__(self, app, name=name)
     self.hw = self.app.hardware[self.hw_name]
    def __init__(self, app, name=None, settings_dict=dict(sample='app/sample'), ):
        
        self.settings_dict = settings_dict

        Measurement.__init__(self, app, name=name)
Beispiel #14
0
 def __init__(self, app, name=None, hw_name="xbox_controller"):
     self.hw_name = hw_name
     Measurement.__init__(self, app, name=name)