From 77d5097c7df9494ee7e215d9dbf29d185ffbe5ed Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Sat, 5 May 2012 13:35:40 -0400 Subject: filter: cleanup and moving calls from gr.firdes to filter.firdes. --- gr-filter/examples/fft_filter_ccc.py | 6 +++--- gr-filter/examples/fir_filter_ccc.py | 2 +- gr-filter/examples/fir_filter_fff.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gr-filter/examples') diff --git a/gr-filter/examples/fft_filter_ccc.py b/gr-filter/examples/fft_filter_ccc.py index 0844c88ef..cc70e2b15 100755 --- a/gr-filter/examples/fft_filter_ccc.py +++ b/gr-filter/examples/fft_filter_ccc.py @@ -28,9 +28,9 @@ class example_fft_filter_ccc(gr.top_block): self._tw = tw self._at = atten self._decim = D - taps = gr.firdes.complex_band_pass_2(1, self._fs, - self._bw0, self._bw1, - self._tw, self._at) + taps = filter.firdes.complex_band_pass_2(1, self._fs, + self._bw0, self._bw1, + self._tw, self._at) print "Num. Taps: ", len(taps) self.src = gr.noise_source_c(gr.GR_GAUSSIAN, 1) diff --git a/gr-filter/examples/fir_filter_ccc.py b/gr-filter/examples/fir_filter_ccc.py index 57df868f7..b5a461d2c 100755 --- a/gr-filter/examples/fir_filter_ccc.py +++ b/gr-filter/examples/fir_filter_ccc.py @@ -27,7 +27,7 @@ class example_fir_filter_ccc(gr.top_block): self._tw = tw self._at = atten self._decim = D - taps = gr.firdes.low_pass_2(1, self._fs, self._bw, self._tw, self._at) + taps = filter.firdes.low_pass_2(1, self._fs, self._bw, self._tw, self._at) print "Num. Taps: ", len(taps) self.src = gr.noise_source_c(gr.GR_GAUSSIAN, 1) diff --git a/gr-filter/examples/fir_filter_fff.py b/gr-filter/examples/fir_filter_fff.py index 1ed889fcf..983088622 100755 --- a/gr-filter/examples/fir_filter_fff.py +++ b/gr-filter/examples/fir_filter_fff.py @@ -27,7 +27,7 @@ class example_fir_filter_fff(gr.top_block): self._tw = tw self._at = atten self._decim = D - taps = gr.firdes.low_pass_2(1, self._fs, self._bw, self._tw, self._at) + taps = filter.firdes.low_pass_2(1, self._fs, self._bw, self._tw, self._at) print "Num. Taps: ", len(taps) self.src = gr.noise_source_f(gr.GR_GAUSSIAN, 1) -- cgit