DiscreteFrame (Analytic Filter)
Description
The DiscreteFrame filter is used to convert discrete data into specific time-frames when the value was at a given value.
WARNING: DiscreteFrame requires that you use Dynamic Buffering in your funnel to work, as it needs you to retain history.
Parameters
None
Example
<filter type="DiscreteFrame"/>
Converts an input discrete value into time-frames
Incoming
| Time | Value |
|---|---|
| 01:00 | 0 |
| 01:01 | 0 |
| 01:02 | 0 |
| 01:03 | 1 |
| 01:04 | 1 |
| 01:05 | 0 |
Outgoing
| Time | Value | Start | End |
|---|---|---|---|
| 01:02 | 0 | 01:00 | 01:03 |
| 01:04 | 0 | 01:03 | 01:05 |
+ one sample remaining in buffer.