On Mon, Jan 05, 2009 at 06:52:56PM +0200, Sebastiaan Heunis wrote: > Hi > > I'm trying to use blks2.analysis_filterbank. I assume that I need to > instantiate it like this: > > self.channeliser = blks2.analysis_filterbank(num_fft,taps) > > where num_fft refers to the number of channels and taps can be left empty. > > I tried self.channeliser = blks2,analysis_filterbank(16) (and 8 and > 20). None of these work. I get the following error: > > terminate called after throwing an instance of 'std::out_of_range' > what(): gri_fftw: invalid fft_size > Aborted > > Does anyone know what's wrong? If I get it to work, do I just connect > each output path that I'm interested in to a block, similar to when > using a mixer in the fm examples? > > Thanks a lot. > > Sebastiaan
Unlike what the code would lead you to believe, you have to provide the filter taps. See gr-pager/src/usrp_flex_band.py for a working example. Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
