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.
- outfile - name of the file in which to store the information
- clobber - a Boolean switch which indicates whether or not the 'outfile' should be overwritten, if the file already exists; default=False
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
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).
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.