Loading

TLTTB

gts

The TLTTB function performs downsampling of Geo Time Series™ by applying the LTTB (Largest Triangle Three Buckets) algorithm. This algorithm downsamples a GTS by selecting datapoints from the original GTS which will preserve the overall shape of the graphical representation of the data. It differs from the LTTB function by the fact that it considers time based buckets instead of buckets based on a number of values.

TLTTB is available since version 1.0.11.

See also

Signatures

Examples

NEWGTS 1 1000 <% 'i' STORE $i NaN NaN NaN $i 250. / PI * COS ADDVALUE %> FOR DUP // Keep 50 datapoints 50 TLTTB