Loading

INTERPOLATE


bucketize
Since v1.0.0
Available on all platforms
See also

The INTERPOLATE function fills gaps in a bucketized Geo Time Series™ instance with by interpolating linearly.

This function has no effect on non bucketized GTS instances.

Signature

Examples

// Create a new bucketized GTS with 9 buckets but only five values NEWGTS 100 NaN NaN NaN 10 ADDVALUE 200 NaN NaN NaN 9 ADDVALUE 300 NaN NaN NaN 8 ADDVALUE 400 NaN NaN NaN 7 ADDVALUE 500 NaN NaN NaN 6 ADDVALUE [ SWAP bucketizer.mean 500 50 0 ] BUCKETIZE INTERPOLATE SORT // Interpotated series arent sorted