예제 #1
0
 def __init__(self, gui):
     self.debug = True
     Measurement.__init__(self, gui)
     self.hardware = self.gui.hardware_components['em_hardware']
     self.hardware.connect()
     self._id = pythoncom.CoMarshalInterThreadInterfaceInStream(
         pythoncom.IID_IDispatch, self.hardware.Scope)
     em_gui.__init__(self, gui)
    def __init__(self, name):
        Measurement.__init__(self, name, mclass="Pulse_Cal")
        ###########################################################
        ##
        ##  hardcoded in ADwin program (adjust there if necessary!)
        ##

        self.max_SP_bins = 500
        self.max_RO_dim = 1000000
 def __init__(self,name):
     Measurement.__init__(self,name,mclass='ADwin_SSRO')
     
         ########################################################### 
 ##
 ##  hardcoded in ADwin program (adjust there if necessary!)
 ##
     self.max_repetitions = 20000
     self.max_SP_bins = 500
     self.max_SSRO_dim = 1000000
    def __init__(self, name):
        Measurement.__init__(self, name, mclass="ADwin_SSRO")

        ###########################################################
        ##
        ##  hardcoded in ADwin program (adjust there if necessary!)
        ##
        self.max_repetitions = 20000
        self.max_SP_bins = 500
        self.max_SSRO_dim = 3500000
        self.d = expdict.ssroprotocol
예제 #5
0
    def __init__(self,name):
        Measurement.__init__(self,name,mclass='Pulse_Cal')
    ###########################################################
##
##  hardcoded in ADwin program (adjust there if necessary!)
##

        self.max_SP_bins = 500
        self.max_RO_dim = 1000000

##
###########################################################


        self.set_phase_locking_on = 0
        self.set_gate_good_phase = -1

        self.f_drive            =                   2.828e9

        self.par = {}
        
        self.par['AWG_start_DO_channel'] =         1
        self.par['AWG_done_DI_channel'] =          8
        self.par['send_AWG_start'] =               1
        self.par['wait_for_AWG_done'] =            0
        self.par['green_repump_duration'] =        10
        self.par['CR_duration'] =                  60
        self.par['SP_duration'] =                  50
        self.par['SP_filter_duration'] =           0
        self.par['sequence_wait_time'] =           int(np.ceil(1e-3)+2)
        self.par['wait_after_pulse_duration'] =    1
        self.par['CR_preselect'] =                 1000

        self.par['reps_per_datapoint'] =           1000
        self.par['sweep_length'] =                 int(21)
        self.par['RO_repetitions'] =               int(21*1000)
        self.par['RO_duration'] =                  22

        self.par['cycle_duration'] =               300
        self.par['CR_probe'] =                     100

        self.par['green_repump_amplitude'] =       200e-6
        self.par['green_off_amplitude'] =          0e-6
        self.par['Ex_CR_amplitude'] =              20e-9 #OK
        self.par['A_CR_amplitude'] =               15e-9 #OK
        self.par['Ex_SP_amplitude'] =              0 
        self.par['A_SP_amplitude'] =               15e-9 #OK: PREPARE IN MS = 0
        self.par['Ex_RO_amplitude'] =              8e-9 #OK: READOUT MS = 0
        self.par['A_RO_amplitude'] =               0e-9

        self.par['min_sweep_par'] =                  0
        self.par['max_sweep_par'] =                  1
        self.par['sweep_par_name'] =                 ''
        self.par['sweep_par']   =                  np.linspace(1,21,21)
예제 #6
0
    def __init__(self,name):
        Measurement.__init__(self,name,mclass='MBI')


###########################################################
##
##  hardcoded in ADwin program (adjust there if necessary!)
##

        self.max_SP_bins = 500
        self.max_RO_dim = 1000000

##
###########################################################
        
# load dictionary of sil
        self.sildic = exp.current_sample
        self.ssrodic = exp.ssroprotocol
        self.MBIdic = exp.MBIprotocol
        self.hardwaredic = exp.hardware
        self.pulsedic = exp.pulses

        self.MW_freq = self.sildic['MW_source_freq']
        self.MW_power = self.sildic['MW_source_power']
        self.set_phase_locking_on=0
        self.set_gate_good_phase=-1
       
        self.nr_of_datapoints= 21
        self.repetitions_per_datapoint = 500
        self.nr_of_RO_steps =    1
        self.do_shelv_pulse = False
        self.do_incr_RO_steps = exp.MBIprotocol['do_incr_RO_steps']
        self.incr_RO_steps = exp.MBIprotocol['incr_RO_steps']
        self.Ex_RO_amplitude = self.ssrodic['Ex_RO_amplitude']
        self.A_RO_amplitude = self.ssrodic['A_RO_amplitude']
        self.Ex_final_RO_amplitude = self.ssrodic['Ex_RO_amplitude']
        self.A_final_RO_amplitude = self.ssrodic['A_RO_amplitude']
        self.final_RO_duration= self.ssrodic['RO_duration']
        self.RO_duration= self.ssrodic['RO_duration']
        self.wait_after_RO = self.ssrodic['wait_after_pulse_duration']
        self.wait_for_AWG_done = 1.
        self.par = {}
        
        self.par['MBI_threshold']    =              1 # pass if counts > (MBI_threshold-1)
        self.par['RO_repetitions']  =               100
예제 #7
0
    def __init__(self, name):
        Measurement.__init__(self, name, mclass='MBI')

        ###########################################################
        ##
        ##  hardcoded in ADwin program (adjust there if necessary!)
        ##

        self.max_SP_bins = 500
        self.max_RO_dim = 1000000

        ##
        ###########################################################

        # load dictionary of sil
        self.sildic = exp.current_sample
        self.ssrodic = exp.ssroprotocol
        self.MBIdic = exp.MBIprotocol
        self.hardwaredic = exp.hardware
        self.pulsedic = exp.pulses

        self.MW_freq = self.sildic['MW_source_freq']
        self.MW_power = self.sildic['MW_source_power']
        self.set_phase_locking_on = 0
        self.set_gate_good_phase = -1

        self.nr_of_datapoints = 21
        self.repetitions_per_datapoint = 500
        self.nr_of_RO_steps = 1
        self.do_shelv_pulse = False
        self.do_incr_RO_steps = exp.MBIprotocol['do_incr_RO_steps']
        self.incr_RO_steps = exp.MBIprotocol['incr_RO_steps']
        self.Ex_RO_amplitude = self.ssrodic['Ex_RO_amplitude']
        self.A_RO_amplitude = self.ssrodic['A_RO_amplitude']
        self.Ex_final_RO_amplitude = self.ssrodic['Ex_RO_amplitude']
        self.A_final_RO_amplitude = self.ssrodic['A_RO_amplitude']
        self.final_RO_duration = self.ssrodic['RO_duration']
        self.RO_duration = self.ssrodic['RO_duration']
        self.wait_after_RO = self.ssrodic['wait_after_pulse_duration']
        self.wait_for_AWG_done = 1.
        self.par = {}

        self.par['MBI_threshold'] = 1  # pass if counts > (MBI_threshold-1)
        self.par['RO_repetitions'] = 100
예제 #8
0
    def __init__(self, name):
        Measurement.__init__(self, name, mclass='Seg_RO')

        ###########################################################
        ##
        ##  hardcoded in ADwin program (adjust there if necessary!)
        ##
        self.sildic = expdict.current_sample
        self.ssrodic = expdict.ssroprotocol
        self.MBIdic = expdict.MBIprotocol
        self.hardwaredic = expdict.hardware
        self.pulsedic = expdict.pulses

        self.MW_freq = self.sildic['MW_source_freq']
        self.MW_power = self.sildic['MW_source_power']

        self.max_repetitions = 1000000
        self.max_SP_bins = 500
        self.max_SSRO_dim = 3500000
        self.d = expdict.ssroprotocol
    def __init__(self,name):
        Measurement.__init__(self,name,mclass='Seg_RO')
        
            ########################################################### 
    ##
    ##  hardcoded in ADwin program (adjust there if necessary!)
    ##
        self.sildic = expdict.current_sample
        self.ssrodic = expdict.ssroprotocol
        self.MBIdic = expdict.MBIprotocol
        self.hardwaredic = expdict.hardware
        self.pulsedic = expdict.pulses

        self.MW_freq = self.sildic['MW_source_freq']
        self.MW_power = self.sildic['MW_source_power']
        
        
        self.max_repetitions = 1000000
        self.max_SP_bins = 500
        self.max_SSRO_dim = 3500000
        self.d = expdict.ssroprotocol
예제 #10
0
파일: esr.py 프로젝트: caizikun/measurement
 def __init__(self,name):
     Measurement.__init__(self,name,mclass='ESR')
예제 #11
0
 def __init__(self, gui, debug=True):
     self.debug = debug
     Measurement.__init__(self, gui)  #calls setup()
     self.paused, self.workingList = False, []  #pausing variables
     self.aborted = True  #False when acquiring, True when idle