Script execution

This commit is contained in:
sfop
2017-02-14 15:16:05 +01:00
parent 738672f79e
commit 52fe571ef0

View File

@@ -33,9 +33,7 @@ dx = camtool.getValue("gr_x_fit_standard_deviation")
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)
r = lscan(phase, [x, dx], 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)]