Produced by IDL 6.1
User Documentation

./toolbox
dcdecimate.pro

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

dcdecimate

procedure dcdecimate, dc, nchan

This procedure decimates a spectrum (i.e. thins the spectrum by paring every nth channel). The procedure still needs to be generalized by offering the option to choose a start channel. At present, it always starts at channel 0. The dc argument is modified in place.

Examples
    get,index=1
    a = data_new()
    data_copy,!g.s[0],a
    show
    dchanning,a
    show,a
    dcdecimate,a,2
    show,a
 
Version
$Id: dcdecimate.pro,v 1.2 2004/11/17 21:47:51 bgarwood Exp $

Parameters
dc
in, required
data container
data container (spectrum or continuum)
nchan
in, required
integer
choose every nth channel


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