Workspace 6.21.5
|
Creates a DataSeriesMapper object which can be used to map the values in a DataSeries to alternative values. The specific mapping algorithm is defind at run-time through the use of the "Script" input.
Inputs: | |||
---|---|---|---|
Function name | QString | The name of the mapping function defined in the "Script" input. | |
Script | QString | The script containing the mapping function that is executed on each item in the DataSeries. The function must have the same name as specified in the "Function name" input, and must accept index and srcValue parameters. | |
Globals | Array | QVariant | Global variables that can be used from within the mapping function. These variables cannot be changed between data items. |
Outputs: | |||
DataSeries mapper | CSIRO::DataAnalysis::ScriptedDataSeriesMapper | The resulting data mapper. Can be used with the MapDataSeries operation. |