[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)
- [Commit-gnuradio] [gnuradio] branch master updated (0a18553 -> 5e383b0), git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 02/07: gr-analog: FM emphasis filters use "newstyle" taps,
git <=
- [Commit-gnuradio] [gnuradio] 04/07: gr-analog: Set FM blocks to use implicit default for preemphasis corner, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 06/07: Merge branch 'maint', git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 03/07: gr-analog: Add safety and default for FM preemphasis filter, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 05/07: Merge branch 'maint', git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 01/07: gr-analog: Fix FM preemphasis filter and rework deemphasis filter, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 07/07: Merge remote-tracking branch 'awalls/fm_emphasis_filter', git, 2016/03/31