[Numpy-discussion] convolve optimisation...

fred fredmfp at gmail.com
Wed Jun 24 08:30:26 EDT 2009


Hi all,

Say I have a 2D array A(nx, ny).

In each A[i, j] I want to compute convolve(a, kernel)

where a is subarray of A.

a and kernel are small besides A.

The problem is that nx & ny are quite "big", ie ~1000, so using a
loop on i & j is forbidden here.

So how can I do what I want? Any idea?


TIA.

Cheers,

-- 
Fred



More information about the NumPy-Discussion mailing list