Simple Window
3 min
the simple window processor takes a single input value and outputs a moving window of recent values, using a first in first out (fifo) algorithm why use simple window use this processor when a downstream processor or model needs the raw window of recent values itself, rather than a single statistic calculated from it, for example, feeding the last several readings into a custom calculation how it works the processor stores incoming values in a window sized to window size , using a fifo algorithm once the window is full, each new value pushes out the oldest one use order to control whether the output window lists values oldest to newest or newest to oldest, and value type to specify the incoming value's data type parameters parameter details value type the data type of the incoming value order whether values appear in the output window ordered oldest to newest, or newest to oldest window size the window in which values are observed pass through value determines whether the processor's output is the windowed values or the original unchanged input value related topics use the simple window function docid\ ncfvoyjiivfufuo5wgpgc