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

Home » Public Forums » archive » gridded interpolation
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
gridded interpolation [message #88683] Tue, 03 June 2014 02:52 Go to next message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
Hello

I used the INTERPOLATE()function to perform interpolation to my data. Now, I want to change it and I was trying to find out any function that performs cubic spline interpolation or any other kind of interpolation because I want to compare my results using two or either three interpolation techniques.

My code is like this:

DxNEW = INTERPOLATE( Dx, x, y /GRID)

If anyone knows any other interpolation technique available in IDL I would be very grateful.

Regards
Gina
Re: gridded interpolation [message #88684 is a reply to message #88683] Tue, 03 June 2014 03:31 Go to previous messageGo to next message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi,

you should have a look at griddata:

http://www.exelisvis.de/docs/GRIDDATA.html

cheers
Re: gridded interpolation [message #88685 is a reply to message #88683] Tue, 03 June 2014 04:12 Go to previous messageGo to next message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On Tuesday, June 3, 2014 11:52:09 AM UTC+2, g.na...@gmail.com wrote:
> Hello
>
>
>
> I used the INTERPOLATE()function to perform interpolation to my data. Now, I want to change it and I was trying to find out any function that performs cubic spline interpolation or any other kind of interpolation because I want to compare my results using two or either three interpolation techniques.
>
>
>
> My code is like this:
>
>
>
> DxNEW = INTERPOLATE( Dx, x, y /GRID)
>
>
>
> If anyone knows any other interpolation technique available in IDL I would be very grateful.
>
>
>
> Regards
>
> Gina


You can do cubic interpolation by still using the INTERPOLATE function and CUBIC keyword.
alx.
Re: gridded interpolation [message #88687 is a reply to message #88685] Tue, 03 June 2014 06:23 Go to previous messageGo to next message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
Thank you very much.
Re: gridded interpolation [message #88688 is a reply to message #88687] Tue, 03 June 2014 06:37 Go to previous messageGo to next message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
What about the SPL_INTERP function. Does anyone use it before?
Re: gridded interpolation [message #88703 is a reply to message #88688] Thu, 05 June 2014 20:42 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, June 3, 2014 9:37:47 AM UTC-4, g.na...@gmail.com wrote:
> What about the SPL_INTERP function. Does anyone use it before?

SPL_INTERP is great for 1D data. It's what I normally use for smooth interpolation. You have to use SPL_INIT first to initialize some variables.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: undefined procedure/function CIRC
Next Topic: Simplest way to spawn multiple IDL processes from within IDL?

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

Current Time: Wed Oct 08 13:37:53 PDT 2025

Total time taken to generate the page: 0.00578 seconds