Last modified: December 2019

AHELP for CIAO 4.12 Sherpa v1


Context: info


Display the confidence information


show_conf([outfile=None, clobber=False] )


The show_conf command displays the results of the last run of the confidence command (see "ahelp conf"), which may be saved to a file via the 'outfile' argument. The output consists of the best-fit model parameter values and associated confidence limits calculated for one or more data sets, using the confidence parameter estimation method and the chosen fit optimization method and statistic.

The command output looks like:

sherpa> show_conf()

Confidence:Dataset               = 1, 2
Confidence Method     = confidence
Fitting Method        = levmar
Statistic             = chi2gehrels
confidence 1-sigma (68.2689%) bounds:
   Param            Best-Fit  Lower Bound  Upper Bound
   -----            --------  -----------  -----------
   p1.gamma          2.15852   -0.0827856    0.0834106
   p1.ampl        0.00022484 -1.48256e-05  1.48256e-05


Example 1

sherpa> show_conf()

Print to the screen the model parameter confidence values resulting from the last run of the confidence command (which may have been run for one or multiple data sets).

Example 2

sherpa> show_conf("sherpa.conf", True)

Write the model parameter confidence values to the file "sherpa.conf", clobbering any existing file with the same name.

Changes in CIAO 4.12

PAGER environment variable is no-longer used

Paging of the screen output is now handled by Python rather than using an external tool defined by the PAGER environment variable. This means that paged output should now appear in Jupyter notebooks.


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

See Also

list_bkg_ids, list_functions, show_all, show_bkg_model, show_bkg_source, show_covar, show_data, show_fit, show_method, show_model, show_proj, show_source, show_stat