public class BinAverage
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static DDataSet |
binAverage(QDataSet ds,
QDataSet newTags0)
returns a dataset with tags specified by newTags0.
|
static DDataSet |
binAverage(QDataSet ds,
QDataSet newTags0,
QDataSet newTags1)
returns a dataset with tags specified by newTags, where linear averages
of the points in each bin are returned.
|
static DDataSet |
binAverageBundle(QDataSet ds,
QDataSet dep0,
QDataSet dep1)
takes rank 2 bundle (x,y,z) and averages it into table z(x,y).
|
static DDataSet |
binAverageBundle(QDataSet ds,
QDataSet dep0,
QDataSet dep1,
QDataSet dep2)
takes rank 2 bundle (x,y,z,f) and averages it into rank 3 qube f(x,y,z).
|
static DDataSet |
binMeanAverageDeviation(QDataSet ads,
QDataSet ds)
takes rank 2 bundle (x,y,z) and averages in table z(x,y) and computes the
mean average deviation in each bin.
|
static DDataSet |
boxcar(QDataSet ds,
int size)
run boxcar average over the dataset, returning a dataset of same geometry.
|
static QDataSet |
rebin(QDataSet ds,
int n0)
reduce the rank 1 dataset by averaging blocks of bins together
|
static QDataSet |
rebin(QDataSet ds,
int n0,
int n1)
reduce the rank 2 dataset by averaging blocks of bins together.
|
static QDataSet |
rebin(QDataSet ds,
int n0,
int n1,
int n2)
reduce the rank 3 dataset by averaging blocks of bins together.
|
static DDataSet |
rebin(QDataSet ds,
QDataSet newTags0)
returns a dataset with tags specified by newTags0.
|
static DDataSet |
rebin(QDataSet ds,
QDataSet newTags0,
QDataSet newTags1)
Deprecated.
see binAverage
|
static DDataSet |
rebinBundle(QDataSet ds,
QDataSet dep0,
QDataSet dep1)
Deprecated.
see binAverageBundle
|
static DDataSet |
rebinBundle(QDataSet ds,
QDataSet dep0,
QDataSet dep1,
QDataSet dep2)
Deprecated.
see binAverageBundle
|
static QDataSet |
residuals(QDataSet ds,
int boxcarSize)
returns number of stddev from adjacent data.
|
public static DDataSet rebin(QDataSet ds, QDataSet newTags0)
ds - a rank 1 dataset, no fillnewTags0 - a rank 1 tags dataset, that must be MONOTONIC.rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
binAverage(QDataSet, QDataSet )public static DDataSet binAverage(QDataSet ds, QDataSet newTags0)
ds - a rank 1 dataset, no fillnewTags0 - a rank 1 tags dataset, that must be MONOTONIC.rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
binAverage(QDataSet, QDataSet ),
binAverage(QDataSet, QDataSet, QDataSet )public static DDataSet rebin(QDataSet ds, QDataSet newTags0, QDataSet newTags1)
ds - a rank 2 dataset. If it's a bundle, then rebinBundle is called.newTags0 - rank 1 monotonic datasetnewTags1 - rank 1 monotonic datasetrebin(org.das2.qds.QDataSet, int, int),
rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet),
binAverage(QDataSet, QDataSet, QDataSet )public static DDataSet binAverage(QDataSet ds, QDataSet newTags0, QDataSet newTags1)
ds - a rank 2 dataset. If it's a bundle, then rebinBundle is called.newTags0 - rank 1 monotonic datasetnewTags1 - rank 1 monotonic datasetrebin(org.das2.qds.QDataSet, int, int),
rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
binAverage(org.das2.qds.QDataSet, org.das2.qds.QDataSet),
#binAverage(org.das2.qds.QDataSet )public static DDataSet rebinBundle(QDataSet ds, QDataSet dep0, QDataSet dep1, QDataSet dep2)
ds - rank 2 bundle(x,y,z,f)dep0 - the rank 1 depend0 for the result, which must be uniformly spaced.dep1 - the rank 1 depend1 for the result, which must be uniformly spaced.dep2 - the rank 1 depend2 for the result, which must be uniformly spaced.rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
binAverageBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet )public static DDataSet binAverageBundle(QDataSet ds, QDataSet dep0, QDataSet dep1, QDataSet dep2)
ds - rank 2 bundle(x,y,z,f)dep0 - the rank 1 depend0 for the result, which must be uniformly spaced.dep1 - the rank 1 depend1 for the result, which must be uniformly spaced.dep2 - the rank 1 depend2 for the result, which must be uniformly spaced.rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet)public static DDataSet rebinBundle(QDataSet ds, QDataSet dep0, QDataSet dep1)
ds - rank 2 bundle(x,y,z)dep0 - the rank 1 depend0 for the result, which must be uniformly spaced.dep1 - the rank 1 depend1 for the result, which must be uniformly spaced.rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
binAverageBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet)public static DDataSet binAverageBundle(QDataSet ds, QDataSet dep0, QDataSet dep1)
ds - rank 2 bundle(x,y,z)dep0 - the rank 1 depend0 for the result, which must be uniform in log or linear space.dep1 - the rank 1 depend1 for the result, which must be uniform in log or linear space.rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
https://github.com/autoplot/dev/blob/master/demos/2021/20210529/demoBinAverageBundle.jypublic static DDataSet binMeanAverageDeviation(QDataSet ads, QDataSet ds)
ads - rank 2 grid of averagesds - rank 2 bundle(x,y,z)rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
rebinBundle(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
Ops.meanAverageDeviation(org.das2.qds.QDataSet),
https://github.com/autoplot/dev/blob/master/demos/2021/20210529/demoBinMeanAverageDeviation.jypublic static QDataSet residuals(QDataSet ds, int boxcarSize)
ds, - rank 1 dataset.boxcarSize - public static DDataSet boxcar(QDataSet ds, int size)
ds - a rank 1 dataset of size Nsize - the number of adjacent bins to averagepublic static QDataSet rebin(QDataSet ds, int n0)
ds - rank 1 dataset with N pointsn0 - number of bins in the result.rebin(org.das2.qds.QDataSet, int, int),
rebin(org.das2.qds.QDataSet, int, int, int)public static QDataSet rebin(QDataSet ds, int n0, int n1)
ds - rank 2 dataset with M by N pointsn0 - the number of bins in the result. Note this changed in v2013a_6 from earlier versions of this routine.n1 - the number of bins in the result.rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet)public static QDataSet rebin(QDataSet ds, int n0, int n1, int n2)
ds - rank 3 datasetn0 - the number of bins in the result.n1 - the number of bins in the result.n2 - the number of bins in the result.rebin(org.das2.qds.QDataSet, org.das2.qds.QDataSet, org.das2.qds.QDataSet),
rebin(org.das2.qds.QDataSet, int)