|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Removing Correlator False Tags |
Date: | Mon, 20 Jul 2015 17:33:07 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hi Rich, this sounds like you shouldn't calculate the correlation for the part of the samples where you can't verify the validity. Let l_in == ninput_items[0] be the amount of items in your first call of work(), then just check the correlation for 0...(l_in - N) , N being the length you need to be positive that the correlation tag should be set, still consuming l_in. You'd use set_history(N+1) to ensure the N last items of the last call are still present in this call to work. This way, you'd see the N "end" items twice. Best regards, Marcus On 07/20/2015 04:20 PM, Richard Bell
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |