org.das2.dataset.DataSetRebinner


rebin

rebin( QDataSet ds, org.das2.dataset.RebinDescriptor x, org.das2.dataset.RebinDescriptor y, org.das2.dataset.RebinDescriptor z ) → QDataSet

create a new QDataSet in a rank 2 table with x and y tags described by x and y.

Parameters

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.
x - describes the column labels. (Note this may become a QDataSet at some point).
y - describes the row labels.
z - describes the Z space for the rebinning, in particular log.

Returns:

a rank 2 QDataSet with the given rows and columns.

[search for examples] [view on GitHub] [view on old javadoc] [view source]