data.edit.corr.scale

data.edit.corr.scale applies a polynomial (possibly as simple as an offset and slope) to the given variables on its input.

data.edit.corr.scale can operate as either an independent filter (provided the correct input is given) or as part of the correction chain

Command Line Usage

data.edit.corr.scale [--input=R11] [--cut=any] 
                     [--slope=number] [--offset=number]
                     [--polynomial=expression]
                     --variables=var1,var2,var3,...,varN

Arguments

--input=A11

Specify what instrument or record base to use as the input, instead of trying to match what's available. Required if the input stream is ambiguous.

--cut=any

Set the cut size to operate on. One of “any”, “fine” or “coarse” defaulting to any.

--slope=number --offset=number

Specify the slope and offset to be applied to each variable. Will override –polynomial switch.

--polynomial=expression

A simple expression with variable tag ( tag is x ) to be replaced by list of variables (see –variables=xxx)

Example: –polynomial='x^2 + 3' –variables=var1, var2 will be evaluated as:

var1 = var1^2+3 and var2 = var2^2+3

--variables='var1,var2,var3,...,varN'

List of variables to correct.

Example Usage

data.get sgp A11a 2008:10 2008:11 | data.edit.corr.scale --slope=1.1 --variables=BaG_A11