Filter

Deletes frames and table rows based on filter conditions.

Parameters

NameDefaultMeaning
keepRemove all timeframes or rows unless this condition is true
removeRemove all timeframes or rows where this condition is true

Description

This layer is generally used to remove time, rows and timeframes that don't match specific conditions - for example, when a machine is stopped.

If you give a keep rule, any items that fail the test are kept and others are discarded. If you give a remove condition, any items that pass the test are removed.

Example

If the frame contains the following table of data…

TimeMachine.SpeedMachine.VoltageMachine.Current
09:00AM000
09:10AM02403.2
09:20AM152401.5
09:30AM182401.5
09:30AM172401.5
09:30AM17.52401.5
{
   "type": "filter",
    "keep": "{Machine.Speed} > 0"
}

The first two table rows will be removed.