InterpolateVoidValues (FPScript)

21.09.2021

Interpolates or extrapolates void floating point values in a data set.

Syntax

InterpolateVoidValues(DataSet)

 

The syntax of the InterpolateVoidValues function consists of the following parts:

Part

Description

DataSet

Data set with floating point values in which void values are to be interpolated.

All data structures are allowed, except scalar value und list. All numeric data types are permitted.

Remarks

Calendar time values and time spans remain in the result. All other data types are converted into 64-bit floating point values. Individual components are handled separately for signals, signal series and space curves.

The function searches for void floating point values and removes them by means of linear interpolation or extrapolation.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

For complex data types the absolute value is formed.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

InterpolateVoidValues({2.0, 5.0, ?, 4.0, ?})

Results in {2.0, 5.0, 4.5, 4.0, 3.5}.

See Also

RemoveVoidValues Function

SearchVoidValues Function

HasVoidValues Function

Share article or send as email:

You might be interested in these articles