[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] forecast and set history function for haar decomp
Re: [Discuss-gnuradio] forecast and set history function for haar decomposition
Wed, 23 Oct 2013 09:49:26 -0400
On Wed, Oct 23, 2013 at 7:47 AM, Martin Braun (CEL)
> 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.
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