[Numpy-discussion] How to limit cross correlation window width in Numpy?

Sturla Molden sturla.molden at gmail.com
Thu Jun 18 07:49:38 EDT 2015


Mansour Moufid <mansourmoufid at gmail.com> wrote:

> The cross-correlation of two arrays of lengths m and n is of length
> m + n - 1, where m is usually much larger than n.

He is thinking about the situation where m == n and m is much larger than
maxlag.

Truncating the input arrays would also throw away data.

This is about correlating two long signals, not about correlating a signal
with a much shorter template.

Sturla




More information about the NumPy-Discussion mailing list