From 6f9668cff23914e5e009cc2ba285c630adfdf3a6 Mon Sep 17 00:00:00 2001 From: voulot_d Date: Thu, 19 Jan 2017 14:50:10 +0100 Subject: [PATCH] Script execution --- script/RFscan/gun_scan1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/RFscan/gun_scan1.py b/script/RFscan/gun_scan1.py index 86ab6da..d52c479 100644 --- a/script/RFscan/gun_scan1.py +++ b/script/RFscan/gun_scan1.py @@ -22,7 +22,7 @@ try: r = lscan(phase, (qb), start, stop, step, latency=lat) rf_phase = r.getPositions(0) #charge = [val.mean for val in r.getReadable(0)] - charge = r.getReadable(0) + charge = r.getReadable(0).mean caput("SINEG01-RSYS:GET-PHASE-ARRAY", to_array(rf_phase,'d')) caput("SINEG01-RSYS:GET-CHARGE-ARRAY", to_array(charge, 'd')) finally: