Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Eric Firing
Jeff Whitaker wrote: > Armin Moser wrote: >> Jeff Whitaker wrote: >> >>> Armin Moser wrote: >>> Hi, I would like to interpolate an array of shape (801,676) to regularily spaced datapoints using griddata. This interpolation is quick if the (x,y) supporting points are

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Armin Moser
Eric Firing wrote: > Jeff Whitaker wrote: >> Armin Moser wrote: >>> Jeff Whitaker wrote: >>> Armin Moser wrote: > Hi, > > I would like to interpolate an array of shape (801,676) to regularily > spaced datapoints using griddata. This interpolation is quick if the

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Armin Moser
Jeff Whitaker wrote: > Armin Moser wrote: >> Jeff Whitaker wrote: >> >>> Armin Moser wrote: >>> Hi, I would like to interpolate an array of shape (801,676) to regularily spaced datapoints using griddata. This interpolation is quick if the (x,y) supporting points are c

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Eric Firing
Jeff Whitaker wrote: > Armin Moser wrote: >> Jeff Whitaker wrote: >> >>> Armin Moser wrote: >>> Hi, I would like to interpolate an array of shape (801,676) to regularily spaced datapoints using griddata. This interpolation is quick if the (x,y) supporting points are

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Jeff Whitaker
Armin Moser wrote: > Jeff Whitaker wrote: > >> Armin Moser wrote: >> >>> Hi, >>> >>> I would like to interpolate an array of shape (801,676) to regularily >>> spaced datapoints using griddata. This interpolation is quick if the >>> (x,y) supporting points are computed as X,Y = meshgrid(x,y)

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Armin Moser
Jeff Whitaker wrote: > Armin Moser wrote: >> Hi, >> >> I would like to interpolate an array of shape (801,676) to regularily >> spaced datapoints using griddata. This interpolation is quick if the >> (x,y) supporting points are computed as X,Y = meshgrid(x,y). If this >> condition is not fullfilled

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Ryan May
On Fri, Feb 20, 2009 at 8:11 AM, Armin Moser wrote: > Hi, > > I would like to interpolate an array of shape (801,676) to regularily > spaced datapoints using griddata. This interpolation is quick if the > (x,y) supporting points are computed as X,Y = meshgrid(x,y). If this > condition is not fullf

Re: [Matplotlib-users] griddata performance

2009-02-20 Thread Jeff Whitaker
Armin Moser wrote: > Hi, > > I would like to interpolate an array of shape (801,676) to regularily > spaced datapoints using griddata. This interpolation is quick if the > (x,y) supporting points are computed as X,Y = meshgrid(x,y). If this > condition is not fullfilled the delaunay triangulation i

[Matplotlib-users] griddata performance

2009-02-20 Thread Armin Moser
Hi, I would like to interpolate an array of shape (801,676) to regularily spaced datapoints using griddata. This interpolation is quick if the (x,y) supporting points are computed as X,Y = meshgrid(x,y). If this condition is not fullfilled the delaunay triangulation is extremely slow, i.e. not use

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-20 Thread G. Allegri
Thanks Andrew, conceptually it's clear. Now I have to code it :) I will have a look to SimPy, and also to SciPy/NumPy I will let you know how it's going on. 2009/2/20 Andrew Straw : > G. Allegri wrote: >> >> Hi Andrew. >> With dist(point_i,polynomial_curve) do you mean point_i belonging to >> the

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-20 Thread Andrew Straw
G. Allegri wrote: > Hi Andrew. > With dist(point_i,polynomial_curve) do you mean point_i belonging to > the Line 2 set of points and pol_curve as Line 1? yes > In this case it > could be reasonably ok for me. How can I derive the closed form for > dist()? Excuse my ignorance with geometry >

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-20 Thread G. Allegri
Hi Andrew. With dist(point_i,polynomial_curve) do you mean point_i belonging to the Line 2 set of points and pol_curve as Line 1? In this case it could be reasonably ok for me. How can I derive the closed form for dist()? Excuse my ignorance with geometry --