Re: [Numpy-discussion] sampling arrays

2013-06-18 Thread Zachary Pincus
Message - From: Henry Gomersall h...@cantab.net To: Discussion of Numerical Python numpy-discussion@scipy.org Cc: Sent: Sunday, 16 June 2013 2:49 PM Subject: Re: [Numpy-discussion] sampling arrays On Sun, 2013-06-16 at 14:48 +0800, Sudheer Joseph wrote: Is it possible to sample a 4D

Re: [Numpy-discussion] sampling arrays

2013-06-18 Thread Sudheer Joseph
*** From: Zachary Pincus zachary.pin...@yale.edu To: Discussion of Numerical Python numpy-discussion@scipy.org Sent: Tuesday, 18 June 2013 6:10 PM Subject: Re: [Numpy-discussion] sampling arrays Thank you

[Numpy-discussion] sampling arrays

2013-06-16 Thread Sudheer Joseph
Dear experts,    Is it possible to sample a 4D array of numpy at given dimensions with out writing loops? ie a smart python way? for example, I have a  data cube with cube=c(x,y,z,t) dimensions which are essentially latitude longitude depth and time. Is it possible to sample this

Re: [Numpy-discussion] sampling arrays

2013-06-16 Thread Henry Gomersall
On Sun, 2013-06-16 at 14:48 +0800, Sudheer Joseph wrote: Is it possible to sample a 4D array of numpy at given dimensions with out writing loops? ie a smart python way? It's not clear how what you want to do is different from simply indexing the array...? Henry

Re: [Numpy-discussion] sampling arrays

2013-06-16 Thread Sudheer Joseph
of Numerical Python numpy-discussion@scipy.org Cc: Sent: Sunday, 16 June 2013 2:49 PM Subject: Re: [Numpy-discussion] sampling arrays On Sun, 2013-06-16 at 14:48 +0800, Sudheer Joseph wrote: Is it possible to sample a 4D array of numpy at given dimensions with out writing loops? ie a smart

Re: [Numpy-discussion] sampling arrays

2013-06-16 Thread Sudheer Joseph
Joseph sudheer.jos...@yahoo.com To: Discussion of Numerical Python numpy-discussion@scipy.org Cc: Sent: Sunday, 16 June 2013 2:56 PM Subject: Re: [Numpy-discussion] sampling arrays T hank you, No if the location ( space time or depth) of choice is not available