commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r11606 - gnuradio/branches/developers/n4hy/pfb_iir2/gn


From: n4hy
Subject: [Commit-gnuradio] r11606 - gnuradio/branches/developers/n4hy/pfb_iir2/gnuradio-examples/python/apps/filter_design_tool
Date: Mon, 17 Aug 2009 11:20:47 -0600 (MDT)

Author: n4hy
Date: 2009-08-17 11:20:47 -0600 (Mon, 17 Aug 2009)
New Revision: 11606

Modified:
   
gnuradio/branches/developers/n4hy/pfb_iir2/gnuradio-examples/python/apps/filter_design_tool/iirdestest.py
Log:
more useful output in iirtest

Modified: 
gnuradio/branches/developers/n4hy/pfb_iir2/gnuradio-examples/python/apps/filter_design_tool/iirdestest.py
===================================================================
--- 
gnuradio/branches/developers/n4hy/pfb_iir2/gnuradio-examples/python/apps/filter_design_tool/iirdestest.py
   2009-08-17 17:09:30 UTC (rev 11605)
+++ 
gnuradio/branches/developers/n4hy/pfb_iir2/gnuradio-examples/python/apps/filter_design_tool/iirdestest.py
   2009-08-17 17:20:47 UTC (rev 11606)
@@ -22,18 +22,16 @@
 
 from gnuradio import gr
 
-numbers = gr.iirdes.butterord(gr.iirdes.BANDPASS,
-                              [.2, .3],
-                              [.1, .4],
+numbers = gr.iirdes.butterord(gr.iirdes.LOWPASS,
+                              [.3],
+                              [.4],
                               .1,
-                              110)
-print numbers
+                              60)
+print "Lowpass design, order and cutoff frequency = ",numbers,"\n"
 
 
 tf=[0.0976, 0.1953, 0.0976, 0.3333, -0.9428, 1.0]
 order = gr.iirdes.tf2order(tf)
-print order
+print "order of filter= ",order,"\n"
 zpg = gr.iirdes.tf2zpg(tf)
-print zpg
-
-
+print "zeros,poles,gain = ",zpg,"\n"





reply via email to

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