summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormleech2007-12-10 22:09:21 +0000
committermleech2007-12-10 22:09:21 +0000
commite6b44c657f43ed84ac2889bac48ef24ca3bfe7e7 (patch)
tree7b0e9fdc1b5e60f379790df8a44109233b2306c9
parent100e6105278e91ab07ae37e88e83b1ab738594c9 (diff)
downloadgnuradio-e6b44c657f43ed84ac2889bac48ef24ca3bfe7e7.tar.gz
gnuradio-e6b44c657f43ed84ac2889bac48ef24ca3bfe7e7.tar.bz2
gnuradio-e6b44c657f43ed84ac2889bac48ef24ca3bfe7e7.zip
Updated to numpy.fft from Numeric.FFT
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7099 221aa14e-8319-0410-a670-987f0aec2ac5
-rwxr-xr-xgr-radio-astronomy/src/python/usrp_ra_receiver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-radio-astronomy/src/python/usrp_ra_receiver.py b/gr-radio-astronomy/src/python/usrp_ra_receiver.py
index c6052a569..a34b39f9f 100755
--- a/gr-radio-astronomy/src/python/usrp_ra_receiver.py
+++ b/gr-radio-astronomy/src/python/usrp_ra_receiver.py
@@ -31,7 +31,7 @@ import wx
import sys
import Numeric
import time
-import FFT
+import numpy.fft
import ephem
class continuum_calibration(gr.feval_dd):
@@ -1079,7 +1079,7 @@ class app_flow_graph(stdgui2.std_top_block):
break
tmptaps[idx] = complex(0.0, 0.0)
- self.notch_taps = FFT.inverse_fft(tmptaps)
+ self.notch_taps = numpy.fft.ifft(tmptaps)
def main ():
app = stdgui2.stdapp(app_flow_graph, "RADIO ASTRONOMY SPECTRAL/CONTINUUM RECEIVER: $Revision$", nstatus=1)