Script execution

This commit is contained in:
sfop
2017-02-16 18:53:25 +01:00
parent 2f633893a1
commit 5e39237857
+1 -1
View File
@@ -46,7 +46,7 @@ def after(rec):
try:
xb = create_averager(x, nb, 0.100)
r = lscan(phase, xb, start, stop, step , latency=lat, after_read = after)
r = lscan(phase, [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)]
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(energy, 'd'))