Script execution
This commit is contained in:
@@ -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))]
|
||||
|
||||
Reference in New Issue
Block a user