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.


Method Index

 o getAxisLabels()
 o getAxisType()
 o getBins()
 o getMax()
 o getMin()
 o isRebinnable()
 o rebin(int, double, double, boolean, boolean)
Called by the histogram to request the data to be binned and returned.

Methods

 o 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.

 o getMin
 public abstract double getMin()
 o getMax
 public abstract double getMax()
 o getBins
 public abstract int getBins()
 o isRebinnable
 public abstract boolean isRebinnable()
 o getAxisType
 public abstract int getAxisType()
 o getAxisLabels
 public abstract String[] getAxisLabels()

All Packages  Class Hierarchy  This Package  Previous  Next  Index