Script execution

This commit is contained in:
voulot_d
2017-01-13 16:49:27 +01:00
parent 72aad6cc5a
commit 09c5eae216
+1 -1
View File
@@ -49,7 +49,7 @@ try:
r = lscan(phase, [Vb, xb], start, stop, step , latency=lat, after_read = after)
rf_phase = r.getPositions(0)
energy = [val/1000.0/disp*energy0 for val in r.getReadable(1)]
energy = [val/1000.0/disp*energy0 for val in r.getReadable(1).mean]
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