KPG1_SCLOF

Applies a simple scaling and base-line shift to the values contained in the input vector

Description:

The input data values are multiplied by the given factor and the given offset is then added on, to form the output data.

Invocation

CALL KPG1_SCLOF( EL, IN, FACTOR, OFFSET, OUT, NBAD, STATUS )

Arguments

EL = INTEGER (Given)
The number of elements in the input and output vectors.
IN( EL ) = REAL (Given)
The input data vector.
FACTOR = DOUBLE PRECISION (Given)
The factor by which the input valus are scaled.
OFFSET = DOUBLE PRECISION (Given)
The offset by which the data values are shifted.
OUT( EL ) = REAL (Given)
The output data vector.
BAD = LOGICAL (Returned)
True if any bad pixels found.
STATUS = INTEGER (Given and Returned)
The global status.