DIL interpolation over n dimensions [message #87728] |
Tue, 25 February 2014 08:04  |
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   |
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   |
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
|
|
|
|