From 9f2ca841018fd24644be39b4400784806015aef2 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sun, 23 Aug 2009 11:45:22 -0700 Subject: Added blks2.pfb_arb_resampler_ccf to GRC block list * New block XML file * Added set_taps callback to blks2 hier block * GRC example showing pre- and post-resampling swept spectrum --- gnuradio-core/src/python/gnuradio/blks2impl/pfb_arb_resampler.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnuradio-core') diff --git a/gnuradio-core/src/python/gnuradio/blks2impl/pfb_arb_resampler.py b/gnuradio-core/src/python/gnuradio/blks2impl/pfb_arb_resampler.py index b1b3dfcab..e40d9636a 100644 --- a/gnuradio-core/src/python/gnuradio/blks2impl/pfb_arb_resampler.py +++ b/gnuradio-core/src/python/gnuradio/blks2impl/pfb_arb_resampler.py @@ -24,7 +24,7 @@ from gnuradio import gr class pfb_arb_resampler_ccf(gr.hier_block2): ''' - Convinience wrapper for the polyphase filterbank arbitrary resampler. + Convenience wrapper for the polyphase filterbank arbitrary resampler. The block takes a single complex stream in and outputs a single complex stream out. As such, it requires no extra glue to handle the input/output @@ -45,6 +45,5 @@ class pfb_arb_resampler_ccf(gr.hier_block2): self.connect(self, self.pfb) self.connect(self.pfb, self) - - - + def set_taps(self, taps): + self.pfb.set_taps(taps) -- cgit