hep.aida
Interface IFitResult

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 Summary
 String[] constraints()
           
 double covMatrixElement(int i, int j)
           
 String dataDescription()
           
 String engineName()
           
 double[] errors()
          Get the parabolic errors on the fitted parameters.
 double[] errorsMinus()
          Get the negative part of the asymmetric errors on the fitted parameters.
 double[] errorsPlus()
          Get the positive part of the asymmetric errors on the fitted parameters.
 String fitMethodName()
           
 IFitParameterSettings fitParameterSettings(String name)
           
 int fitStatus()
           
 IFunction fittedFunction()
           
 double fittedParameter(String name)
          Get the value of a fitted parameter by name.
 String[] fittedParameterNames()
          Get the names of the fitted parameters (including fixed and constrained ones).
 double[] fittedParameters()
          Get the array of the fitted parameter values (including fixed and constrained ones).
 boolean isValid()
           
 int ndf()
           
 double quality()
           
 

Method Detail

isValid

boolean isValid()

fitStatus

int fitStatus()

fittedFunction

IFunction fittedFunction()

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()

fitParameterSettings

IFitParameterSettings fitParameterSettings(String name)

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.


jHepWork 3.2 © jWork.org