Re: Looking for triangulator/interpolator

2006-05-27 Thread Travis E. Oliphant
Grant Edwards wrote: > On 2006-05-27, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > >> Not that you made a bad choice. I do wonder, how much of your >> difficulty was with the interface to the underlying fitpack >> routines. > > I've no idea. I had never done anything with splines before, > s

Re: Looking for triangulator/interpolator

2006-05-27 Thread Grant Edwards
On 2006-05-27, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Not that you made a bad choice. I do wonder, how much of your > difficulty was with the interface to the underlying fitpack > routines. I've no idea. I had never done anything with splines before, so it's quite possible I just wasn'

Re: Looking for triangulator/interpolator

2006-05-27 Thread Travis E. Oliphant
Grant Edwards wrote: > On 2006-05-27, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > >>> I need to interpolate an irregularly spaced set of sampled >>> points: Given a set of x,y,z points, I need to interpolate z >>> values for a much finer x,y grid. >> How many x,y,z points do you have? > > I'v

Re: Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
On 2006-05-27, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: >> I need to interpolate an irregularly spaced set of sampled >> points: Given a set of x,y,z points, I need to interpolate z >> values for a much finer x,y grid. > > How many x,y,z points do you have? I've got about 700 data points. T

Re: Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
On 2006-05-27, Robert Kern <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: > >> I found another module that claims to do what I want >> >> http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/griddata.html >> >> But, no matter what data I pass, I get either all zeros or all >> NaNs back. :/

Re: Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote: > I found another module that claims to do what I want > > http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/griddata.html > > But, no matter what data I pass, I get either all zeros or all > NaNs back. :/ Aaarrrggh. After some more s

Re: Looking for triangulator/interpolator

2006-05-26 Thread Robert Kern
Grant Edwards wrote: > I found another module that claims to do what I want > > http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/griddata.html > > But, no matter what data I pass, I get either all zeros or all > NaNs back. :/ > > I'm 0 for 3 now. I pointed you to http://www.scipy.or

Re: Looking for triangulator/interpolator

2006-05-26 Thread Travis E. Oliphant
Grant Edwards wrote: > I need to interpolate an irregularly spaced set of sampled > points: Given a set of x,y,z points, I need to interpolate z > values for a much finer x,y grid. How many x,y,z points do you have? Did you try the fitpack function bisplrep in scipy? It can work well as long as

Re: Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote: >> On 2006-05-26, Scott David Daniels <[EMAIL PROTECTED]> wrote: >> I tried using the scipy sandbox delaunay module, but the interpolators don't work: the natural neighbor int

Re: Looking for triangulator/interpolator

2006-05-26 Thread John Machin
Grant> OTOH, it looks like I'm screwed either way. My python interpolator is so hopelessly slow it's useless in practice. It can only process 4 points per second and I need to process arrays of 10,000 to 50,000 elements. :( Pardon my utter ignorance of scipy, but are neither psyco nor pyrex any u

Re: Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
On 2006-05-27, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2006-05-26, Scott David Daniels <[EMAIL PROTECTED]> wrote: > >>> I tried using the scipy sandbox delaunay module, but the >>> interpolators don't work: the natural neighbor interpolator >>> produces a surface with "holes" in it: the inter

Re: Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
On 2006-05-26, Scott David Daniels <[EMAIL PROTECTED]> wrote: >> I tried using the scipy sandbox delaunay module, but the >> interpolators don't work: the natural neighbor interpolator >> produces a surface with "holes" in it: the interpolator returns >> NaNs for no reason for certain regions with

Re: Looking for triangulator/interpolator

2006-05-26 Thread Scott David Daniels
Grant Edwards wrote: > I need to interpolate an irregularly spaced set of sampled > points: Given a set of x,y,z points, I need to interpolate z > values for a much finer x,y grid. > > I tried using the scipy sandbox delaunay module, but the > interpolators don't work: the natural neighbor interpo

Looking for triangulator/interpolator

2006-05-26 Thread Grant Edwards
I need to interpolate an irregularly spaced set of sampled points: Given a set of x,y,z points, I need to interpolate z values for a much finer x,y grid. I tried using the scipy sandbox delaunay module, but the interpolators don't work: the natural neighbor interpolator produces a surface with "ho