Script execution

This commit is contained in:
sfop
2017-02-16 18:59:23 +01:00
parent d867f6879a
commit c737dc5c0e

View File

@@ -49,7 +49,7 @@ try:
xb = create_averager(x, nb, 0.100)
r = lscan(phase, [Vb, xb], start, stop, step , latency=lat, after_read = after)
rf_phase = r.getPositions(0)
energy = [val.mean/1000.0/disp*energy0 for val in r.getReadable(0)]
energy = [val.mean/1000.0/disp*energy0 for val in r.getReadable(1)]
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(energy, 'd'))
caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(rf_phase,'d'))
phase_fit_max = None