Startup
This commit is contained in:
14
script/rocknroll.py
Normal file
14
script/rocknroll.py
Normal file
@@ -0,0 +1,14 @@
|
||||
ei = get_energy()
|
||||
if ei < 6.0:
|
||||
print "No rocking optimization for lower energy for 3rd harmonics rejection'
|
||||
run("rock")
|
||||
|
||||
#check beam position at EBOX and fbm if needed
|
||||
time.sleep(2.0)
|
||||
|
||||
by = bpm1.read()
|
||||
if (math.abs(by) > 0.005):
|
||||
print by
|
||||
print 'Beam is not aligned at E-BOX BPM: do fbm.'
|
||||
run("fbm")
|
||||
|
||||
Reference in New Issue
Block a user