23 lines
598 B
Python
23 lines
598 B
Python
#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)
|