ETAS MDA V8.6 User Manual page 76

Table of Contents

Advertisement

ETAS
Window_Signal(input, limit)
The Window_Signal behavior calculates for each input sample a range ending
at that sample. The size and thus the start of the range is chosen such that
when applying the reduction function to the values of the input in this range
the reduction approximately equals the limit. More specific the smallest inter-
val is chosen where the reduction is greater or equal the limit.
As an example, we can apply the Accumulate_Rolling to the result to see the
actual accumulated values for the window.
result = Accumulate_Rolling_<function>(input, Window_
Signal_<function>(input, limit))
The result will be greater or equal the limit except at the start of the signal
when there are not yet enough samples.
Example:
Creating a moving window always containing at least 80 grams of CO
l
exhaust:
movingWindow = Window_Signal_Integral(CO2, 80)
The movingWindow can now be used to evaluate other signals nor-
malized to the CO
Accumulate_Prefix
Calculates the reduction of a given signal from start to current sample.
Syntax:
result = Accumulate_Prefix_<reduction_function>
l
(input)
Arguments:
T result: the reduction of signal from start to current sample
l
T input : the signal to be reduced
l
Note: T can be any type supported by the given reduction function.
The Accumulate_Prefix reduction behavior accumulates the input samples
with the given reduction function. The result is a signal with all the inter-
mediate results, i.e. result[i] = reduce(signal[1], ..., signal
[i]).
Note: result = Accumulate_Rolling(signal, -Infinity) except
that the memory usage is constant.
Accumulate_Reset
Calculates the reduction of a given signal from the last reset to the current
sample.
Syntax:
result = Accumulate_Reset_<reduction_function>
l
(input, reset)
MDA V8.6 – User Guide
exhaust.
2
4 Calculated Signals
2
76

Advertisement

Table of Contents
loading

Table of Contents