Window defined by an integral of signal values

Signature

Window_Signal_Integral(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 integral of expression 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 integral over all signal values within the window is greater or equal to limit.

Arguments

 

expression

The expression to be integrated over.

limit

The desired integral of all values of expression within the returned window.