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 voidfitData(double[] sliceX, double[] sliceY, double meanEstimate, double sigma, double nSigma)fit precise Gaussian curve width and location based on peak indication and width estimatestatic doublegetArea()static doublegetAreaError()static doublegetConstant()static doublegetConstantError()static doublegetMean()static doublegetMeanError()static doublegetRMS()static doublegetRMSError()static voidmain(java.lang.String[] args)static voidprint()
-
-
-
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()
-
-