def makeControlWidget(self, reactor, cxn): widget = QtGui.QWidget() from electrode_client.electrode import electrode_widget from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.PMT_CONTROL import pmtWidget from common.clients.SWITCH_CONTROL import switchWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.LINETRIGGER_CONTROL import linetriggerWidget from quick_actions.quick_actions import actions_widget from indicator.indicator import indicator_widget from agilent_E3633A.agilent_E3633A import magnet_Control, oven_Control gridLayout = QtGui.QGridLayout() gridLayout.addWidget(electrode_widget(reactor, cxn), 0, 0, 1, 2) gridLayout.addWidget(actions_widget(reactor, cxn), 1, 0, 1, 2) gridLayout.addWidget(indicator_widget(reactor, cxn), 2, 0, 1, 2) gridLayout.addWidget(magnet_Control(reactor, cxn), 3, 0, 1, 1) gridLayout.addWidget(oven_Control(reactor, cxn), 3, 1, 1, 1) gridLayout.addWidget(cavityWidget(reactor), 0, 2, 3, 2) gridLayout.addWidget(multiplexerWidget(reactor), 0, 4, 3, 1) gridLayout.addWidget(switchWidget(reactor, cxn), 4, 0, 1, 2) gridLayout.addWidget(pmtWidget(reactor), 3, 2, 1, 1) gridLayout.addWidget(linetriggerWidget(reactor, cxn), 3, 3, 1, 1) gridLayout.addWidget(DDS_CONTROL(reactor, cxn), 3, 4, 1, 1) widget.setLayout(gridLayout) return widget
def makeControlWidget(self, reactor, cxn): widget = QtGui.QWidget() from electrode_client.electrode import electrode_widget from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.PMT_CONTROL import pmtWidget from common.clients.SWITCH_CONTROL import switchWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.LINETRIGGER_CONTROL import linetriggerWidget from quick_actions.quick_actions import actions_widget from indicator.indicator import indicator_widget from agilent_E3633A.agilent_E3633A import magnet_Control, oven_Control gridLayout = QtGui.QGridLayout() gridLayout.addWidget(electrode_widget(reactor, cxn), 0,0,1,2) gridLayout.addWidget(actions_widget(reactor, cxn), 1,0,1,2) gridLayout.addWidget(indicator_widget(reactor, cxn), 2,0,1,2) gridLayout.addWidget(magnet_Control(reactor, cxn), 3,0,1,1) gridLayout.addWidget(oven_Control(reactor, cxn), 3,1,1,1) gridLayout.addWidget(cavityWidget(reactor), 0,2,3,2) gridLayout.addWidget(multiplexerWidget(reactor), 0,4,3,1) gridLayout.addWidget(switchWidget(reactor, cxn), 4,0,1,2) gridLayout.addWidget(pmtWidget(reactor), 3,2,1,1) gridLayout.addWidget(linetriggerWidget(reactor, cxn), 3,3,1,1) gridLayout.addWidget(DDS_CONTROL(reactor, cxn), 3,4,1,1) widget.setLayout(gridLayout) return widget
def makeLightWidget(self, reactor): from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget widget = QtGui.QWidget() gridLayout = QtGui.QGridLayout() gridLayout.addWidget(multiplexerWidget(reactor),0,1) gridLayout.addWidget(cavityWidget(reactor),0,0) widget.setLayout(gridLayout) return widget
def makeLightWidget(self, reactor, cxn): from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.readout_histogram import readout_histogram widget = QtGui.QWidget() gridLayout = QtGui.QGridLayout() gridLayout.addWidget(multiplexerWidget(reactor),0,1) gridLayout.addWidget(cavityWidget(reactor),0,0) gridLayout.addWidget(DDS_CONTROL(reactor), 1, 0) gridLayout.addWidget(readout_histogram(reactor, cxn), 1, 1) widget.setLayout(gridLayout) return widget
def makeLightWidget(self, reactor, cxn): from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.readout_histogram import readout_histogram widget = QtGui.QWidget() gridLayout = QtGui.QGridLayout() gridLayout.addWidget(multiplexerWidget(reactor), 0, 1) gridLayout.addWidget(cavityWidget(reactor), 0, 0) gridLayout.addWidget(DDS_CONTROL(reactor), 1, 0) gridLayout.addWidget(readout_histogram(reactor, cxn), 1, 1) widget.setLayout(gridLayout) return widget
def makeOpticsWidget(self, reactor, cxn): widget = QtGui.QWidget() #from common.clients.DAC_CONTROL import DAC_Control as voltageWidget from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.PMT_CONTROL import pmtWidget from common.clients.SWITCH_CONTROL import switchWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.LINETRIGGER_CONTROL import linetriggerWidget gridLayout = QtGui.QGridLayout() #gridLayout.addWidget(voltageWidget(reactor), 0,0,1,1) gridLayout.addWidget(cavityWidget(reactor), 0,0,1,1)#0,1,3,2) gridLayout.addWidget(multiplexerWidget(reactor), 0,1,3,2)#0,3,3,1) gridLayout.addWidget(switchWidget(reactor, cxn), 3,0,1,1) gridLayout.addWidget(pmtWidget(reactor), 0,3,3,1)#3,1,1,1) gridLayout.addWidget(linetriggerWidget(reactor, cxn), 3,3,1,1)#3,2,1,1) gridLayout.addWidget(DDS_CONTROL(reactor, cxn), 3,1,1,1)#3,3,1,1) widget.setLayout(gridLayout) return widget
def makeControlWidget(self, reactor, cxn): widget = QtGui.QWidget() from ENDCAP_CONTROL import ENDCAP_CONTROL as endcapWidget from COMPENSATION_CONTROL import COMPENSATION_CONTROL as compensationWidget from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.PMT_CONTROL import pmtWidget from common.clients.SWITCH_CONTROL import switchWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.LINETRIGGER_CONTROL import linetriggerWidget gridLayout = QtGui.QGridLayout() gridLayout.addWidget(endcapWidget(reactor, cxn), 0,0,1,1) gridLayout.addWidget(compensationWidget(reactor, cxn), 1,0,1,1) gridLayout.addWidget(cavityWidget(reactor), 0,1,3,2) gridLayout.addWidget(multiplexerWidget(reactor), 0,3,3,1) gridLayout.addWidget(switchWidget(reactor, cxn), 3,0,1,1) gridLayout.addWidget(pmtWidget(reactor), 3,1,1,1) gridLayout.addWidget(linetriggerWidget(reactor, cxn), 3,2,1,1) gridLayout.addWidget(DDS_CONTROL(reactor, cxn), 3,3,1,1) widget.setLayout(gridLayout) return widget
def makeControlWidget(self, reactor, cxn): widget = QtGui.QWidget() from ENDCAP_CONTROL import ENDCAP_CONTROL as endcapWidget from COMPENSATION_CONTROL import COMPENSATION_CONTROL as compensationWidget from common.clients.CAVITY_CONTROL import cavityWidget from common.clients.multiplexer.MULTIPLEXER_CONTROL import multiplexerWidget from common.clients.PMT_CONTROL import pmtWidget from common.clients.SWITCH_CONTROL import switchWidget from common.clients.DDS_CONTROL import DDS_CONTROL from common.clients.LINETRIGGER_CONTROL import linetriggerWidget gridLayout = QtGui.QGridLayout() gridLayout.addWidget(endcapWidget(reactor, cxn), 0, 0, 1, 1) gridLayout.addWidget(compensationWidget(reactor, cxn), 1, 0, 1, 1) gridLayout.addWidget(cavityWidget(reactor), 0, 1, 3, 2) gridLayout.addWidget(multiplexerWidget(reactor), 0, 3, 3, 1) gridLayout.addWidget(switchWidget(reactor, cxn), 3, 0, 1, 1) gridLayout.addWidget(pmtWidget(reactor), 3, 1, 1, 1) gridLayout.addWidget(linetriggerWidget(reactor, cxn), 3, 2, 1, 1) gridLayout.addWidget(DDS_CONTROL(reactor, cxn), 3, 3, 1, 1) widget.setLayout(gridLayout) return widget