Class CalibrationHistogram

All Implemented Interfaces:
Cloneable

public class CalibrationHistogram extends PamHistogram
Contains data for a Difar calibration histogram. This is a bit of a mod of the standard histogram
Author:
doug
  • Constructor Details

    • CalibrationHistogram

      public CalibrationHistogram(DifarControl difarControl, int channel, double maxAngle)
  • Method Details

    • addData

      public void addData(double newData)
      Add new data to the histogram
      Overrides:
      addData in class PamHistogram
      Parameters:
      newData - data to add to histogram.
    • getMean

      public double getMean()
      Description copied from class: PamHistogram
      Calculate the mean of the histogram data
      Overrides:
      getMean in class PamHistogram
      Returns:
      mean value
    • getSTD

      public double getSTD()
      Description copied from class: PamHistogram
      Return the standard deviation of the histogram data
      Overrides:
      getSTD in class PamHistogram
      Returns:
      standard deviation
    • clear

      public void clear()
      Description copied from class: PamHistogram
      Clear all histogram contents
      Overrides:
      clear in class PamHistogram
    • getChannel

      public int getChannel()
      Returns:
      the channel