public class CalibrationHistogram extends PamHistogram
Constructor and Description |
---|
CalibrationHistogram(DifarControl difarControl,
int channel,
double maxAngle) |
Modifier and Type | Method and Description |
---|---|
void |
addData(double newData)
Add new data to the histogram
|
void |
clear()
Clear all histogram contents
|
int |
getChannel() |
double |
getMean()
Calculate the mean of the histogram data
|
double |
getSTD()
Return the standard deviation of the histogram data
|
addData, addData, getBin, getBinCentre, getData, getHiBin, getKurtosis, getLoBin, getMaxContent, getMaxVal, getMinVal, getMode, getName, getNBins, getScaleMaxVal, getScaleMinVal, getSkew, getStep, getTotalContent, getVariance, isBinCentres, scaleData, setBinCentres, setName, setRange, toString
getDelay, notifyObservers, notifyObservers, notifyObservers, setDelay
public CalibrationHistogram(DifarControl difarControl, int channel, double maxAngle)
public void addData(double newData)
addData
in class PamHistogram
newData
- data to add to histogram.public double getMean()
PamHistogram
getMean
in class PamHistogram
public double getSTD()
PamHistogram
getSTD
in class PamHistogram
public void clear()
PamHistogram
clear
in class PamHistogram
public int getChannel()