scan with bkg

This commit is contained in:
2022-05-17 09:39:16 +02:00
parent 87cb17cea9
commit 452b0f89c3

View File

@ -1126,3 +1126,27 @@ def focus_test(daq):
#def scan_with_bkg():
# start = 102.1
# stop = 102.4
# step = 0.015
# n_pulses = 1 * 1000
# bkg = 0
# for i in range(1000):
# print(i, "sig")
# delay.set(start).wait()
# sleep(10)
# scan.scan1D(delay, start, stop, step, n_pulses, f"TT_overnight2_sig_{i:04}", return_to_initial_values=False)
# print(i, "bkg")
# delay.set(bkg).wait()
# daq.acquire(f"TT_overnight2_bkg_{i:04}", n_pulses=n_pulses)
# sleep(10)