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 #80392 is a reply to message #80387] Thu, 07 June 2012 03:53 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 06/07/2012 04:25 AM, bing999 wrote:
> Hi,
>
> I would like to resample an array A, from an irregular grid to another
> one .
>
> The 1st column A[0,*] (= the x-axis) is irregularly binned, and the
> 2nd column A[1,*] contains the corresponding y-axis values.
> I just want to resample the 2nd column A[1,*] according to another x-
> axis irregular grid, with P elements instead of N.
>
> This operation doesn't look quite complicated to perform, but I was
> wondering if there exists an optimized IDL function doing this.
> (especially because I have to deal with large arrays and I want the
> operation to be efficient...). REBIN and CONGRID seem to work only on
> regular arrays...
>
> Any idea?
> Thanks!

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: Mon Dec 01 15:13:41 PST 2025

Total time taken to generate the page: 0.48340 seconds