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

Home » Public Forums » archive » DIL interpolation over n dimensions
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
DIL interpolation over n dimensions [message #87728] Tue, 25 February 2014 08:04 Go to next message
Pascal DoctorDisco is currently offline  Pascal DoctorDisco
Messages: 2
Registered: February 2014
Junior Member
hello,
I'm looking for an N-D interpolation (on lookup tables) in IDL,
something like Vq = interpn(X1,X2,X3,...,V,X1q,X2q,X3q,...) from M****B

Do you have any idea, maybe using some recursive call to interpolate, but I'm pretty lost using this kind of feature in IDL,

Or did someone kept the routine from Peter Albert interpolate_n.pro
The link here belong looks dead

Best regards
Pascal

Peter Albert writes:

> Here is my recursive treasure: interpolate_n, extending IDL's
> INTERPOLATE routine to up to 8 dimensions. I have to admit that is has
> been years since I wrote it and I am not completely sure any more how
> the routine actually works, but it still seems to give the right
> results ... :-) The recursive part is about getting the neighbouring
> values for each dimension, I guess.
>
> http://wew.met.fu-berlin.de/idl/interpolate_n.pro
Re: DIL interpolation over n dimensions [message #87729 is a reply to message #87728] Tue, 25 February 2014 08:12 Go to previous messageGo to next message
Pascal DoctorDisco is currently offline  Pascal DoctorDisco
Messages: 2
Registered: February 2014
Junior Member
Le mardi 25 février 2014 17:04:49 UTC+1, Pascal DoctorDisco a écrit :
> hello,
>
> I'm looking for an N-D interpolation (on lookup tables) in IDL,
>
> something like Vq = interpn(X1,X2,X3,...,V,X1q,X2q,X3q,...) from M****B
>
>
>
> Do you have any idea, maybe using some recursive call to interpolate, but I'm pretty lost using this kind of feature in IDL,
>
>
>
> Or did someone kept the routine from Peter Albert interpolate_n.pro
>
> The link here belong looks dead
>
>
>
> Best regards
>
> Pascal
>
>
>
> Peter Albert writes:
>
>
>
>> Here is my recursive treasure: interpolate_n, extending IDL's
>
>> INTERPOLATE routine to up to 8 dimensions. I have to admit that is has
>
>> been years since I wrote it and I am not completely sure any more how
>
>> the routine actually works, but it still seems to give the right
>
>> results ... :-) The recursive part is about getting the neighbouring
>
>> values for each dimension, I guess.
>
>>
>
>> http://wew.met.fu-berlin.de/idl/interpolate_n.pro

sorry, I mean IDL interpolation over n dimensions of course

thanks for your help
Re: DIL interpolation over n dimensions [message #87733 is a reply to message #87729] Tue, 25 February 2014 09:02 Go to previous messageGo to next message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
I have used the routine ninterpolate.pro before (note this is not my upload of it, just a link to the same piece of code): https://code.google.com/p/idl-moustakas/source/browse/trunk/ impro/pro/math/ninterpolate.pro?r=678

On Tuesday, February 25, 2014 11:12:11 AM UTC-5, Pascal DoctorDisco wrote:
> Le mardi 25 février 2014 17:04:49 UTC+1, Pascal DoctorDisco a écrit :
>
>> hello,
>
>>
>
>> I'm looking for an N-D interpolation (on lookup tables) in IDL,
>
>>
>
>> something like Vq = interpn(X1,X2,X3,...,V,X1q,X2q,X3q,...) from M****B
>
>>
>
>>
>
>>
>
>> Do you have any idea, maybe using some recursive call to interpolate, but I'm pretty lost using this kind of feature in IDL,
>
>>
>
>>
>
>>
>
>> Or did someone kept the routine from Peter Albert interpolate_n.pro
>
>>
>
>> The link here belong looks dead
>
>>
>
>>
>
>>
>
>> Best regards
>
>>
>
>> Pascal
>
>>
>
>>
>
>>
>
>> Peter Albert writes:
>
>>
>
>>
>
>>
>
>>> Here is my recursive treasure: interpolate_n, extending IDL's
>
>>
>
>>> INTERPOLATE routine to up to 8 dimensions. I have to admit that is has
>
>>
>
>>> been years since I wrote it and I am not completely sure any more how
>
>>
>
>>> the routine actually works, but it still seems to give the right
>
>>
>
>>> results ... :-) The recursive part is about getting the neighbouring
>
>>
>
>>> values for each dimension, I guess.
>
>>
>
>>>
>
>>
>
>>> http://wew.met.fu-berlin.de/idl/interpolate_n.pro
>
>
>
> sorry, I mean IDL interpolation over n dimensions of course
>
>
>
> thanks for your help
Re: DIL interpolation over n dimensions [message #87734 is a reply to message #87733] Tue, 25 February 2014 09:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AMS writes:

> I have used the routine ninterpolate.pro before (note this is not my upload of it, just a link to the same piece of code): https://code.google.com/p/idl-moustakas/source/browse/trunk/ impro/pro/math/ninterpolate.pro?r=678

That's a JD Smith routine. That's about as solid as it gets. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: cgHistoplot dashed histogram
Next Topic: Segfault opening graphics window

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

Current Time: Wed Oct 08 09:15:46 PDT 2025

Total time taken to generate the page: 0.00762 seconds