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
Post a Comment