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 #80384 is a reply to message #80382] Thu, 07 June 2012 21:38 Go to previous messageGo to previous message
Thibault Garel is currently offline  Thibault Garel
Messages: 55
Registered: October 2009
Member
Hi,

Thanks. Actually it is not an interpolation, as INTERPOL does it, that
I want. It is really a resampling of my data on another grid. I need
to conserve total(data).
I agree my previous comment with f(x1,y1), etc, could have been
misleading, sorry.

I can achieve this with histogram functions for instance but it is not
quite efficient...

Cheers


> 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:32 PDT 2025

Total time taken to generate the page: 0.00420 seconds