Script execution

This commit is contained in:
2016-04-20 14:54:16 +02:00
parent 0d6e09f6a5
commit 9052d32ae9

View File

@@ -37,7 +37,7 @@ def rock(axis = th1, tt = 0.2, seti0 = False, dx = None, noref = False):
time.sleep(3) # wait a bit until mono theta finish moving
br = mono_beam.read()
mono_beam_ref.write(br)
print 'rock_success new mono beam at ' + str(br) + ' at' + str(e) + ' keV'
print 'rock_success new mono beam at ' + str(br) + ' at ' + str(e) + ' keV'
return True
else:
max_x= xdata[ydata.index(max(ydata))]