diff --git a/LCU/StationTest/test/hbatest/determinepeak.py b/LCU/StationTest/test/hbatest/determinepeak.py index 222e4d1bdaade263766804515c3c5e14e9ba9e7c..e93ad1899e917a86753318b70d83b077c7b978d4 100644 --- a/LCU/StationTest/test/hbatest/determinepeak.py +++ b/LCU/StationTest/test/hbatest/determinepeak.py @@ -101,7 +101,7 @@ def main() : sst_data = read_frame(f) [maxval,subband_nr] = max((x,i) for i,x in enumerate(sst_data[1:])) max_rfi[rcu_nr]=10*numpy.log10(maxval) - max_subband[rcu_nr]=subband_nr + max_subband[rcu_nr]=subband_nr+1 f.close for rcuind in range(num_rcu) : print 'RCU ' + str(rcuind) + ' has max. RFI (' + str(round(max_rfi[rcuind],1)) + ' dB) in subband ' + str(max_subband[rcuind])