Merge branch 'maint'
[debian/gnuradio] / gnuradio-examples / python / usrp / usrp_nbfm_rcv.py
index c63bef0c4ee19c59aacb4d3edb7bf191d473d43c..4c66fc970864a792cdd423085c512348f4820632 100755 (executable)
@@ -102,7 +102,7 @@ class my_top_block (stdgui2.std_top_block):
         if 1 and not(no_gui):
             self.src_fft = fftsink2.fft_sink_c(self.panel, title="Data from USRP",
                                                fft_size=512, sample_rate=self.rxpath.if_rate,
-                                               ref_level=80, y_per_div=20)
+                                               ref_scale=32768.0, ref_level=0, y_per_div=10, y_divs=12)
             self.connect (self.rxpath.u, self.src_fft)
             vbox.Add (self.src_fft.win, 4, wx.EXPAND)
         if 1 and not(no_gui):
@@ -273,8 +273,8 @@ class receive_path(gr.hier_block2):
         # Create filter to get actual channel we want
         chan_coeffs = gr.firdes.low_pass (1.0,                # gain
                                           self.if_rate,       # sampling rate
-                                          13e3,               # low pass cutoff freq
-                                          4e3,                # width of trans. band
+                                          8e3,               # low pass cutoff freq
+                                          2e3,                # width of trans. band
                                           gr.firdes.WIN_HANN) # filter type 
 
         print "len(rx_chan_coeffs) =", len(chan_coeffs)