diff --git a/script/RFscan/GunScan.py b/script/RFscan/GunScan.py index 5641b6c..3c4cd27 100644 --- a/script/RFscan/GunScan.py +++ b/script/RFscan/GunScan.py @@ -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)]