Re: [Numpy-discussion] taking a 2D uneven surface slice

2014-12-03 Thread Benjamin Root
I am sorry, I meant to post this in a different thread... On Wed, Dec 3, 2014 at 8:32 PM, Benjamin Root wrote: > A slightly different way to look at it (I don't think it is exactly the > same problem, but the description reminded me of it): > > http://mail.scipy.org/pipermail/numpy-discussion/20

Re: [Numpy-discussion] taking a 2D uneven surface slice

2014-12-03 Thread Benjamin Root
A slightly different way to look at it (I don't think it is exactly the same problem, but the description reminded me of it): http://mail.scipy.org/pipermail/numpy-discussion/2013-April/066269.html (and I think there are some things that can be done to make that faster, but I don't recall it righ

Re: [Numpy-discussion] taking a 2D uneven surface slice

2013-04-16 Thread Bradley M. Froehle
Hi Bryan: On Tue, Apr 16, 2013 at 1:21 PM, Bryan Woods wrote: > I'm trying to do something that at first glance I think should be simple > but I can't quite figure out how to do it. The problem is as follows: > > I have a 3D grid Values[Nx, Ny, Nz] > > I want to slice Values at a 2D surface in t

[Numpy-discussion] taking a 2D uneven surface slice

2013-04-16 Thread Bryan Woods
I'm trying to do something that at first glance I think should be simple but I can't quite figure out how to do it. The problem is as follows: I have a 3D grid Values[Nx, Ny, Nz] I want to slice Values at a 2D surface in the Z dimension specified by Z_index[Nx, Ny] and return a 2D slice[Nx, N