hep.aida.ref.function
Class GaussianCore2DNorm
java.lang.Object
hep.aida.ref.function.FunctionCore
hep.aida.ref.function.GaussianCore2DNorm
- public class GaussianCore2DNorm
- extends FunctionCore
Not normalised Gaussian 2D (G2) distribution in the form:
f = (1/N)*exp(-(x-meanX)^2/(2*sigmaX^2))*exp(-(y-meanY)^2/(2*sigmaY^2)) has 4 parameters
Normalization Amplitude is calculated by the "normalizationAmplitude" method
- Source Code:
- GaussianCore2DNorm.java
Methods inherited from class hep.aida.ref.function.FunctionCore |
addCoreListener, dimension, getHandles, indexOfParameter, init, numberOfParameters, parameter, parameterNames, parameters, setParameter, setParameterNames, setParameters, setTitle, title |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
providesNormalization
protected boolean providesNormalization
r2
protected final double r2
GaussianCore2DNorm
public GaussianCore2DNorm(String str)
GaussianCore2DNorm
public GaussianCore2DNorm(String str,
double[] pVal)
functionValue
public double functionValue(double[] var)
- Specified by:
functionValue
in class FunctionCore
providesGradient
public boolean providesGradient()
- Specified by:
providesGradient
in class FunctionCore
gradient
public double[] gradient(double[] var)
- Specified by:
gradient
in class FunctionCore
providesParameterGradient
public boolean providesParameterGradient()
- Specified by:
providesParameterGradient
in class FunctionCore
parameterGradient
public double[] parameterGradient(double[] var)
- Specified by:
parameterGradient
in class FunctionCore
providesNormalization
public boolean providesNormalization()
- Specified by:
providesNormalization
in class FunctionCore
normalizationAmplitude
public double normalizationAmplitude(double[] xMin,
double[] xMax)
- Specified by:
normalizationAmplitude
in class FunctionCore
sign
public static double sign(double d,
double d1)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.