diff --git a/script/RFscan/phase_scan_caqtdm.py b/script/RFscan/phase_scan_caqtdm.py index dd393c9..aaf28d7 100644 --- a/script/RFscan/phase_scan_caqtdm.py +++ b/script/RFscan/phase_scan_caqtdm.py @@ -49,9 +49,7 @@ try: 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)] - print energy[0] - print energy[1] - print energy[2] + print r.getReadable(1)[0].mean caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(energy, 'd')) caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(rf_phase,'d')) phase_fit_max = None