Produced by IDL 6.1
User Documentation

./toolbox
dcboxcar.pro

Last modification date:
Thu Jun 2 23:56:08 2005

dcboxcar

procedure dcboxcar, dc, width, /decimate

Smooth a data container with a boxcar smoothing of a certain width, in channels. For odd width, this uses the built-in idl SMOOTH function. For even widths this uses doboxcar1d and the reference channel is moved left by 1/2 channel width. Replaces the contents of the data being smoothed with the smoothed data. Use the GUIDE procedure, BOXCAR, to smoothing data containers in the !g structure.

The continuum side needs more work, especially for the decimate case and the even boxcar case.

Uses
doboxcar1d dcextract
Version
$Id: dcboxcar.pro,v 1.2 2005/04/22 15:14:54 bgarwood Exp $

Parameters
dc
in, required
data container
The data container to be smoothed. The data values are modified by this procedure.
width
in, required
integer
Width of boxcar in channels.

Keywords
decimate
in
boolean
If set, the data container is reduced - taking every width channels starting at channel 0.


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:55 2005