Script execution
This commit is contained in:
@@ -45,10 +45,11 @@ def after(rec):
|
||||
caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(arr_phase, 'd'))
|
||||
|
||||
try:
|
||||
Vb = create_averager(V, nb, 0.100)
|
||||
xb = create_averager(x, nb, 0.100)
|
||||
r = lscan(phase, [xb], start, stop, step , latency=lat, after_read = after)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user