[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] forecast and set history function for haar decomp
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] forecast and set history function for haar decomposition |
Date: |
Wed, 23 Oct 2013 09:49:26 -0400 |
On Wed, Oct 23, 2013 at 7:47 AM, Martin Braun (CEL)
<address@hidden> wrote:
> On Wed, Oct 23, 2013 at 03:23:36AM -0700, Bharat Mukkala wrote:
>> the i/o ratio is 1 since the number of input items is same the number of
>> output items, but while processing we use the whole signal but not a single
>> element while calculating the output elements, i have doubt in figuring out
>> how to tell that to gnuradio,my idea is that, can i set_output_multiple to
>> ninput_items_required and then do processing.
>> thank you
>
> You can only set_output_multiple before work starts, usually in the
> constructor. So you set_output_multiple such that you can process the
> entire signal at once, and make your block a gr::sync_block.
>
> MB
Bharat,
Have you looked at the wavelet_ff block in gr-wavelet? It might do
what you want already or is at least close.
Also, since a wavelet is very much like a decimating fir filter, I'm
not sure output_multiple is the right thing to do. I think setting the
history for the length of the wavelet coefficients should be adequate.
Check out my overview of the scheduler for some details on what
history does:
http://www.trondeau.com/blog/2013/9/15/explaining-the-gnu-radio-scheduler.html
Tom