[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] fft sink x-axis units
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] fft sink x-axis units |
Date: |
Sat, 2 Dec 2006 00:18:30 -0800 |
User-agent: |
Mutt/1.5.9i |
On Fri, Dec 01, 2006 at 08:04:52PM -0500, Eric Hill Matlis wrote:
> Thanks for the response. I guess my question is: where is that
> information carried? Is it in the definition of the source? The
> two definitions of the sinks look virtually identical to me:
>
> am_rcv.py:
> pre_demod = fftsink.fft_sink_c (self, panel,
> title="Pre-Demodulation", fft_size=1024, sample_rate=if_rate)
> self.connect (src, pre_demod)
> vbox.Add (pre_demod.win, 1, wx.EXPAND)
>
> usrp_wfm_rcv_pll.py:
> self.src_fft = fftsink.fft_sink_c (self, self.panel,
> title="Data from USRP",fft_size=512, sample_rate=usrp_rate)
> self.connect (self.u, self.src_fft)
> vbox.Add (self.src_fft.win, 4, wx.EXPAND)
>
> eric
def update_status_bar (self):
msg = "Volume:%r Setting:%s" % (self.vol, self.state)
self._set_status_msg(msg, 1)
self.src_fft.set_baseband_freq(self.freq) <<< LOOK HERE <<<