Downsamples data by reducing segments that scales to the same approximate range
data to downsample
scale to control downsampling
function to reduce segments
Find the first index that has a finite numeric value
data to search
start index to search from
Find the first index that has NOT a finite numeric value
data to search
start index to search from
Trim two data series so that it can be correlated. Used in differential plot.
In a data set of two values, return the second element of the item where the first item is closest to the query value. The data set is considered to be contineous rather than discrete.
In a data set of two values, return the second element of the item where the first item is closest to the query value. The data set is considered to be discrete.
In a data set of two values, return the second element of the item where the first item is closest to the query value. The data set is considered to be organized such that an item is the end of the previous item and the start of the next (zones).
Resample large data series to reduce detail when number of points are greater than the number of pixels to render it to. NOTE: you should pass the data through the DataHelper.trimUndefinedValues before passing it to this function. Also, this function assumes the datapoints are more or less uniformly spaced. The DataHelper.downsample is probably safer and yields better results.
data to resample
resample ratio
function to reduce segments
Generated using TypeDoc
Various utility functions for transforming and processing data sets.