Package de.gsi.math.fitter
Class GaussFitting
- java.lang.Object
-
- de.gsi.math.fitter.GaussFitting
-
public class GaussFitting extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GaussFitting()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
fitData(double[] sliceX, double[] sliceY, double meanEstimate, double sigma, double nSigma)
fit precise Gaussian curve width and location based on peak indication and width estimatestatic double
getArea()
static double
getAreaError()
static double
getConstant()
static double
getConstantError()
static double
getMean()
static double
getMeanError()
static double
getRMS()
static double
getRMSError()
static void
main(java.lang.String[] args)
static void
print()
-
-
-
Method Detail
-
fitData
public static void fitData(double[] sliceX, double[] sliceY, double meanEstimate, double sigma, double nSigma)
fit precise Gaussian curve width and location based on peak indication and width estimate- Parameters:
sliceX
- horizontal slicesliceY
- vertical slicemeanEstimate
- initial mean estimatesigma
- initial sigma estimatenSigma
- n-sigma definition to be used
-
getArea
public static double getArea()
-
getAreaError
public static double getAreaError()
-
getConstant
public static double getConstant()
-
getConstantError
public static double getConstantError()
-
getMean
public static double getMean()
-
getMeanError
public static double getMeanError()
-
getRMS
public static double getRMS()
-
getRMSError
public static double getRMSError()
-
main
public static void main(java.lang.String[] args)
-
print
public static void print()
-
-