Mansour Moufid <mansourmou...@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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion