public class Reduction
extends java.lang.Object
| Constructor and Description |
|---|
Reduction() |
| Modifier and Type | Method and Description |
|---|---|
static QDataSet |
histogram2D(QDataSet ds,
QDataSet xxx,
QDataSet yyy)
reduce the buckshot scatter data by laying it out on a 2-D grid and
accumulating the hits to each cell.
|
static QDataSet |
reduce2D(QDataSet ds,
QDataSet xLimit,
QDataSet yLimit)
produce a simpler version of the dataset by averaging adjacent data.
|
static QDataSet |
reducex(QDataSet ds,
QDataSet xLimit)
produce a simpler version of the dataset by averaging data adjacent in X.
|
public static QDataSet reducex(QDataSet ds, QDataSet xLimit)
ds - rank 1 or rank 2 dataset. Must have DEPEND_0 (presently) and be a qube. If this is null, then the result is null.xLimit - the size of the bins or null to indicate no limit.public static QDataSet reduce2D(QDataSet ds, QDataSet xLimit, QDataSet yLimit)
ds - rank 1 dataset. Must have DEPEND_0 (presently)xLimit - the size of the bins or null to indicate no limit.yLimit - the size of the bins or null to indicate no limit.public static QDataSet histogram2D(QDataSet ds, QDataSet xxx, QDataSet yyy)
ds - rank1 Y(X)xxx - rank1 dataset describes the bins, which must be uniformly linearly spaced, or log spaced. Uses SCALE_TYPE property.yyy - rank1 dataset describes the bins, which must be uniformly linearly spaced, or log spaced.java.lang.IllegalArgumentException - when the units cannot be convertedOps.histogram2d(org.das2.qds.QDataSet, org.das2.qds.QDataSet, int[], org.das2.qds.QDataSet, org.das2.qds.QDataSet)