Filter¶
Function¶
Generic filtering for any array-like variant. It takes a Boolean array of True/False as criteria and outputs the values corresponding to True values in the Boolean array as a new array.
Usage Scenario¶
This Step filters a data array based on a Boolean list. It usually follows Steps that output Boolean lists, including Dichotomize Values by Threshold, Validate Labels and Output Flags, Validate Poses by Included Angles to Reference Direction, Validate Point Clouds, etc.
Input and Output¶
Parameter Description¶
Ports Settings
- Port Number
- Default setting: 1Range: 1–15Description: Customize the number of the ports.
- Operation Layer
- Default setting: 0Range: 0–14Description: If the operation layer is set to 0, the operation will be performed on every element in the list.
Reverse Bool List
Default setting: UnselectDescription:
Unselect: Elements with a value of “False” in the input Boolean list will be filtered.
Select: Elements with a value of “True” in the input Boolean list will be filtered.
Example:The input input data is shown below.
When Reverse Bool List is unselected, elements with a value of “False” have been filtered, as shown below.
When Reverse Bool List is selected, elements with a value of “True” have been filtered, as shown below.