def autoconfig(self):
        PulsarMeasurement.autoconfig(self)
        self.params["sequence_wait_time"] = int(np.ceil(np.max(self.params["AWG_SP_duration"] * 1e6)) + 10)

        self.params["AWG_SP_voltage"] = np.array(
            [self.A_aom.power_to_voltage(p, controller="sec") for p in self.params["AWG_SP_power"]]
        )

        print "SEQ_WAIT_TIME", self.params["sequence_wait_time"]
    def autoconfig(self):
        PulsarMeasurement.autoconfig(self)
        self.params['sequence_wait_time'] = \
            int(np.ceil(np.max(self.params['AWG_SP_duration']*1e6))+10)


        self.params['AWG_SP_voltage']=np.array([self.A_aom.power_to_voltage(p, controller='sec') for p in self.params['AWG_SP_power']])

        print 'SEQ_WAIT_TIME', self.params['sequence_wait_time']
 def setup(self,HH=True):
     PulsarMeasurement.setup(self)
     if HH:
         self.hharp.start_T2_mode()
         self.hharp.calibrate()
    def autoconfig(self):
        PulsarMeasurement.autoconfig(self)
        self.params['sequence_wait_time'] = \
            int(np.ceil(self.params['SSRO_duration'])+10)

        print 'SEQ_WAIT_TIME', self.params['sequence_wait_time']