Fix grab_frame

This commit is contained in:
gac-x11ma
2021-12-14 14:25:13 +01:00
parent 69915afdb6
commit 065e33ad05
76 changed files with 5774 additions and 1156 deletions
+22
View File
@@ -0,0 +1,22 @@
#auto_intensity()
#time_sleep(2)
#TakeImage at 710 eV at the given polarization
# do autoajust, give 1 minute to settle, do image aquisition with 5 frame average and go to sleep after
# entire run should take 10 min per loop execution
#Constants
AVERAGE = 5
EXPOSURE = 1.0
MEASUREMENTS = 1
i = 0
change_energy(709.4)
time.sleep(60)
for i in range(0, 23):
# open_vg10()
#time.sleep(1)
#auto_intensity()
#close_vg10()
time.sleep(60)
take_image(scans=1, switch_pol=False, measurements=MEASUREMENTS, exposure=EXPOSURE, average=AVERAGE)
time.sleep(534)
print(i)