commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r4167 - gnuradio/branches/developers/n4hy/iir/gnuradio


From: n4hy
Subject: [Commit-gnuradio] r4167 - gnuradio/branches/developers/n4hy/iir/gnuradio-core/src/python/gnuradio/gr
Date: Wed, 20 Dec 2006 16:39:15 -0700 (MST)

Author: n4hy
Date: 2006-12-20 16:39:15 -0700 (Wed, 20 Dec 2006)
New Revision: 4167

Modified:
   
gnuradio/branches/developers/n4hy/iir/gnuradio-core/src/python/gnuradio/gr/qa_iir.py
Log:
iir refactoring continues. qa_iir.py modified to accept new situation

Modified: 
gnuradio/branches/developers/n4hy/iir/gnuradio-core/src/python/gnuradio/gr/qa_iir.py
===================================================================
--- 
gnuradio/branches/developers/n4hy/iir/gnuradio-core/src/python/gnuradio/gr/qa_iir.py
        2006-12-20 20:53:50 UTC (rev 4166)
+++ 
gnuradio/branches/developers/n4hy/iir/gnuradio-core/src/python/gnuradio/gr/qa_iir.py
        2006-12-20 23:39:15 UTC (rev 4167)
@@ -136,13 +136,13 @@
         
     def test_iir_direct_008 (self):
         src_data = (1, 2, 3, 4, 5, 6, 7, 8)
-        expected_result = (1,2,2,5,9,7,13,28)
-        fftaps = (2, 1)
-        fbtaps = (0, -1)
+        expected_result = (2,4,4,10,18,14,26,56)
+        fftaps = (2,)
+        fbtaps = (0, 1)
         src = gr.vector_source_f (src_data)
         op = gr.iir_filter_ffd (fftaps, fbtaps)
-        fftaps = (1,0)
-        fbtaps = (1,0, -1,3)
+        fftaps_data = (1)
+        fbtaps = (0,0, -1,3)
         op.set_taps (fftaps, fbtaps)
         dst = gr.vector_sink_f ()
         self.fg.connect (src, op)





reply via email to

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