Produced by IDL 7.1.1
User Documentation

./toolbox
dchanning.pro

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

dchanning

procedure dchanning, dc, [decimate=keyword], [ok=variable]

This procedure smooths a spectrum with a hanning filter.

Replaces the contents of the data being smoothed with the smoothed data. Blanked data values are ignored.

For spectrum data containers, the frequency_resolution is set using esthanres

Examples
    get,index=1
    a = data_new()
    data_copy,!g.s[0],a
    show
    dchanning,a,/decimate
    show,a
 
Uses
dcconvol dcdecimate
Version
$Id$

Parameters
dc
in, required
data container
data container (spectrum or continuum)

Keywords
decimate
in, optional
keyword
decimate the spectrum?
ok
out, optional
variable
Returns 1 if everything went ok, 0 if it did not (missing dc parameter, invalid or empty dc)


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