Function Filter | |
---|---|
Description | Allows user to make new elements using arbitrary functions. |
Threaded | Yes |
Memory Usage | Heavy, creates new elements |
Stream Support | Yes |
Added In | - |
The function filter will allow you to make new elements where each of the parameters and values is an arbitrary function of the inputs. This filter is set up to handle multiple streams. The specified functions are applied to all the streams of the first input and the number of output streams mirrors the number of streams on the first input.
Basics
The Function Filter allows you to alter the output of another function or a data source. While its primary use is to append columns to data elements for arbitrary input, it may also be repurposed for cleaning up input, omitting columns of data, and otherwise interacting with data. In short, the Function Filter is one of the Swiss Army Knives of SwiftVis, allowing almost endless types of data interaction and manipulation.
Values
This panel serves as a grounds for interaction with the [[value | values]] passed into the function filter. If you'd like to get back everything you fed in, the Mirror Values button will automatically do this. Any additional values you'd like passed out should also be defined here by creating a New value and provided the equational Expression for the value.
Parameters
This panel serves as a grounds for interaction with the [[ parameter | parameters ]] passed into the function filter. If you'd like to get back everything you fed in, the Mirror Values button will automatically do this. Any additional parameters you'd like passed out should also be defined here, similar to the method used for Value. Keep in mind that parameters are integers, though, and any non-integer number will be truncated.