ErrorEstResults

class sherpa.fit.ErrorEstResults(fit, results, parlist=None)[source]

Bases: sherpa.utils.NoNewAttributesAfterInit

The results of an error estimation run.

This object contains the parameter ranges, information on the statistic and optimisation-method used, and other relevant information.

datasets

A sequence of the data set ids included in the results.

Type:sequence of int or str, or None
methodname

The name of the optimisation method used (in lower case).

Type:str
itermethodname

What iterated-fit scheme was used, if any.

Type:str or None
fitname

The name of the method used to fit the data, in lower case.

Type:str
statname

The name of the statistic used to fit the data, in lower case.

Type:str
sigma

The error values represent this number of sigma (assuming a Gaussian distribution).

Type:number
percent

The percentage value for the errors (calculated from the sigma value assuming Gaussian errors).

Type:number
parnames

the parameter names that were varied in the fit (the thawed parameters in the model expression).

Type:tuple of str
parvals

The parameter values, in the same order as parnames.

Type:tuple of number
parmins

The parameter minimum values, in the same order as parnames.

Type:tuple of number
parmaxes

The parameter maximum values, in the same order as parnames.

Type:tuple of number
nfits

The number of fits performed during the error analysis.

Type:int
extra_output

The extra_output field from the fit.

Methods Summary

format() Return a string representation of the error estimates.

Methods Documentation

format()[source]

Return a string representation of the error estimates.

Returns:txt – A multi-line representation of the error estimates.
Return type:str