comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Interpolation to fixed points.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Interpolation to fixed points. [message #4122] Tue, 02 May 1995 00:00
afl is currently offline  afl
Messages: 51
Registered: December 1994
Member
I am looking for a routine that would perform bi-linear or
cubic spline interpolation on a cartesian grid.

This is the type of functionality I am looking for...

Let's assume I have data (data_in) at fixed points on a grid.
The grid points are defined by two vectors (x and y).
I would like to interpolate data_in to another set
of grid points given by two vectors (xnew and ynew).
The function call would look something like this.

data_new = interp(data_in, x, y, data_out, xnew, ynew, /spline)

Where I am passing in data_in, x, y, xnew, ynew
(and setting the spline keyword, of course), and
I am getting back data_new.

Does anyone have this type of IDL code lying around?

--

Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Possible crippling bug in NR_(SIMP,ROMB)
Next Topic: Common blocks

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:54:03 PDT 2025

Total time taken to generate the page: 1.36180 seconds