commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r3598 - gnuradio/branches/developers/trondeau/digital-


From: trondeau
Subject: [Commit-gnuradio] r3598 - gnuradio/branches/developers/trondeau/digital-wip/gnuradio-core/src/python/gnuradio/gr
Date: Thu, 21 Sep 2006 14:57:07 -0600 (MDT)

Author: trondeau
Date: 2006-09-21 14:57:07 -0600 (Thu, 21 Sep 2006)
New Revision: 3598

Modified:
   
gnuradio/branches/developers/trondeau/digital-wip/gnuradio-core/src/python/gnuradio/gr/qa_agc.py
Log:
fixed qa_agc to handle new AGC2 function definition

Modified: 
gnuradio/branches/developers/trondeau/digital-wip/gnuradio-core/src/python/gnuradio/gr/qa_agc.py
===================================================================
--- 
gnuradio/branches/developers/trondeau/digital-wip/gnuradio-core/src/python/gnuradio/gr/qa_agc.py
    2006-09-21 20:55:31 UTC (rev 3597)
+++ 
gnuradio/branches/developers/trondeau/digital-wip/gnuradio-core/src/python/gnuradio/gr/qa_agc.py
    2006-09-21 20:57:07 UTC (rev 3598)
@@ -246,7 +246,7 @@
         dst1 = gr.vector_sink_c ()
         head = gr.head (gr.sizeof_gr_complex, int (5*sampling_freq * 0.10))
 
-        agc = gr.agc2_cc(1e-3, 1e-2, 1, 1, 1000)
+        agc = gr.agc2_cc(1e-2, 1e-3, 1, 1, 1000)
         
         fg.connect (src1, head)
         fg.connect (head, agc)
@@ -257,7 +257,6 @@
 
         fg.run ()
         dst_data = dst1.data ()
-        print dst_data
         self.assertComplexTuplesAlmostEqual (expected_result, dst_data, 5)
 
     def test_004(self):
@@ -322,7 +321,7 @@
         dst1 = gr.vector_sink_f ()
         head = gr.head (gr.sizeof_float, int (5*sampling_freq * 0.10))
 
-        agc = gr.agc2_ff(1e-3, 1e-2, 1, 1, 1000)
+        agc = gr.agc2_ff(1e-2, 1e-3, 1, 1, 1000)
         
         fg.connect (src1, head)
         fg.connect (head, agc)





reply via email to

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