org.das2.dataset
Class AverageNoInterpolateTableRebinner
java.lang.Object
org.das2.dataset.AverageNoInterpolateTableRebinner
- All Implemented Interfaces:
- DataSetRebinner
public class AverageNoInterpolateTableRebinner
- extends java.lang.Object
- implements DataSetRebinner
This rebinner will bin average elements that fall on the same bin, and will enlarge cells that
cover multiple bins. This is done efficiently, and also does not introduce half-pixel aliasing because
input cells covering multiple output cells are averaged weighting by overlap.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AverageNoInterpolateTableRebinner
public AverageNoInterpolateTableRebinner()
rebin
public DataSet rebin(DataSet ds,
RebinDescriptor ddx,
RebinDescriptor ddy)
throws java.lang.IllegalArgumentException,
DasException
- Specified by:
rebin
in interface DataSetRebinner
- Throws:
java.lang.IllegalArgumentException
DasException
isNearestNeighbor
public boolean isNearestNeighbor()
setNearestNeighbor
public void setNearestNeighbor(boolean v)