##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)