Script execution
This commit is contained in:
1 parent
69745c884b
commit
b3ab71c1d0
1 file changed
+4
-2
@@ -44,8 +44,10 @@ def after(rec):
|
||||
caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(arr_phase, 'd'))
|
||||
|
||||
try:
|
||||
Vb = create_averager(V, nb, lat)
|
||||
xb = create_averager(x, nb, lat)
|
||||
Vb = create_averager(V, nb, 0.100)
|
||||
xb = create_averager(x, nb, 0.100)
|
||||
print(xb.mean)
|
||||
print(xb.stdev)
|
||||
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(1)]
|
||||
|
||||
Reference in new issue
Block a user