Re: [Numpy-discussion] indexing of arbitrary axis and arbitrary slice?

2013-03-18 Thread Chao YUE
Hi Nathaniel, thanks for your reply, it works fine and suffice for my purpose. cheers, Chao On Sat, Mar 16, 2013 at 5:49 PM, Nathaniel Smith n...@pobox.com wrote: On 16 Mar 2013 16:41, Chao YUE chaoyue...@gmail.com wrote: Dear all, Is there some way to index the numpy array by

Re: [Numpy-discussion] numpy reference array

2013-03-18 Thread Matt U
Chris Barker - NOAA Federal chris.barker at noaa.gov writes: check out stride tricks for clever things you can do. But numpy does require that the data in your array be a contiguous block, in order, so you can't arbitrarily re-arrange it while keeping a view. HTH, -Chris Hi Chris,

Re: [Numpy-discussion] Numpy correlate

2013-03-18 Thread Pierre Haessig
Hi Sudheer, Le 14/03/2013 10:18, Sudheer Joseph a écrit : Dear Numpy/Scipy experts, Attached is a script which I made to test the numpy.correlate ( which is called py plt.xcorr) to see how the cross correlation is calculated. From this it appears

Re: [Numpy-discussion] Numpy correlate

2013-03-18 Thread Skipper Seabold
On Mon, Mar 18, 2013 at 1:00 PM, Pierre Haessig pierre.haes...@crans.orgwrote: Hi Sudheer, Le 14/03/2013 10:18, Sudheer Joseph a écrit : Dear Numpy/Scipy experts, Attached is a script which I made to test the numpy.correlate ( which is called

Re: [Numpy-discussion] Numpy correlate

2013-03-18 Thread josef . pktd
On Mon, Mar 18, 2013 at 1:10 PM, Skipper Seabold jsseab...@gmail.com wrote: On Mon, Mar 18, 2013 at 1:00 PM, Pierre Haessig pierre.haes...@crans.org wrote: Hi Sudheer, Le 14/03/2013 10:18, Sudheer Joseph a écrit : Dear Numpy/Scipy experts,