Script execution

This commit is contained in:
sfop
2017-02-14 14:59:36 +01:00
parent 41b218d1db
commit 0a0a14aa94

View File

@@ -35,7 +35,7 @@ dx = Channel("SINEG01-DSCR190:DX-SIM", type = 'd', alias='SCR-DX')
try:
xb = create_averager(x, nb, 0.100)
dxb = create_averager(dx, nb, 0.100)
r = lscan(phase, [xb, dxb], start, stop, step , latency=lat, after_read = after)
r = lscan(phase, [xb, dxb], start, stop, step , latency=lat)
rf_phase = r.getPositions(0)
E = [val.mean/1000.0/disp*energy0 for val in r.getReadable(0)]
dE = [val.mean/1000.0/disp*energy0 for val in r.getReadable(1)]