Produced by IDL 7.1.1
User Documentation

./guide
decimate.pro

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

decimate

procedure decimate[, nchan], [startat=integer], [buffer=buffer], [ok=variable]

This procedure thins the spectrum at the primary data container (the PDC, buffer 0) by selecting out and keeping the data at every nth channel. This can also operate on other buffers.

The frequency interval and reference channel are adjusted appropriately so that the x-axis labels for the decimated data are still appropriate.

This can not be used on continuum data containers.

Examples
    getrec,1
    show
    decimate,2
    show
    decimate,3,startat=1
    show
    decimate,2,buffer=1
    show, 1
 
Uses
dcdecimate show
Version
$Id$

Parameters
nchan
in, optional
integer (def. 2)
Thin the spectrum by keeping the value at every nchan channels starting from the startat channel This defaults to 2.

Keywords
startat
in, optional
integer (def. 0)
The starting channel. This defaults to 0.
buffer
in, optional
buffer (def. 0)
The buffer to decimate. This defaults to buffer 0 (the PDC).
ok
out, optional
variable
Returns 1 if everything went ok, 0 if it did not (invalid or empty dc at buffer).


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