Script execution
This commit is contained in:
@@ -18,12 +18,13 @@ set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
|
||||
try:
|
||||
if FLY_SCAN:
|
||||
# time per scienta acquisition in seconds
|
||||
time1 = time.time()
|
||||
trig_scienta()
|
||||
time1 = time.time()
|
||||
before_readout()
|
||||
time.sleep(0.2)
|
||||
time2 = time.time()
|
||||
scienta_time = (time2 - time1)
|
||||
print "scienta time: ", scienta_time
|
||||
scienta_time = (time2 - time1) * 2
|
||||
print "step time: ", scienta_time
|
||||
|
||||
if isinstance(STEPS,int):
|
||||
raise Exception ("Fly Scan must define step size, and not number of steps")
|
||||
|
||||
Reference in New Issue
Block a user