def measure_motzoi_XY(self, motzois, MC=None, analyze=True, close_fig=True,
                          verbose=True, update=True):

        self.prepare_for_timedomain()
        if MC is None:
            MC = self.MC.get_instr()

        MC.set_sweep_function(awg_swf.Motzoi_XY(
            pulse_pars=self.pulse_pars, RO_pars=self.RO_pars, motzois=motzois))
        MC.set_detector_function(self.int_avg_det)
        MC.run('Motzoi_XY'+self.msmt_suffix)

        if analyze:
            a = ma.Motzoi_XY_analysis(close_fig=close_fig)
            if update:
                self.motzoi.set(a.optimal_motzoi)
            return a
Пример #2
0
 def test_motzoi_single_weight(self):
     a = ma.Motzoi_XY_analysis(timestamp='20170607_210555')
     self.assertAlmostEqual(a.optimal_motzoi, -0.2856, places=2)
Пример #3
0
 def test_motzoi_IQ_no_cal_pts(self):
     a = ma.Motzoi_XY_analysis(timestamp='20170607_161234')
     self.assertAlmostEqual(a.optimal_motzoi, -0.3202, places=2)