Trend

Author : Bernard Schutz

Version : 2.0

Input Types : Const
Output Types : SampleSet ComplexSampleSet
Date : 26 Feb 2001 

Contents


Description of Trend

The unit called Trend takes a succession of Const data sets arriving at its input node and accumulates them into a SampleSet or ComplexSampleSet consisting of the values of the Const's as elements. The user can choose the number of elements to be accumulated. The type of output depends on whether the input Const values are real or complex.

At each iteration, Trend receives one Const and outputs one SampleSet or ComplexSampleSet. If the user has chosen to accumulate n inputs, then the output consists of the last n inputs. Trend thus shows a moving window into whatever process has produced the Const's. When Trend first begins operating, before the first n iterations, it produces a data set containing the data it has accumulated so far, padded with zeros to the chosen size.

The user can also set the time-interval associated with successive input data sets and a name for the accumulated data set.
 

Using Trend

Trend's parameter window looks like this.

The first line is a text-input line for entering a title. This title will appear on the graph of the output set.

The second line is a slider to set the time-interval between successive input data samples. This is not a timer on the input: it is information that the unit will use to set the sampling rate of the output data set so that it can be correctly graphed. You should set it if the input data sets represent data gathered over successive fixed periods of time.

The third input is the number of samples that will be accumulated into a single output set. Before the full number of these inputs arrives, the unit outputs the samples that have arrived padded with zeros. Once it has accumulated the full number, it outputs at each time-step the most recent samples that have arrived.