commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10178 - gnuradio/trunk/gr-radio-astronomy/src/python


From: mleech
Subject: [Commit-gnuradio] r10178 - gnuradio/trunk/gr-radio-astronomy/src/python
Date: Mon, 29 Dec 2008 18:02:56 -0700 (MST)

Author: mleech
Date: 2008-12-29 18:02:55 -0700 (Mon, 29 Dec 2008)
New Revision: 10178

Modified:
   gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
Log:
Turned set_bw() back on...



Modified: gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
===================================================================
--- gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2008-12-30 00:51:54 UTC (rev 10177)
+++ gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2008-12-30 01:02:55 UTC (rev 10178)
@@ -436,8 +436,8 @@
                        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 @@
                        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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]