Produced by IDL 7.1.1
User Documentation

./toolbox
dcinterp.pro

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

dcinterp

procedure dcinterp, dc, [bchan=integer], [echan=integer], [/linear], [/quadratic], [/lsquadratic], [/spline], [/quiet], [ok=variable]

Interpolate across blanked channels in a data container.

This uses the IDL INTERPOL function to replace blanked values in the data container 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.

Uses
data_valid
Version
$Id$

Parameters
dc
in, required
data container
The data container to use.

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.
quiet
in, optional
boolean
When set, do not print out informational messages. Useful primarily for supressing the message that happens when an attempt is made to interpolate across a spectrum of all blanked values. This does not supress errors due to argument errors.
ok
out, optional
variable
This is set to 1 on success or 0 on failure (e.g. bad arguments).


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