Loading

LTTB

gts

The LTTB function downsamples a Geo Time Series™ or list thereof using 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.

LTTB is available since version 1.0.11.

See also

Signature

Examples

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