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

Home » Public Forums » archive » 4D Interpolation
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: 4D Interpolation [message #92662 is a reply to message #92653] Wed, 03 February 2016 03:29 Go to previous message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
Did you use it before? I keep getting the following error: "Array subscript for N_F_I (WHAT_I_NEED_FOR_INTERPOLATION) must have same size as source expression."

I tried the following example

X = FINDGEN(2,50,50,5,125)
X1 = FINDGEN(128)
X2 = FINDGEN(128)
X3 = FINDGEN(20)
X4 = FINDGEN(125)

Xint = FLTARR(2,128,128,20,125)

Xint[0,*,*,*,*] = INTERPOLATE_N(reform(X[0,*,*,*,*]), X1, X2, X3, X4)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Interpolation routines
Next Topic: idl-pvwave-mode on Emacs: prompt is locked text

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

Current Time: Fri Oct 10 06:12:43 PDT 2025

Total time taken to generate the page: 0.80049 seconds