[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10190 - gnuradio/trunk/gr-radio-astronomy/src/python
From: |
mleech |
Subject: |
[Commit-gnuradio] r10190 - gnuradio/trunk/gr-radio-astronomy/src/python |
Date: |
Fri, 2 Jan 2009 18:50:37 -0700 (MST) |
Author: mleech
Date: 2009-01-02 18:50:36 -0700 (Fri, 02 Jan 2009)
New Revision: 10190
Modified:
gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
Log:
Fixed bug that under-flowed self.notches
increased notch resolution to 128 taps
Modified: gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
===================================================================
--- gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
2009-01-02 20:30:54 UTC (rev 10189)
+++ gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
2009-01-03 01:50:36 UTC (rev 10190)
@@ -1044,7 +1044,7 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10190 - gnuradio/trunk/gr-radio-astronomy/src/python,
mleech <=