RESPITE: The CASA Toolkit Page: Documentation: Block Library Index:Decimator


Decimator

Decimator downsamples the input signal by an integer factor. Downsampling is achieved by sending only every nth input sample to the output. There are two ways of setting the degree of downsampling, either using the MULTIPLE parameter or using the OUTPUT_RATE parameter. Only one of these should be set. Using MULTIPLE directly sets the factor by which to downsample i.e. if it is set to 3 then every 3rd sample will be passed to the output. Alternatively, using OUTPUT_RATE sets the desired output rate. In this case, an integer downsampling factor will be selected automatically so that the actual output sample rate matches the desired rate as closely as possible.

Inputs Meaning Sample 1-D frame $\ge$2-D frame
in1 input data Yes Yes Yes

Outputs Meaning
out1 data at lower sampling rate

Parameters Type Default Meaning
MULTIPLE Integer - The decimation factor
OUTPUT_RATE Float - The desired output rate



Documentation for CTKv1.1.4 - Last modified: Wed Jun 27 16:45:28 BST 2001