[SciPy-Dev] 3D Meshgrid

Ralf Gommers ralf.gommers at googlemail.com
Mon Nov 7 16:55:25 EST 2011


On Thu, Nov 3, 2011 at 1:28 PM, Antoine Levitt <antoine.levitt at gmail.com>wrote:

> The version in scitools looks consistent with numpy, compatible with the
> current API, and useful (in the common use case of a 3D grid, or a
> rectangular grid with irregular spacing, mgrid and ogrid are not enough)
>
> Could someone take a look at it?
>

Looks like a useful improvement in functionality for little added
complexity in the interface. So in principle I'm +1.

The patch does need tests though, and it would be good if someone could
check that the 2-D case doesn't get much slower.

Ralf


> 03/11/11 12:57, Per.Brodtkorb at ffi.no
> > There is a ticket for this in numpy:
> >
> > http://projects.scipy.org/numpy/ticket/966
> >
> > that needs a decision.
> >
> > Per A. Brodtkorb
> >
> > -----Opprinnelig melding-----
> > Fra: scipy-dev-bounces at scipy.org [mailto:scipy-dev-bounces at scipy.org]
> På vegne av Antoine Levitt
> > Sendt: 3. november 2011 11:00
> > Til: scipy-dev at scipy.org
> > Emne: [SciPy-Dev] 3D Meshgrid
> >
> > Hi,
> >
> > Could meshgrid be extended to support 3D grids? It's a pretty natural
> > use case, and would bring it closer to matlab.
> >
> > There's some discussion at
> > http://stackoverflow.com/questions/1827489/numpy-meshgrid-in-3d
> >
> > Antoine
> >
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-dev
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20111107/c1378c9e/attachment.html>


More information about the SciPy-Dev mailing list