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

Home » Public Forums » archive » Re: resampling on irregular grid
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: resampling on irregular grid [message #80385 is a reply to message #80384] Thu, 07 June 2012 20:52 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
It sound like you just need to interpolate, e.g.

IDL> d2 = interpol(d1,x1,x2)

where x1,d1 are the input function points, and x2 is the output abscissa

On Thursday, June 7, 2012 10:16:08 PM UTC-4, bing999 wrote:
> Thanks Fab.
>
> I tried GRIDDATA, but it works only for interpolation of surfaces,
> i.e. it recomputes f(x,y) from (x1,y1) coordinates to (x2,y2)
> coordinates. What I need is resampling a 1D array of data values,
> initially binned on a x1 values, to x2 values. (with both x1 and x2
> being two different irregular grids).
>
> Cheers
>
>
>>
>> Hi,
>>
>> Try GRIDDATA.
>>
>> Cheers,
>>
>> Fab
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to write to file ?
Next Topic: need help

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

Current Time: Wed Oct 08 18:13:28 PDT 2025

Total time taken to generate the page: 0.00397 seconds