InstrumentArcCalculate
This program manipulates the data columns every arc of an instrument file similar to
FunctionsCalculate, see there for more details.
If several inputfileInstruments are given the data columns are copied side by side.
For this the instrument files must be synchronized (see InstrumentSynchronize). For the data
columns the standard data variables are available, see dataVariables.
For the time column (MJD) a variable epoch
(together with epochmean
, epochmin
, … )
is defined additionally.
The content of outputfileInstrument is controlled by outColumn.
The number of outColumn must agree with the selected outType.
The algorithm to compute the output is as follows:
The expressions in outColumn are evaluated once for each epoch of the input.
The variables data0
, data1
, … are replaced by the according values from the input columns before.
If no outColumn are specified all input columns are used instead directly.
The instrument type can be specified with outType and must be agree with the number of columns.
An extra statistics file can be generated with one mid epoch per arc. For the computation of the outColumn values
all dataVariables are available (e.g. epochmin
, data0mean
, data1std
, … )
inclusively the constants and estimated parameters but without the data0
, data1
, … itself.
The variables and the numbering of the columns refers to the outputfileInstrument.
See also FunctionsCalculate, MatrixCalculate.
Name | Type | Annotation |
---|---|---|
outputfileInstrument | filename | |
inputfileInstrument | filename | data columns are appended to the right |
constant | expression | define a constant by name=value |
parameter | expression | define a parameter by name[=value] |
leastSquares | expression | try to minimize the expression by adjustment of the parameters |
removalCriteria | expression | row is removed if one criterion evaluates true. |
outType | instrumentType | |
outColumn | expression | expression of output columns, extra 'epoch' variable |
statistics | sequence | |
outputfileInstrument | filename | instrument file with mid epoch per arc, data columns are user defined |
outColumn | expression | expression to compute statistics columns, data* are from outColumn |