FitResult
hep.aida.ref.fitter

Class FitResult

    • Constructor Detail

      • FitResult

        public FitResult(int dim)
      • FitResult

        public FitResult(int dim,         double seconds)
    • Method Detail

      • setFitParameterSettings

        public void setFitParameterSettings(String parName,                           IFitParameterSettings parSetting)
        Description copied from interface: IDevFitResult
        Set a dynamically allocated object (created with new). This class takes ownership and should properly delete it. As a caller of this method you should not manually delete 's' object after you set it here.
        Specified by:
        setFitParameterSettings in interface IDevFitResult
      • setFittedFunction

        public void setFittedFunction(IFunction function)
        Description copied from interface: IDevFitResult
        Set dynamically allocated function object (new). IDevFitResult object takes ownership and should properly delete it. As a caller of this method you should not manually delete f after you set it here.
        Specified by:
        setFittedFunction in interface IDevFitResult
      • fittedParameters

        public double[] fittedParameters()
        Description copied from interface: IFitResult
        Get the array of the fitted parameter values (including fixed and constrained ones).
        Specified by:
        fittedParameters in interface IFitResult
        Returns:
        The array containing the fitted values.
      • fittedParameterNames

        public String[] fittedParameterNames()
        Description copied from interface: IFitResult
        Get the names of the fitted parameters (including fixed and constrained ones).
        Specified by:
        fittedParameterNames in interface IFitResult
        Returns:
        The array containing the names of the fitted parameters.
      • fittedParameter

        public double fittedParameter(String name)
        Description copied from interface: IFitResult
        Get the value of a fitted parameter by name.
        Specified by:
        fittedParameter in interface IFitResult
        Returns:
        The value.
      • errors

        public double[] errors()
        Description copied from interface: IFitResult
        Get the parabolic errors on the fitted parameters. If a parameter was fixed or constrained the error is zero.
        Specified by:
        errors in interface IFitResult
        Returns:
        The parabolic errors on the fitted parameters.
      • errorsPlus

        public double[] errorsPlus()
        Description copied from interface: IFitResult
        Get the positive part of the asymmetric errors on the fitted parameters. If a parameter was fixed or constrained the error is zero.
        Specified by:
        errorsPlus in interface IFitResult
        Returns:
        The positive part of the asymmetric errors on the fitted parameters.
      • errorsMinus

        public double[] errorsMinus()
        Description copied from interface: IFitResult
        Get the negative part of the asymmetric errors on the fitted parameters. If a parameter was fixed or constrained the error is zero.
        Specified by:
        errorsMinus in interface IFitResult
        Returns:
        The negative part of the asymmetric errors on the fitted parameters.
      • printResult

        public void printResult()

SCaVis 2.2 © jWork.ORG