Closedown

This commit is contained in:
2015-11-30 16:35:31 +01:00
parent 06508fcbe3
commit 4743f6aaae
3 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
"""
"""
###################################################################################################
#
###################################################################################################
tc1 = caget('X06DA-OP-MO:TC1') # theta1 thermo couple 1
energy = # Mono energy

View File

@@ -1,8 +1,7 @@
"""
PRO ROCK, axis,SILENT = silent,FFAIL = ffail,TIME = tt, SETI0 = seti0, DTHETA = dx, NOREF = noref
Parameters:
axis
"""
###################################################################################################
# PRO ROCK, axis,SILENT = silent,FFAIL = ffail,TIME = tt, SETI0 = seti0, DTHETA = dx, NOREF = noref
# Parameters: axis
###################################################################################################
def rock(axis = th1, ffail = False, tt = 0.2, seti0 = False, dx = None, noref = False):

View File

@@ -7,7 +7,7 @@ run("rock")
time.sleep(2.0)
by = bpm1.read()
if (math.abs(by) > 0.005):
if (abs(by) > 0.005):
print by
print 'Beam is not aligned at E-BOX BPM: do fbm.'
run("fbm")