enthought - speed up ifftn calculation in python -


i working on python program (in enthought canopy) calculate 2 point autocorrelation function 2 , 3 dimensional images.

the core of calculation following code:

fftx = fftn(newimpad)  del newimpad  ret_int = (fftx * np.conjugate(fftx))  del fftx  ret = ifftn(ret_int)  ret = fftshift(ret)       

where newimpad padded image.

this works. however, transform (the ifftn step) slow - large images have been working on in 2d takes on 90 seconds. there way speed up?


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -