From 8fdb0dadaf9ad4022fd6f3cc06ed4770088a4182 Mon Sep 17 00:00:00 2001 From: sfop Date: Tue, 24 Jan 2017 10:56:34 +0100 Subject: [PATCH] Script execution --- script/RFscan/ShottkyScan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/RFscan/ShottkyScan.py b/script/RFscan/ShottkyScan.py index 1c36c99..a5c34aa 100644 --- a/script/RFscan/ShottkyScan.py +++ b/script/RFscan/ShottkyScan.py @@ -46,5 +46,6 @@ caput("SINEG01-RSYS:CALC-VSUM-PHASE-OFFSET", phase_offset) #set_return(50.0) y = r.getReadable(0) x = r.getPositions(0) +y = [v.mean for v in y] index_max = y.indexOf(max(y)) _=x[index_max] \ No newline at end of file