On Thursday, July 24, 2014, Sai Rajeshwar <rajsai24@gmail.com> wrote:thanksdoes numpy.convolve work for 2D or 3D convolution?hi julian thanks..but when i use numpy.convolve i get this error ValueError: object too deep for desired array
with regards..M. Sai RajeswarM-tech Computer TechnologyIIT Delhi
----------------------------------Cogito Ergo Sum---------On Fri, Jul 11, 2014 at 11:13 PM, Julian Taylor <jtaylor.debian@googlemail.com> wrote:
for simple convolutions there is also np.convolve
compared to scipy it releases the GIL and you can use normal python
threads for parallization if you need to compute many independent
convolutions and not just one.
That said scipy should probably release the GIL too, probably a bug that
it doesn't.
> You definitely want to look at Cython <http://cython.org/> if you're
On 10.07.2014 17:19, Ashwin Srinath wrote:
> Hey, Sai
>
> I'm no expert, so I'll just share a few links to start this discussion.
> computing with NumPy arrays. If you're familiar with the MPI programming> model, you want to check out mpi4py <http://mpi4py.scipy.org/>. If you
> have NVIDIA GPUs that you'd like to take advantage of, check out PyCUDA> <http://mathema.tician.de/software/pycuda/>.
> <mailto:rajsai24@gmail.com>> wrote:> *with regards..*
>
> hi all,
>
> im trying to optimise a python code takes huge amount of time on
> scipy functions such as scipy.signa.conv. Following are some of my
> queries regarding the same.. It would be great to hear from you..
> thanks..
> ----------------------------------------------------
> 1) Can Scipy take advantage of multi-cores.. if so how
> 2)what are ways we can improve the performance of scipy/numpy
> functions eg: using openmp, mpi etc
> 3)If scipy internally use blas/mkl libraries can we enable
> parallelism through these?
>
>
> looks like i have to work on internals of scipy.. thanks a lot..
>
>
> *
> *
> *M. Sai Rajeswar*
> *M-tech Computer Technology*
> *IIT Delhi
> ----------------------------------Cogito Ergo Sum---------
> *> SciPy-Dev@scipy.org <mailto:SciPy-Dev@scipy.org>
>
> _______________________________________________
> SciPy-Dev mailing list
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
_______________________________________________
SciPy-Dev mailing list
SciPy-Dev@scipy.org
http://mail.scipy.org/mailman/listinfo/scipy-dev
There are also convolution functions in scipy.ndimage. For simple smallish 1d convolution ndimage is much much faster than scipy.signal and somewhat faster than numpy.convolve.
_______________________________________________
SciPy-Dev mailing list
SciPy-Dev@scipy.org
http://mail.scipy.org/mailman/listinfo/scipy-dev