public class AveragePeakTableRebinner extends java.lang.Object implements DataSetRebinner
Constructor and Description |
---|
AveragePeakTableRebinner()
Creates a new instance of TableAveragePeakRebinner
|
Modifier and Type | Method and Description |
---|---|
static void |
flatten(double[][] data,
double[] back,
int offset,
int nx,
int ny)
from org.virbo.cdfdatasource.CdfUtil
|
boolean |
isDebug()
Getter for property debug.
|
QDataSet |
rebin(QDataSet ds,
RebinDescriptor ddX,
RebinDescriptor ddY,
RebinDescriptor z)
create a new QDataSet in a rank 2 table with x and y tags described by x and y.
|
void |
setDebug(boolean debug)
Setter for property debug.
|
java.lang.String |
toString() |
public AveragePeakTableRebinner()
public java.lang.String toString()
toString
in class java.lang.Object
public QDataSet rebin(QDataSet ds, RebinDescriptor ddX, RebinDescriptor ddY, RebinDescriptor z) throws java.lang.IllegalArgumentException
DataSetRebinner
rebin
in interface DataSetRebinner
ds
- The input dataset, either a rank 2 or rank 3 dataset. Note this may include rank 1 dataset and rank 2 bundles at some point.ddX
- describes the column labels. (Note this may become a QDataSet at some point).ddY
- describes the row labels.z
- describes the Z space for the rebinning, in particular log.java.lang.IllegalArgumentException
public static void flatten(double[][] data, double[] back, int offset, int nx, int ny)
data
- back
- offset
- nx
- ny
- public boolean isDebug()
public void setDebug(boolean debug)
debug
- New value of property debug.