Reduction is set of static methods for reducing data, or averaging data to make smaller datasets.
reduce the buckshot scatter data by laying it out on a 2-D hexgrid and accumulating the hits to each cell. This has not been thoroughly verified.
reduce the buckshot scatter data by laying it out on a 2-D grid and accumulating the hits to each cell. Written originally to support SeriesRenderer, to replace the "200000 point limit" warning.
produce a simpler version of the dataset by averaging adjacent data. code taken from org.das2.graph.GraphUtil.reducePath. Adjacent points are averaged together until a point is found that is not in the bin, and then a new bin is started. The bin's lower bounds are integer multiples of xLimit and yLimit. If yLimit is null, then averaging is done for all points in the x bin, regardless of how close they are in Y. This is similarly true when xLimit is null. xLimit and yLimit are rank 0 datasets, so that they can indicate that binning should be done in log space rather than linear. In this case, a SCALE_TYPE for the dataset should be "log" and its unit should be convertible to Units.logERatio (for example, Units.log10Ratio or Units.percentIncrease). Note when either is log, then averaging is done in the log space.
produce a simpler version of the dataset by averaging data adjacent in X. code taken from org.das2.graph.GraphUtil.reducePath. Adjacent points are averaged together until a point is found that is not in the bin, and then a new bin is started. The bin's lower bounds are integer multiples of xLimit. xLimit is a rank 0 dataset. 2015-06-18: xcadence and bins are now regular. Because of high-resolution magnetometer data, this is extended to support this data type. This will set the DELTA_PLUS and DELTA_MINUS variables to the extremes of each bin. To remove these, use putProperty( QDataSet.DELTA_MINUS, None ) (None in Jython, null for Java) and putProperty( QDataSet.DELTA_PLUS, None ).