Scaling Filter

Scales all values by a user-specified factor and offset.

Category

category_math Math

Node

scalarscaling_node

Parameters

Scale: the factor by which to multiply all values in the data set.

Offset: the offset to add to all values in the data set after scaling.

Inputs

Input: the input data set

Outputs

Output: the scaled data

Effect of the Filter

For each value in the data set the filter will apply the formula

v_{\mathrm{out}} = m \cdot v_{\mathrm{in}} + b

where m is the value of the Scale parameter and b is the value of the Offset parameter.