From 77349c7d43b029bc13263343d2632d36be661f7c Mon Sep 17 00:00:00 2001 From: mleech Date: Thu, 15 Mar 2007 17:36:36 +0000 Subject: 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 --- gr-radio-astronomy/src/python/usrp_ra_receiver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gr-radio-astronomy/src/python/usrp_ra_receiver.py') 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) -- cgit