Produced by IDL 7.1.1
User Documentation

./guide
ginterp.pro

Last modification date:
Wed Sep 28 13:27:09 2016

ginterp

procedure ginterp[, buffer], [bchan=integer], [echan=integer], [/linear], [/quadratic], [/lsquadratic], [/spline]

Interpolate across blanked channels in the primary data container (buffer 0) or one of the other buffers.

This uses the IDL INTERPOL function to replace blanked values in the buffer with unblanked values according to the interpolation method selected.

You can limit the range of channels to consider using bchan and echan. When not supplied, all of the channels are used.

The default interpolation method is linear. The other interpolations may not be particularly useful across large gaps.

If all of the data in the requested range is good (unblanked) then no interpolation is done and this routine silently returns without changing anything in dc.

It is an error to request more than one interpolation method.

Examples
   clip, -100.0, 100.0, /blank    ; blank bad data
   ginterp      ; linear interpolation across the blanked regions
 
Uses
dcinterp show
Version
$Id$

Parameters
buffer
in, optional
integer (def. 0)
The data container to smooth to the new resolution. This defaults to the primary data container (buffer 0).

Keywords
bchan
in, optional
integer
The starting channel number. If not specified, bchan=0.
echan
in, optional
integer
The last channel number. If not specified use all channels from bchan to the end.
linear
in, optional
boolean
When set, use the linear interpolation provided by INTERPOL. This is the default interpolation when no other method is specified.
quadratic
in, optional
boolean
When set, use the quadratic interpolation provided by INTERPOL.
lsquadratic
in, optional
boolean
When set, use the lsquadratic (lest squares quadratic) interpolation provided by INTERPOL.
spline
in, optional
boolean
When set, use the spline interpolation provided by INTERPOL.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:35 2016