astropy/astropy — pull request #182 by keflavich (2012-03-22 16:13:29+00:00)
Title: convolve_fft - counterpart to convolve.  NaN-friendly and mask-friend, N-dimensional convolution

As stated in pull request [155](https://github.com/astropy/astropy/pull/155), this is an N-dimensional FFT-based convolution code. I've done my best to ensure astropy compliance, but I probably missed some key components. Getting the unit tests in place and checking for agreement with [convolve.py](https://github.com/astropy/astropy/blob/master/astropy/nddata/convolution/convolve.py) is probably essential before this request can be accepted.

However, it has some nice features:

- N-dimensional
- works with masked arrays (hack-ey approach, though; is there a better one?)
- can be multithreaded with FFTW (is this sort of "optional requirement" allowed in astropy?)