|
From: | Dan Halperin |
Subject: | Re: [Discuss-gnuradio] fft sink x-axis units |
Date: | Fri, 01 Dec 2006 19:12:10 -0800 |
User-agent: | Thunderbird 1.5.0.8 (X11/20061108) |
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:I haven't looked at the code carefully, but "if_rate" and "usrp_rate" sure look suspicious given that IF usually stands for Intermediate Frequency. Here is a relevant-looking part of fftsink.py x = max(abs(self.fftsink.sample_rate), abs(self.fftsink.baseband_freq)) if x >= 1e9: sf = 1e-9 units = "GHz" elif x >= 1e6: sf = 1e-6 units = "MHz" else: sf = 1e-3 units = "kHz" -Dan |
[Prev in Thread] | Current Thread | [Next in Thread] |