Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/sherpa/ahelp/contour_fit.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.9 Sherpa v1

contour_fit

Context: visualization

Synopsis

Send a contour plot of the fit

Syntax

contour_fit([id,] [replot=False,] [overcontour=False]])

Description

The contour_fit command creates a contour plot of the fit. To plot multiple contour components at the same time (e.g. fit, source, and residuals), use the contour command ("ahelp contour") .

  • id - the id of the dataset to use; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
  • replot - should the cached arrays be used in the plot? False (default)=do the calculation, True=redisplay the existing values
  • overcontour - overplot the contour? default=False (clear the window before plotting)

The plot is displayed in a ChIPS plotting window. If there is no plotting window open, one is created. If a plotting window exists, the overcontour parameter value determines whether the new plot is overlaid on any existing plots in the window or if the window is cleared before the plot is drawn.

ChIPS commands may be used within Sherpa to modify plot characteristics and create hardcopies; refer to the ChIPS website for information.

Example 1

sherpa> contour_fit()

Create a contour plot of the fit for the default dataset, using the default settings.

Example 2

sherpa> contour_fit("src", overcontour=True)

Make a contour plot of the fit for dataset "src", overplotting if there is an existing ChIPS window.

Bugs

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

See Also

psfs
contour_kernel, contour_psf
visualization
contour, contour_data, contour_fit_resid, contour_model, contour_ratio, contour_resid, contour_source

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.