hep.lcd.contrib.util.functions
Class GaussianBoxFunction
java.lang.Object
|
+--java.util.Observable
|
+--jas.hist.Basic1DFunction
|
+--jas.hist.Fittable1DFunction
|
+--hep.lcd.contrib.util.functions.GaussianBoxFunction
- public class GaussianBoxFunction
- extends Fittable1DFunction
Fits to a square box distribution convoluted with a Gaussian
resolution function.
- Version:
- 1.10
- Author:
- David Wagner
- See Also:
- Serialized Form
- Source Code:
- GaussianBoxFunction.java
Constructor Summary |
GaussianBoxFunction(double xmin,
double xmax,
double ymin,
double ymax)
Public constructor called by jas.swingstudio. |
Methods inherited from class jas.hist.Fittable1DFunction |
clearFit, clearFitParams, destroy, getDerivatives, getExtendedStatistic, getFit, getIncludeParametersInFit, getStatistic, getStatisticNames, initIncludeParametersInFit, setFit, setIncludeParameterInFit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GaussianBoxFunction
public GaussianBoxFunction(double xmin,
double xmax,
double ymin,
double ymax)
- Public constructor called by jas.swingstudio. It initializes the
parameters to correspond with a calorimeter with a resolution of
1% + 15% / sqrt(E).
- Parameters:
xmin
- lower edge of the histogramxmax
- upper edge of the histogramymin
- lower edge of histogramymax
- upper edge of histogram
valueAt
public double valueAt(double x)
- Return the value at a particular x, for the stored the parameters.
- Overrides:
valueAt
in class Basic1DFunction
- Parameters:
x
- the x-coordinate.
valueAt
public double valueAt(double x,
double[] a)
- Return the value at a particular x for the supplied parameters.
- Overrides:
valueAt
in class Fittable1DFunction
- Parameters:
x
- the x-coordinate.a
- the array of parameters
getParameterNames
public String[] getParameterNames()
- Overrides:
getParameterNames
in class Basic1DFunction
getParameterValues
public double[] getParameterValues()
- Overrides:
getParameterValues
in class Basic1DFunction
setParameter
public void setParameter(int index,
double value)
- Overrides:
setParameter
in class Basic1DFunction
setFit
public void setFit(Fitter fit,
double[] value)
- Overrides:
setFit
in class Fittable1DFunction
getTitle
public String getTitle()
- Overrides:
getTitle
in class Basic1DFunction
The LCD Group