commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 02/07: gr-analog: FM emphasis filters use "


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/07: gr-analog: FM emphasis filters use "newstyle" taps
Date: Thu, 31 Mar 2016 05:49:52 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 2ae7809b845b7930c9b0120737167dd1251098eb
Author: Andy Walls <address@hidden>
Date:   Wed Mar 30 07:43:58 2016 -0400

    gr-analog: FM emphasis filters use "newstyle" taps
    
    In redesign of the FM emphasis filters, I fell into the gr-filter
    implementation trap of the default "oldstyle=True" taps.
    This caused the pole of the IIR filter to be reflected about the
    z = j w axis, resulting in an incorrect filter.
    Set the filters to use newstyle taps.
---
 gr-analog/python/analog/fm_emph.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gr-analog/python/analog/fm_emph.py 
b/gr-analog/python/analog/fm_emph.py
index e457f56..7637743 100644
--- a/gr-analog/python/analog/fm_emph.py
+++ b/gr-analog/python/analog/fm_emph.py
@@ -137,7 +137,7 @@ class fm_deemph(gr.hier_block2):
             global plot1
             plot1 = gru.gnuplot_freqz(gru.freqz(btaps, ataps), fs, True)
 
-        deemph = filter.iir_filter_ffd(btaps, ataps)
+        deemph = filter.iir_filter_ffd(btaps, ataps, False)
         self.connect(self, deemph, self)
 
 #
@@ -321,5 +321,5 @@ class fm_preemph(gr.hier_block2):
             global plot2
             plot2 = gru.gnuplot_freqz(gru.freqz(btaps, ataps), fs, True)
 
-        preemph = filter.iir_filter_ffd(btaps, ataps)
+        preemph = filter.iir_filter_ffd(btaps, ataps, False)
         self.connect(self, preemph, self)



reply via email to

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