Closedown

This commit is contained in:
voulot_d
2017-01-13 17:07:47 +01:00
parent 09c5eae216
commit 69745c884b
3 changed files with 111 additions and 116 deletions
+1 -2
View File
@@ -46,10 +46,9 @@ def after(rec):
try:
Vb = create_averager(V, nb, lat)
xb = create_averager(x, nb, lat)
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).mean]
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