Filter ADAFs with Table input

../../../../_images/filter_list.svg
class node_filter_list.FilterADAFsTable[source]

Filter nodes with Table input take a table on the upper port and use it to filter the list on the lower port. The table must contain a single column and should be at least as long as the list on the lower port. Lets call it the filter-column. Now for each Table or ADAF in the incoming list the corresponding index of the filter-column is inspected. If it is True (or is considered True in Python, e.g. any non-zero integer or a non-empty string) the Table or ADAF is included in the filtered list. And vice versa, if the value in the filter-column is False (or is considered False in Python, e.g. 0 or an empty string) the corresponding Table or ADAF is not included in the filtered list.

Filter a list of ADAFs using an incoming table.

Inputs:
Filter
: Table

Table with a single column that will be used filter column.

List of adafs
: ADAFs

Incoming list of ADAFs.

Outputs:
Filtered list
: ADAFs

The filtered list with ADAFs.