summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormleech <mleech@221aa14e-8319-0410-a670-987f0aec2ac5>2009-01-03 01:50:36 +0000
committermleech <mleech@221aa14e-8319-0410-a670-987f0aec2ac5>2009-01-03 01:50:36 +0000
commitb54ab8fc36e242e0ae9c0fad99e1eda5d6423bd1 (patch)
tree2b97fbdf9d1500ab569cb1c90454a1107fa9166f
parenta304d90fa55c9d6748764f4c2367c72418691a79 (diff)
Fixed bug that under-flowed self.notches
increased notch resolution to 128 taps git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10190 221aa14e-8319-0410-a670-987f0aec2ac5
-rwxr-xr-xgr-radio-astronomy/src/python/usrp_ra_receiver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-radio-astronomy/src/python/usrp_ra_receiver.py b/gr-radio-astronomy/src/python/usrp_ra_receiver.py
index 137ed9eb79..c0edbe0e91 100755
--- a/gr-radio-astronomy/src/python/usrp_ra_receiver.py
+++ b/gr-radio-astronomy/src/python/usrp_ra_receiver.py
@@ -1044,7 +1044,7 @@ class app_flow_graph(stdgui2.std_top_block):
delfreq = -1
if self.use_notches == True:
for i in range(0,len(self.notches)):
- if abs(self.notches[i] - dfreq) < ((self.bw/self.NOTCH_TAPS)/2.0):
+ if self.notches[i] != 0 and abs(self.notches[i] - dfreq) < ((self.bw/self.NOTCH_TAPS)/2.0):
delfreq = i
break
j = 0