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

Home » Public Forums » archive » resampling on irregular grid
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
resampling on irregular grid [message #80394] Wed, 06 June 2012 19:25
Thibault Garel is currently offline  Thibault Garel
Messages: 55
Registered: October 2009
Member
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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: INTERPOLATE Function
Next Topic: DEM extraction

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

Current Time: Fri Oct 10 06:54:09 PDT 2025

Total time taken to generate the page: 1.04148 seconds