Produced by IDL 6.1
User Documentation

./toolbox
File dcdecimate.pro

Last modification date:
Wed Nov 17 16:47:51 2004


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.5 on Wed Dec 8 13:08:16 2004