Description
Applies a filter to the input data. Note: Once a filter has been applied, it can not be removed. Also, you should not apply more than one filter to an input data set.
Syntax
object.ApplyFilter(absoluteOrRelative as Integer, Optional minX, Optional maxX, Optional numStdDevs)
Arguments
absoluteOrRelative (Required Integer) – 0 for an absolute filter and 1 for a relative filter. An absolute filter uses the minX and maxX parameters to determine the region of data that is filtered. A relative filter uses data which falls within numStdDevs of the mean of the data set.
minX (optional Double) – the minimum filter value. Used only if absoluteOrRelative is set to 0.
maxX (optional Double) – the maximum filter value. Used only if absoluteOrRelative is set to 0.
numStdDevs(optional Double) – the number of standard deviations around the mean, beyond which the filter will remove values. Used only if absoluteOrRelative is set to 1.
Return Value
None.
Example
'Apply an absolute filter between 0 and 100:
InputDataObjA.ApplyFiler(0,0,100)
'Apply a relative filter of 2 std deviations around the mean
InputDataObjB.ApplyFilter(1,,,2)