[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] analysis_filterbank question
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] analysis_filterbank question |
Date: |
Mon, 5 Jan 2009 09:15:48 -0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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