Window defined by a sum of signal values
|
Signature |
|---|
|
Window_Signal_Add(expression, limit) |
|
Description |
|---|
|
Calculates the starting points of moving windows ending at the current time. The size of each window is the minimal size where the sum of expression over the window is greater or equal than the desired size limit. |
|
Note A moving window is defined by a signal: Each sample of the signal represents a window. The value of the sample is the starting point of the window, the time of the sample is the end point of the window. A window defined this way contains all samples where the time t fulfills the condition start < t < end. Windows are usually created by using one of the window creation functions (Window_Sample, Window_Time, Window_Signal_*, ...). Windows can be fed to window evaluation function (Accumulate_Rolling_*). |
|
Result |
|---|
|
The start time of a window. The window ends at the current time. The sum over all signal values within the window is greater or equal than limit. |
|
Arguments |
|
|---|---|
|
expression |
The signal for which the window is calculated. |
|
limit |
The desired sum of all values of expression within the returned window. |