def measure_allxy(self, double_points=True, MC=None, analyze=True, close_fig=True, verbose=True): self.prepare_for_timedomain() if MC is None: MC = self.MC.get_instr() MC.set_sweep_function(awg_swf.AllXY( pulse_pars=self.pulse_pars, RO_pars=self.RO_pars, double_points=double_points)) MC.set_detector_function(self.int_avg_det) MC.run('AllXY'+self.msmt_suffix) if analyze: a = ma.AllXY_Analysis(close_main_fig=close_fig) return a
def measure_allxy(self, MC=None, analyze=True, close_fig=True, verbose=True): self.prepare_for_timedomain() if MC is None: MC = self.MC d = cdet.AllXY_devition_detector_CBox( 'AllXY' + self.msmt_suffix, MC=MC, AWG=self.AWG, CBox=self.CBox, IF=self.f_RO_mod.get(), pulse_delay=self.pulse_delay.get(), RO_pulse_delay=self.RO_pulse_delay.get(), RO_trigger_delay=self.RO_acq_marker_delay.get(), RO_pulse_length=self.RO_pulse_length.get()) d.prepare() d.acquire_data_point() if analyze: a = ma.AllXY_Analysis(close_main_fig=close_fig) return a
def test_allxy_single_weight(self): a = ma.AllXY_Analysis(timestamp='20170607_211630') self.assertAlmostEqual(a.deviation_total, 0.0335, places=3)
def test_allxy_IQ_data(self): a = ma.AllXY_Analysis(timestamp='20170607_161456') self.assertAlmostEqual(a.deviation_total, 0.02855964154)