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

sequence of int or str, or None – A sequence of the data set ids included in the results.

methodname

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

itermethodname

str or None – What iterated-fit scheme was used, if any.

fitname

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

statname

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

sigma

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

percent

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

parnames

tuple of str – the parameter names that were varied in the fit (the thawed parameters in the model expression).

parvals

tuple of number – The parameter values, in the same order as parnames.

parmins

tuple of number – The parameter minimum values, in the same order as parnames.

parmaxes

tuple of number – The parameter maximum values, in the same order as parnames.

nfits

int – The number of fits performed during the error analysis.

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