IFitResult
hep.aida

Interface IFitResult

  • All Known Subinterfaces:
    IDevFitResult
    All Known Implementing Classes:
    FitResult


    public interface IFitResult
    Represents the result of the fit. Holds internal copies of fit parameter settings (set in IFitter) and the fitted function (clone of original function). The value of the parameters of the fitted function are obtained from the fitting.
    • Method Detail

      • isValid

        boolean isValid()
      • fitStatus

        int fitStatus()
      • quality

        double quality()
      • ndf

        int ndf()
      • covMatrixElement

        double covMatrixElement(int i,                      int j)
      • fitMethodName

        String fitMethodName()
      • engineName

        String engineName()
      • dataDescription

        String dataDescription()
      • constraints

        String[] constraints()
      • fittedParameters

        double[] fittedParameters()
        Get the array of the fitted parameter values (including fixed and constrained ones).
        Returns:
        The array containing the fitted values.
      • fittedParameterNames

        String[] fittedParameterNames()
        Get the names of the fitted parameters (including fixed and constrained ones).
        Returns:
        The array containing the names of the fitted parameters.
      • fittedParameter

        double fittedParameter(String name)
        Get the value of a fitted parameter by name.
        Returns:
        The value.
      • errors

        double[] errors()
        Get the parabolic errors on the fitted parameters. If a parameter was fixed or constrained the error is zero.
        Returns:
        The parabolic errors on the fitted parameters.
      • errorsPlus

        double[] errorsPlus()
        Get the positive part of the asymmetric errors on the fitted parameters. If a parameter was fixed or constrained the error is zero.
        Returns:
        The positive part of the asymmetric errors on the fitted parameters.
      • errorsMinus

        double[] errorsMinus()
        Get the negative part of the asymmetric errors on the fitted parameters. If a parameter was fixed or constrained the error is zero.
        Returns:
        The negative part of the asymmetric errors on the fitted parameters.

SCaVis 2.0 © jWork.ORG