This commit is contained in:
14
script/GenericScans/MonoAlvraScan.py
Normal file
14
script/GenericScans/MonoAlvraScan.py
Normal file
@@ -0,0 +1,14 @@
|
||||
#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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user