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

Home » Public Forums » archive » INTERPOLATE function - points outside the range
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
INTERPOLATE function - points outside the range [message #92912] Tue, 22 March 2016 07:21 Go to next message
dmfl0590 is currently offline  dmfl0590
Messages: 17
Registered: December 2015
Junior Member
Hi

I wanted to ask how does the INTERPOLATE function deals with interpolates outside the field of view?

There is a note in the help file:
"Location points outside this range are considered missing data."

It's consider the points outside the range as missing. This means INTERPOLATE puts zero? or does it doing something else?
Re: INTERPOLATE function - points outside the range [message #92914 is a reply to message #92912] Tue, 22 March 2016 07:54 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Tuesday, March 22, 2016 at 10:21:33 AM UTC-4, dmfl...@gmail.com wrote:
> Hi
>
> I wanted to ask how does the INTERPOLATE function deals with interpolates outside the field of view?
>
> There is a note in the help file:
> "Location points outside this range are considered missing data."
>
> It's consider the points outside the range as missing. This means INTERPOLATE puts zero? or does it doing something else?

I'm not sure which help file you are looking at. The IDL 8.5 help file discusses this in detail http://www.harrisgeospatial.com/docs/INTERPOLATE.html

"Note: If the MISSING keyword is not set, then location points outside the bounds of the array P--that is, elements of the X, Y, or Z arguments that are either less than zero or greater than the largest subscript in the corresponding dimension of P -- are interpolated to the closest value within the bounds of the array P. If MISSING is set then points outside of the bounds are set to the missing value."

MISSING

The value to return for elements outside the bounds of P. For one-dimensional input, the bounds of P are 0 to n, where n is the number of elements in P. For higher-dimensional input, the bounds of P are 0 to n-1 where n is the largest subscript of the corresponding dimension of P.

Note: If MISSING value is set to a complex number, IDL uses only the real part."
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Multiple labels in cgScatter2D?
Next Topic: barplot with 'vert_colors'

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

Current Time: Wed Oct 08 13:28:48 PDT 2025

Total time taken to generate the page: 0.00466 seconds