InstrumentRemoveEpochsByCriteria

This program removes epochs from inputfileInstrument by evaluating a set of removalCriteria expressions. For the data columns the standard data variables are available, see dataVariables.

The instrument data can be reduced by data from inputfileInstrumentReference prior to evaluation of the expressions.

To reduce the data by its median, use an expression like data1-data1mean. To remove epochs that deviate by more than 3 sigma use abs(data1)>3*data1std or abs(data0-data0median)>3*1.4826*data0mad.

All arcs in the input instrument file are concatenated, meaning expressions like data1mean refer to the complete dataset. The removed epochs can be saved in a separate outputfileInstrumentRemovedEpochs.

NameTypeAnnotation
outputfileInstrument
filenameall data is stored in one arc
outputfileInstrumentRemovedEpochs
filenameall data is stored in one arc
inputfileInstrument
filenamearcs are concatenated for processing
inputfileInstrumentReference
filenameif given, the reference data is reduced prior to the expressions being evaluated
removalCriteria
expressionepochs are removed if one criterion evaluates true. data0 is the first data field.
margin
doubleremove data around identified epochs (on both sides) [seconds]