def run_in_loop(cls, cxn, parameters_dict, data_so_far, data_x): agi = agilent(cxn) ma = parameters_dict.Motion_Analysis detuning = ma.detuning # calc frequcy shift mode = ma.sideband_selection trap_frequency = parameters_dict['TrapFrequencies.' + mode] # run with detuning f = parameters_dict['TrapFrequencies.' + mode] f = f + detuning print "frequency to be set", f # changing the frequency of the Agilent agi.set_frequency(f) print "updating the agilent frequency to ", agi.get_frequency() time.sleep( 0.5 ) # just make sure everything is programmed before starting the sequence
def run_initial(cls, cxn, parameters_dict): # print "Switching the 866DP to auto mode" cxn.pulser.switch_auto('866DP') cxn.pulser.switch_auto('397mod') ######### motion analysis # creating an agilent instance agi = agilent(cxn) # getting the params ma = parameters_dict.Motion_Analysis detuning = ma.detuning # calc frequcy shift mode = ma.sideband_selection trap_frequency = parameters_dict['TrapFrequencies.' + mode] # run with detuning f = parameters_dict['TrapFrequencies.' + mode] f = f + detuning # changing the frequency of the Agilent agi.set_frequency(f) print "run initial ", agi.get_frequency() time.sleep( 0.5 ) # just make sure everything is programmed before starting the sequence
def run_initial(cls, cxn, parameters_dict): # print "Switching the 866DP to auto mode" cxn.pulser.switch_auto('866DP') cxn.pulser.switch_auto('397mod') ######### motion analysis # creating an agilent instance agi = agilent(cxn) # getting the params ma = parameters_dict.Motion_Analysis detuning = ma.ramsey_detuning # calc frequcy shift mode = ma.sideband_selection trap_frequency = parameters_dict['TrapFrequencies.' + mode] # run with detuning f = parameters_dict['TrapFrequencies.' + mode] f = f + detuning # changing the frequency of the Agilent agi.set_frequency(f) print "run initial " , agi.get_frequency() time.sleep(0.5) # just make sure everything is programmed before starting the sequence
def initialize(self, cxn, context, ident): self.ident = ident self.rabi_flop = self.make_experiment(rf) self.rabi_flop.initialize(cxn, context, ident) self.save_context = cxn.context() self.dv = cxn.data_vault self.pv = cxn.parametervault self.agi = agilent(cxn)
def initialize(self, cxn, context, ident): self.ident = ident self.drift_tracker = cxn.sd_tracker self.rabi_flop = self.make_experiment(rf) self.rabi_flop.initialize(cxn, context, ident) self.save_context = cxn.context() self.dv = cxn.data_vault self.pv = cxn.parametervault self.cxnlab = labrad.connect('192.168.169.49', password='******', tls_mode='off') #connection to labwide network self.agi = agilent(cxn)
def initialize(self, cxn, context, ident): self.ident = ident self.drift_tracker = cxn.sd_tracker self.rabi_flop = self.make_experiment(rf) self.rabi_flop.initialize(cxn, context, ident) self.save_context = cxn.context() self.dv = cxn.data_vault self.pv = cxn.parametervault self.cxnlab = labrad.connect( '192.168.169.49', password='******', tls_mode='off') #connection to labwide network self.agi = agilent(cxn)