[SciPy-user] [Fwd: 3D interpolation over irregular data]

mark starnes m.starnes05 at imperial.ac.uk
Thu Jul 31 04:58:05 EDT 2008


Hi again, Stéfan.

Is Robert Kern's package limited to two-dimensional data?  I've had a
look and can't see any three-dimensional options.

Best regards,

Mark.

Stéfan van der Walt wrote:
> Hi Mark
> 
> 2008/7/30 mark starnes <m.starnes05 at imperial.ac.uk>:
>> Hi everyone,
>>
>> I've looked through the list here and in Numpy-users, and checked the
>> 'net but can't find an answer to this problem (with luck, I've missed
>> something obvious!).
>>
>> I've an array of velocities at 80,000 points, irregularly spaced (from a
>> CFD analysis).  I'd like to generate the interpolated velocity at any
>> position in the domain, to map the data to an acoustics analysis on a
>> different mesh.
>>
>> I tried a least squares approach but the errors are too large using
>> polynomials and trigonometric functions.  My conclusion is that I need a
>> nearest-neighbour type interpolation routine.
> 
> Also take a look at
> 
> http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data
> 
> Robert Kern's delaunay package does natural neighbour interpolation, IIRC.
> 
> Regards
> Stéfan
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
> 



More information about the SciPy-User mailing list