Re: [Numpy-discussion] How to limit cross correlation window width in Numpy?

2015-06-16 Thread Honi Sanders
I have now implemented this functionality in numpy.correlate() and numpy.convolve(). https://github.com/bringingheavendown/numpy. The files that were edited are: numpy/core/src/multiarray/multiarraymodule.c numpy/core/numeric.py numpy/core/tests/test_numeric.py Please look over the code, my desig

Re: [Numpy-discussion] Aternative to PyArray_SetBaseObject in NumPy 1.6?

2015-06-16 Thread Sturla Molden
Eric Moore wrote: > You have to do it by hand in numpy 1.6. For example see > href="https://github.com/scipy/scipy/blob/master/scipy/signal/lfilter.c.src#L285-L292";>https://github.com/scipy/scipy/blob/master/scipy/signal/lfilter.c.src#L285-L292 Thank you :) Sturla __

Re: [Numpy-discussion] Aternative to PyArray_SetBaseObject in NumPy 1.6?

2015-06-16 Thread Eric Moore
You have to do it by hand in numpy 1.6. For example see https://github.com/scipy/scipy/blob/master/scipy/signal/lfilter.c.src#L285-L292 -Eric On Sun, Jun 14, 2015 at 10:33 PM, Sturla Molden wrote: > What would be the best alternative to PyArray_SetBaseObject in NumPy 1.6? > > Purpose: Keep ali