def ssro_A2(name): m = ssroADwinMeasurement(name) m.setup(False, False) m.par["SSRO_repetitions"] = 10000 m.par["Ex_RO_amplitude"] = 0 m.par["A_RO_amplitude"] = 20e-9 m.measure(m, name, False) ssro_analyse.run_all(ssro_analyse.get_latest_data())
def ssro_ADwin_Cal( reps=20000, Ex_p="exp_dic", A_p=0, sweep_power=False, lt1=False, phase_lock=1, A_SP_power="exp_dic", name="" ): if lt1: name = "_LT1_" + name else: name = "_LT2_" + name m = ssroADwinMeasurement(name) m.setup(lt1, phase_lock) m.par["SSRO_repetitions"] = reps if Ex_p == "exp_dic": m.par["Ex_RO_amplitude"] = m.d["Ex_RO_amplitude"] else: m.par["Ex_RO_amplitude"] = Ex_p if A_SP_power != "exp_dic": m.par["A_SP_amplitude"] = A_SP_power m.measure(m, name, sweep_power) ssro_analyse.run_all(ssro_analyse.get_latest_data())