pamMaths
Class PamHistogram2

java.lang.Object
  extended by java.util.Observable
      extended by PamUtils.TimedObservable
          extended by pamMaths.PamHistogram2

public class PamHistogram2
extends TimedObservable

Class for collecting two dimensional histogram data.

Author:
Doug Gillespie
See Also:
PamHistogram

Field Summary
private  boolean binCentres
           
protected  double[][] data
           
protected  double[][] hiBin
           
private  double[] histoScale
           
protected  double[][] loBin
           
private  double[] maxVal
           
private  double[] minVal
           
private  java.lang.String name
           
private  int[] nBins
           
 
Constructor Summary
PamHistogram2(double minVal1, double maxVal1, int nBins1, double minVal2, double maxVal2, int nBins2)
           
PamHistogram2(double minVal1, double maxVal1, int nBins1, double minVal2, double maxVal2, int nBins2, boolean binCentres)
           
 
Method Summary
 void prepareHistogram(double minVal1, double maxVal1, int nBins1, double minVal2, double maxVal2, int nBins2, boolean binCentres)
           
 
Methods inherited from class PamUtils.TimedObservable
getDelay, notifyObservers, notifyObservers, notifyObservers, setDelay
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected double[][] data

loBin

protected double[][] loBin

hiBin

protected double[][] hiBin

minVal

private double[] minVal

maxVal

private double[] maxVal

nBins

private int[] nBins

histoScale

private double[] histoScale

binCentres

private boolean binCentres

name

private java.lang.String name
Constructor Detail

PamHistogram2

public PamHistogram2(double minVal1,
                     double maxVal1,
                     int nBins1,
                     double minVal2,
                     double maxVal2,
                     int nBins2)

PamHistogram2

public PamHistogram2(double minVal1,
                     double maxVal1,
                     int nBins1,
                     double minVal2,
                     double maxVal2,
                     int nBins2,
                     boolean binCentres)
Method Detail

prepareHistogram

public void prepareHistogram(double minVal1,
                             double maxVal1,
                             int nBins1,
                             double minVal2,
                             double maxVal2,
                             int nBins2,
                             boolean binCentres)