org.das2.dataset
Class NewAverageTableRebinner

java.lang.Object
  extended by org.das2.dataset.NewAverageTableRebinner
All Implemented Interfaces:
DataSetRebinner

public class NewAverageTableRebinner
extends java.lang.Object
implements DataSetRebinner

not thread safe!!!


Constructor Summary
NewAverageTableRebinner(DataSet ds, RebinDescriptor ddX, RebinDescriptor ddY)
          Creates a new instance of TableAverageRebinner
 
Method Summary
 boolean isEnlargePixels()
           
 boolean isInterpolate()
          Getter for property interpolate.
 DataSet rebin(DataSet ds, RebinDescriptor ddX, RebinDescriptor ddY)
           
 void setEnlargePixels(boolean enlargePixels)
           
 void setInterpolate(boolean interpolate)
          Setter for property interpolate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewAverageTableRebinner

public NewAverageTableRebinner(DataSet ds,
                               RebinDescriptor ddX,
                               RebinDescriptor ddY)
Creates a new instance of TableAverageRebinner

Method Detail

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

isInterpolate

public boolean isInterpolate()
Getter for property interpolate.

Returns:
Value of property interpolate.

setInterpolate

public void setInterpolate(boolean interpolate)
Setter for property interpolate.

Parameters:
interpolate - New value of property interpolate.

setEnlargePixels

public void setEnlargePixels(boolean enlargePixels)

isEnlargePixels

public boolean isEnlargePixels()