Files
x11ma/script/Users/PEEM/Armin/Threshold_Scan.py
gac-x11ma 1d75bc4535
2023-07-18 11:00:54 +02:00

26 lines
605 B
Python

##Constants
AVERAGE = 1
EXPOSURE = 1.0
MEASUREMENTS = 5
DRIFT_CORRECTION = True
eiger.stop()
eiger_threshold.write(4000.0)
time.sleep(2.0)
#eiger.start()
##TakeImage at 710 eV at the given polarization
#change_energy(712)
take_image(scans=1, switch_pol=False, measurements=MEASUREMENTS, exposure=EXPOSURE, average=AVERAGE)
time.sleep(2.0)
#
eiger.stop()
eiger_threshold.write(4100.0)
time.sleep(2.0)
#eiger.start()
##TakeImage at 710 eV at the given polarization
#change_energy(712)
take_image(scans=1, switch_pol=False, measurements=MEASUREMENTS, exposure=EXPOSURE, average=AVERAGE)
time.sleep(2.0)