51 lines
1.1 KiB
Python
51 lines
1.1 KiB
Python
def multi_scan():
|
|
|
|
delays = [
|
|
4910,
|
|
5075,
|
|
5220,
|
|
5330,
|
|
6330
|
|
]
|
|
|
|
temps = [
|
|
10,
|
|
12,
|
|
14,
|
|
16,
|
|
16
|
|
]
|
|
|
|
delay_times = [5, 1, 0, -1, -2, -3, -4, -5, -10, -20, -30, -40, -50, -100, -200, -300, -400, -500, -1000, -2000]
|
|
laser_ints = [46, 58, 66, 73]
|
|
|
|
n_repeats = 10
|
|
|
|
for i in range(n_repeats):
|
|
for delay, temp in zip(delays, temps):
|
|
|
|
t = Lakeshore_T2.set(temp)
|
|
source_delay.set(delay).wait()
|
|
t.wait()
|
|
|
|
print(Lakeshore_T2)
|
|
print(source_delay)
|
|
|
|
for laser_int in laser_ints:
|
|
pump_pulse_energy.set(laser_int).wait()
|
|
|
|
fname = f"he_drop_scan_{temp}_{laser_int}_{i}"
|
|
print(fname)
|
|
|
|
for delay_time in delay_times:
|
|
lxt.set(delay_time).wait()
|
|
|
|
is_scan_step = (delay_time != delay_times[0])
|
|
|
|
while check_intensity.wants_repeat():
|
|
daq.acquire(fname, n_pulses=5000, is_scan_step=is_scan_step).wait()
|
|
|
|
|
|
|
|
|