Re: [BLACKBOX] Another LibVector question

From: [at]} <Wojtek>
Date: Fri, 27 Mar 2009 22:09:35 -0400

----boundary-LibPST-iamunique-932530106_-_-
Content-type: text/plain

I figured it out. I will keep these extra pieces and not even try to
correct for the correlator latencies. The latency is a theoretical concept
without any meaning whatsoever. The FIR latency is what it is, with this
extra piece or without. If I simply accept the peak location as it
comes out from the correlator, and if I process all the waveforms
with filters of equal length, then all the peaks will line up.

I figured this out by plotting the data with LibPlotters and looking
at the peak locations. It pays to be practical.

No other French pilot will ever land on the Red Square anymore.

I wish a good weekend to everybody.

W.




On Fri, 27 Mar 2009, Wojtek Skulski wrote:

> It is truly confusing. The correlator adds its latency to the correlated
> waveform. The latency is equal to 1/2 the FIR length. But the Conv function
> adds the correlator length to the correlated wave.
>
> All the indices are now mismatched with respect to the original
> feature in the ADC waveform.
>
> Now I have an explanation how it was possible that some brave French
> pilot flew unnoticed all the way over Soviet Union and landed
> on the Red Square. As we all know, Russians love BlackBox.
> They must have used Lib to write radar pattern recognition.
> But they got confused with the LibVector indices just like myself.
> The pattern recognition missed the peak in the correlated radar
> data and no alarm was sounded.
>
> The most important goal when dealing with the enemy is to get
> the enemy thoroughly confused. I am not looking at my waveform
> processing and I can appreciate how it was achieved.
>
> W.
>
> On Fri, 27 Mar 2009, Wojtek Skulski wrote:
>
>> Robert:
>>
>> here is another question concerning LibVectors.Conv.
>>
>> This procedure extends the original data and returns
>> a vector whose length is a sum of A+B, where A and B are vectors
>> being convolved. It seems extremely cumbersome to me.
>> Now I have to relate the index of a pattern found
>> in the convolved vector with the one in the original
>> vector.
>>
>> As you know one of main applications of the convolution
>> is finding patterns. (Well, in this case the convolution
>> is called "correlation", but I am a practical person,
>> so I am not splitting the hair over those names).
>>
>> Now I found the pattern by looking at maximum of the
>> correlation, but the maximum is shifted with respect
>> to original data. It is confusing at best.
>>
>> Any comments why it should be so?
>>
>> IGOR is quietly extending the data in order to provide
>> the "warmup region" for the FIR, but then it discards the
>> extended pieces before returning the correlation result
>> to the user.
>>
>> I know you will not change LibVectors after they are out
>> for so many years.... but it is confusing to find those warmup
>> regions in the result...
>>
>> W.
>>
>>
>> ----
>> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
>> LISTSERV{([at]})nowhere.xy
>>
>>
>
>
> ----

> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-932530106_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEkgZmlndXJlZCBpdCBvdXQuIEkgd2lsbCBrZWVw
IHRoZXNlIGV4dHJhIHBpZWNlcyBhbmQgbm90IGV2ZW4gdHJ5IHRvXHBhcg0KY29ycmVjdCBmb3Ig
dGhlIGNvcnJlbGF0b3IgbGF0ZW5jaWVzLiBUaGUgbGF0ZW5jeSBpcyBhIHRoZW9yZXRpY2FsIGNv
bmNlcHRccGFyDQp3aXRob3V0IGFueSBtZWFuaW5nIHdoYXRzb2V2ZXIuIFRoZSBGSVIgbGF0ZW5j
eSBpcyB3aGF0IGl0IGlzLCB3aXRoIHRoaXNccGFyDQpleHRyYSBwaWVjZSBvciB3aXRob3V0LiBJ
ZiBJIHNpbXB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vIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05P
RkYgQkxBQ0tCT1giIHRvIFxwYXINCj4gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KPlxw
YXINCj5ccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBt
ZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JF
Uk9OLkNIXHBhcg0KfQ==
----boundary-LibPST-iamunique-932530106_-_---
Received on Sat Mar 28 2009 - 03:09:35 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:48 UTC