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