Class PolyAndGaussianFit

java.lang.Object
com.nr.model.Fitmrq
cnuphys.splot.fit.PolyAndGaussianFit
All Implemented Interfaces:
IValueGetter

public class PolyAndGaussianFit extends com.nr.model.Fitmrq implements IValueGetter
  • Constructor Details Link icon

    • PolyAndGaussianFit Link icon

      public PolyAndGaussianFit(Fit fit)
      Parameters:
      fit - the fit data
      tolerance -
  • Method Details Link icon

    • value Link icon

      public double value(double x)
      Specified by:
      value in interface IValueGetter
    • getFitParameters Link icon

      public double[] getFitParameters()
      Get the fit parameters
      Returns:
      the fit parameters
    • getCovarianceMatrix Link icon

      public double[][] getCovarianceMatrix()
      Get the covariance matrix
      Returns:
      the covariance matrix
    • getChiSquare Link icon

      public double getChiSquare()
      Get the chi square of the fit
      Returns:
      the chi square
    • createFGaussPoly Link icon

      public static FGaussPoly createFGaussPoly(int numGauss, int numPoly)