more overnight
This commit is contained in:
20
overnight.py
20
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()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user