public class GaussFunction extends AbstractTestFunction<GaussFunction> implements DataSetError
DataSetError.ErrorTypelock, name, updateListeners, xRange, yRangeTAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
GaussFunction(String name,
int count) |
| Modifier and Type | Method and Description |
|---|---|
static double |
gauss(double x) |
static double |
gauss(double x,
double mu,
double sigma) |
double[] |
generateY(int count)
generate test data set
|
generateX, getDataCount, getErrorType, getStyle, getX, getXErrorNegative, getXErrorPositive, getY, getYErrorNegative, getYErrorPositive, updatecomputeLimits, getThis, setErrorTypebinarySearchX, binarySearchY, fireInvalidated, getDataCount, getDataLabel, getErrorList, getInfoList, getMetaInfo, getName, getUndefValue, getWarningList, getXIndex, getXMax, getXMin, getXRange, getYIndex, getYMax, getYMin, getYRange, isAutoNotification, lock, minNeigbourSearchX, setAutoNotifaction, setName, toString, unlock, updateEventListenergetStyle, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorType, getXErrorNegative, getXErrorNegative, getXErrorPositive, getXErrorPositive, getXErrorsNegative, getXErrorsPositive, getYErrorNegative, getYErrorNegative, getYErrorPositive, getYErrorPositive, getYErrorsNegative, getYErrorsPositivegetDataCount, getDataCount, getDataLabel, getName, getStyle, getStyle, getUndefValue, getValue, getX, getXIndex, getXMax, getXMin, getXValues, getY, getYIndex, getYMax, getYMin, getYValues, isAutoNotification, lock, setAutoNotifaction, setStyle, unlockaddListener, invokeListener, invokeListener, removeListener, updateEventListenerfireInvalidatedpublic GaussFunction(String name, int count)
name - data set namecount - number of samplespublic static double gauss(double x)
x - coordinate Xpublic static double gauss(double x,
double mu,
double sigma)
x - coordiante xmu - mean value of Gaussian functionsigma - standard deviation of Gaussian functionpublic double[] generateY(int count)
TestDataSetgenerateY in interface TestDataSet<GaussFunction>count - number of binsCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.