diff options
author | mleech | 2007-03-15 17:36:36 +0000 |
---|---|---|
committer | mleech | 2007-03-15 17:36:36 +0000 |
commit | 77349c7d43b029bc13263343d2632d36be661f7c (patch) | |
tree | 8adbe1cb492a587f18be5293457887ded541df65 /gr-radio-astronomy/src/python/usrp_ra_receiver.py | |
parent | 75f9f9c4373fe6ec5e88045151614c3ff3ad983e (diff) | |
download | gnuradio-77349c7d43b029bc13263343d2632d36be661f7c.tar.gz gnuradio-77349c7d43b029bc13263343d2632d36be661f7c.tar.bz2 gnuradio-77349c7d43b029bc13263343d2632d36be661f7c.zip |
Increased FFT average upper limit to 3000, from 2000
Fixed type mistmatch in Numeric.zeros()
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4759 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radio-astronomy/src/python/usrp_ra_receiver.py')
-rwxr-xr-x | gr-radio-astronomy/src/python/usrp_ra_receiver.py | 6 |
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 2ecf946cb..ceaf5caf6 100755 --- a/gr-radio-astronomy/src/python/usrp_ra_receiver.py +++ b/gr-radio-astronomy/src/python/usrp_ra_receiver.py @@ -189,14 +189,14 @@ class app_flow_graph(stdgui.gui_flow_graph): # self.fft_rate = options.fft_rate - self.fft_size = options.fft_size + self.fft_size = int(options.fft_size) # This buffer is used to remember the most-recent FFT display # values. Used later by self.write_spectral_data() to write # spectral data to datalogging files, and by the SETI analysis # function. # - self.fft_outbuf = Numeric.zeros(options.fft_size, Numeric.Float64) + self.fft_outbuf = Numeric.zeros(self.fft_size, Numeric.Float64) # # If SETI mode, only look at seti_fft_bandwidth (currently 12.5Khz) @@ -485,7 +485,7 @@ class app_flow_graph(stdgui.gui_flow_graph): vbox2.Add((4,0), 0, 0) myform['average'] = form.slider_field(parent=self.panel, sizer=vbox2, - label="Spectral Averaging (FFT frames)", weight=1, min=1, max=2000, callback=self.set_averaging) + label="Spectral Averaging (FFT frames)", weight=1, min=1, max=3000, callback=self.set_averaging) vbox2.Add((4,0), 0, 0) |