All Packages Class Hierarchy This Package Previous Next Index
Interface jas.hist.Rebinnable1DHistogramData
- public interface Rebinnable1DHistogramData
- extends DataSource
This is the interface that must be implemented by any data source for a
1D histogram. Despite the name, the data does not have to actually be
rebinnable, the isRebinnable() method should return false if the data
cannot be rebinned.
-
getAxisLabels()
-
-
getAxisType()
-
-
getBins()
-
-
getMax()
-
-
getMin()
-
-
isRebinnable()
-
-
rebin(int, double, double, boolean, boolean)
- Called by the histogram to request the data to be binned and returned.
rebin
public abstract double[][] rebin(int bins,
double min,
double max,
boolean wantErrors,
boolean hurry)
- Called by the histogram to request the data to be binned and returned. If the histogram
indicated it was not rebinnable then the bins, min and max arguments are gauranteed
to be the same values as returned by getMin(), getMax() and getBins() methods.
getMin
public abstract double getMin()
getMax
public abstract double getMax()
getBins
public abstract int getBins()
isRebinnable
public abstract boolean isRebinnable()
getAxisType
public abstract int getAxisType()
getAxisLabels
public abstract String[] getAxisLabels()
All Packages Class Hierarchy This Package Previous Next Index