public class GaussFunction extends AbstractTestFunction<GaussFunction>
DataSetError.ErrorTypeTAG_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, get, getDataCount, getErrorNegative, getErrorPositive, getErrorType, getStyle, getX, getY, updatefireInvalidated, getThis, lock, recomputeLimits, setErrorTypeaddDataLabel, addDataStyle, autoNotification, binarySearch, clearMetaInfo, equalDataLabels, equalEditConstraints, equalErrorValues, equalMetaData, equals, equals, equalValues, getAxisDescriptions, getDataLabel, getDataLabelMap, getDataStyleMap, getDimension, getEditConstraints, getErrorList, getIndex, getInfoList, getMetaInfo, getName, getWarningList, hashCode, minNeigbourSearchX, removeDataLabel, removeStyle, setEditConstraints, setName, toString, updateEventListenergetStyle, setStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDimension, getValue, getValue, getXIndex, getXValues, getYIndex, getYValuesfireInvalidatedgetAxisDescription, getAxisDescriptions, getDataCount, getDataLabel, getIndex, getName, getStyle, getValues, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenergetErrorNegative, getErrorPositive, getErrorsNegative, getErrorsPositivepublic GaussFunction(String name, int count)
name - data set namecount - number of samplespublic double[] generateY(int count)
TestDataSetcount - number of binspublic 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 functionCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.