diff --git a/overnight.py b/overnight.py index 6efbb5c..f26f2af 100644 --- a/overnight.py +++ b/overnight.py @@ -1204,3 +1204,23 @@ def overnight(): + +def smooth_attenuator(): + photon_energies = [525, 600] + iterations = range(24) + + for p in photon_energies: + und.set(p).wait() + und.set(p).wait() + for i in iterations: + name = f"n2o_{p}eV_{i:02}" + print(name) + daq.acquire(name, n_pulses=60000) + + print("close shutter") + shutter.close() + + + + +