commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r7099 - gnuradio/trunk/gr-radio-astronomy/src/python


From: mleech
Subject: [Commit-gnuradio] r7099 - gnuradio/trunk/gr-radio-astronomy/src/python
Date: Mon, 10 Dec 2007 15:09:21 -0700 (MST)

Author: mleech
Date: 2007-12-10 15:09:21 -0700 (Mon, 10 Dec 2007)
New Revision: 7099

Modified:
   gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
Log:
Updated to numpy.fft from Numeric.FFT



Modified: gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
===================================================================
--- gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2007-12-10 21:55:51 UTC (rev 7098)
+++ gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2007-12-10 22:09:21 UTC (rev 7099)
@@ -31,7 +31,7 @@
 import sys
 import Numeric 
 import time
-import FFT
+import numpy.fft
 import ephem
 
 class continuum_calibration(gr.feval_dd):
@@ -1079,7 +1079,7 @@
                      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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]