Algorithms Index , Filtering in Triana , Triana Spectral Storage Model


Shift

Author : Bernard Schutz

Version : 1.0

Input Types : VectorType
Output Types : VectorType
Date : 05 Mar 2001 

Contents


Description of Shift

The unit called Shift performs a cyclic shift by a given number of elements. The input can be any VectorType data set, in other words any real or complex one-dimensional data set. The user chooses the number of elements to shift in the parameter window. A positive shift means shifting elements to the right (element zero goes to a higher position and the last elements are wrapped around to the beginning), while a negative shift means shifting elements to the left (the highest element goes to a lower position and the first elements are wrapped around to the end).
 

Using Shift

Shift's parameter window is shown below.

To choose the number of elements to shift by, move the slider or enter the number in the box to the right of the slider. The number can be any integer, positive or negative. The integer can be larger than the size of the data set: the net shift is just the remainder when this integer is divided by the length of the data set.