Files
sf-op/script/GenericScans/MonoAlvraScan.py
gobbo_a 8beeb7dbc7
2023-08-17 15:16:51 +02:00

15 lines
283 B
Python

#import epics as ep
#import numpy as np
monoenePVset = 'SAROP11-ARAMIS:ENERGY_SP'
pbps122PVrb = 'SAROP11-PBPS122:INTENSITY'
startval = caget(monoenePVset)
for i in range(2485, 2515, 2):
caput(monoenePVset, i)
sleep(5)
#ep.caget(pbps122)
caput(monoenePVset, startval)