Class 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 estimate
      static 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GaussFitting

        public GaussFitting()
    • 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 slice
        sliceY - vertical slice
        meanEstimate - initial mean estimate
        sigma - initial sigma estimate
        nSigma - 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()