# Description of the program: rescale

This program takes a scalar time series and rescales it to either a desired interval or to have average zero and/or variance 1.

## Usage:

rescale [Options]

Everything not being a valid option will be interpreted as a potential datafile name. Given no datafile at all, means read stdin. Also - means stdin

Possible options are:

Option | Description | Default
--- | --- | ---
-l# | number of data to use | whole file
-x# | ignore the first # rows | 0
-c# | column to be read | 1
-z# | Minimum of the rescaled series | 0
-Z# | Maximum of the rescaled series | 1
-a | subtract the average (overwrites -Z and -z) | not set
-v | set the variance to 1 (overwrites -Z and -z) | not set
-o[#] | output file name | without file name: 'datafile'.res (or stdin.res if stdin was read) If no -o is given stdout is used
-V# | verbosity level 0: only panic messages 1: add input/output messages | 1
-h | show these options | none

## Description of the Output

The rescaled time series.

View the C source.

See also rms

Table of Contents * TISEAN home