Script execution
This commit is contained in:
@@ -28,13 +28,13 @@ phase.initialize()
|
||||
#camtool.startReceiver()
|
||||
#x = camtool.getValue("x_com")
|
||||
#dx = camtool.getValue("x_rms")
|
||||
x = phase.getValue()
|
||||
dx = (phase.getValue() - 85) * (phase.getValue() - 85)
|
||||
xb = phase.getValue()
|
||||
dxb = (phase.getValue() - 85) * (phase.getValue() - 85)
|
||||
|
||||
|
||||
try:
|
||||
xb = create_averager(x, nb, 0.100)
|
||||
dxb = create_averager(dx, nb, 0.100)
|
||||
# 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)
|
||||
rf_phase = r.getPositions(0)
|
||||
E = [val.mean/1000.0/disp*energy0 for val in r.getReadable(0)]
|
||||
|
||||
Reference in New Issue
Block a user