[SciPy-User] convolution using numpy/scipy using MKL libraries

Sai Rajeshwar rajsai24 at gmail.com
Mon Jul 28 03:56:26 EDT 2014


hi Sturla,

I haven't used Enthought Canopy before..  so this does use MKL- libraries..
thanks
also, any resources on how to use Enthought Canopy's numpy or fft would br
great

thank you



*with regards..*

*M. Sai Rajeswar*
*M-tech  Computer Technology*


*IIT Delhi----------------------------------Cogito Ergo Sum---------*


On Sun, Jul 27, 2014 at 10:17 PM, Sturla Molden <sturla.molden at gmail.com>
wrote:

> Sai Rajeshwar <rajsai24 at gmail.com> wrote:
>
> > i didnot get..exactly how to perform convolution with pyFFT... the link
> > introduces fft..  but not about convolution... any pointers about how to
> > perform 3d convolution would be great..
>
> Just use the three-dimesional FFT. Convolution is always IFFT( FFT(x) *
> FFT(y) ). The same principles as for 1D FFT convolution applies, such as
> appropriate zero padding (on all three dimensions!) to avoid circular
> convolution. Consult any DSP textbook.
>
> You probably want numpy.fft.rfftn and numpy.fft.irfftn, unless your signals
> have complex numbers.
>
> As noted on the other mailing list, these functions will use MKL with
> Enthought Canopy, but not with a vanilla NumPy.
>
>
> Sturla
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20140728/753fb13f/attachment.html>


More information about the SciPy-User mailing list