Last modified: December 2020

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/get_fit_contour.html
Jump to: · Example · PARAMETERS · Bugs


AHELP for CIAO 4.13 Sherpa v1

get_fit_contour

Context: visualization

Synopsis

Return the data used by contour_fit.

Syntax

get_fit_contour(id=None, recalc=True)

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

Example

Return the contour data for the default data set:

>>> finfo = get_fit_contour()

PARAMETERS

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.


Bugs

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