summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormleech2008-12-30 01:02:55 +0000
committermleech2008-12-30 01:02:55 +0000
commit567177c5e17e670f378ebc13aca7314e83a75a81 (patch)
tree68063fafe65903e14fd3b1b8dd7121938416daa2
parent015c18afbcff894affb3ede7f39d781354087051 (diff)
downloadgnuradio-567177c5e17e670f378ebc13aca7314e83a75a81.tar.gz
gnuradio-567177c5e17e670f378ebc13aca7314e83a75a81.tar.bz2
gnuradio-567177c5e17e670f378ebc13aca7314e83a75a81.zip
Turned set_bw() back on...
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10178 221aa14e-8319-0410-a670-987f0aec2ac5
-rwxr-xr-xgr-radio-astronomy/src/python/usrp_ra_receiver.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-radio-astronomy/src/python/usrp_ra_receiver.py b/gr-radio-astronomy/src/python/usrp_ra_receiver.py
index a49390701..11dcb54ba 100755
--- a/gr-radio-astronomy/src/python/usrp_ra_receiver.py
+++ b/gr-radio-astronomy/src/python/usrp_ra_receiver.py
@@ -436,8 +436,8 @@ class app_flow_graph(stdgui2.std_top_block):
lbw = (self.u.adc_freq() / self.u.decim_rate()) / 2
if lbw < 1.0e6:
lbw = 1.0e6
- #self.subdev[0].set_bw(lbw)
- #self.subdev[1].set_bw(lbw)
+ self.subdev[0].set_bw(lbw)
+ self.subdev[1].set_bw(lbw)
# Start the timer for the LMST display and datalogging
self.lmst_timer.Start(1000)
@@ -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):
+ if abs(self.notches[i] - dfreq) < ((self.bw/self.NOTCH_TAPS)/2):
delfreq = i
break
j = 0