Last modified: December 2023

Jump to: · Example · PARAMETERS · Bugs

AHELP for CIAO 4.16 Sherpa


Context: visualization


Return the data used by contour_fit.


get_fit_contour(id=None, recalc=True)

id - int or str, optional
recalc - bool, optional


Return the contour data for the default data set:

>>> finfo = get_fit_contour()


The parameters for this function are:

Parameter Definition
id The data set. If not given then the default identifier is used, as returned by `get_default_id` .
recalc If False then the results from the last call to `contour_fit` (or `get_fit_contour` ) are returned, otherwise the data is re-generated.

Return value

The return value from this function is:

fit_data -- An object representing the data used to create the plot by `contour_fit` . It contains the data from `get_data_contour` and `get_model_contour` in the datacontour and modelcontour attributes.


See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.