[Numpy-discussion] convolve optimisation...

fred fredmfp@gmail....
Wed Jun 24 07:30:26 CDT 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