def initialize(self): self.dirappend = time.strftime("%Y%m%d_%H%M_%S", time.localtime()) self.topdirectory = time.strftime("%Y%m%d", time.localtime()) self.setupLogic() self.programPulser() totalBinningTime = self.seqP.recordTime + self.seqP.recoolTime + self.seqP.darkTime self.Binner = Binner(totalBinningTime, self.expP.binTime)
def initialize(self): self.dirappend = time.strftime("%Y%m%d_%H%M_%S",time.localtime()) self.topdirectory = time.strftime("%Y%m%d",time.localtime()) self.setupLogic() self.programPulser() totalBinningTime = 5e-3 + self.seqP.bufferTime + self.seqP.excitationTime self.Binner = Binner(totalBinningTime, self.expP.binTime)
def initialize(self): #get initialize count for crystallization self.xtal.get_initial_rate() #directory name and initial variables self.dirappend = time.strftime("%Y%b%d_%H%M_%S", time.localtime()) self.topdirectory = time.strftime("%Y%b%d", time.localtime()) self.setupLogic() #get the count rate for the crystal at the same parameters as crystallization self.pulser.select_dds_channel('110DP') self.pulser.frequency(self.seqP.xtal_freq_397) self.pulser.amplitude(self.seqP.xtal_ampl_397) self.pulser.select_dds_channel('866DP') self.pulser.amplitude(self.seqP.xtal_ampl_866) self.programPulser() #data processing setup self.Binner = Binner(self.seqP.recordTime, self.expP.binTime) self.Splicer = Splicer(self.seqP.startReadout, self.seqP.endReadout)