show_all¶
-
sherpa.ui.
show_all
(id=None, outfile=None, clobber=False)¶ Report the current state of the Sherpa session.
Display information about one or all of the data sets that have been loaded into the Sherpa session. The information shown includes that provided by the other
show_xxx
routines, and depends on the type of data that is loaded.Parameters: - id (int or str, optional) – The data set. If not given then all data sets are displayed.
- outfile (str, optional) – If not given the results are displayed to the screen, otherwise it is taken to be the name of the file to write the results to.
- clobber (bool, optional) – If outfile is not
None
, then this flag controls whether an existing file can be overwritten (True
) or if it raises an exception (False
, the default setting).
Raises: sherpa.utils.err.IOErr
– If outfile already exists and clobber isFalse
.See also
clean()
- Clear all stored session data.
list_data_ids()
- List the identifiers for the loaded data sets.
save()
- Save the current Sherpa session to a file.
sherpa.astro.ui.save_all()
- Save the Sherpa session as an ASCII file.
sherpa.astro.ui.show_bkg()
- Show the details of the PHA background data sets.
sherpa.astro.ui.show_bkg_model()
- Display the background model expression for a data set.
sherpa.astro.ui.show_bkg_source()
- Display the background model expression for a data set.
show_conf()
- Display the results of the last conf evaluation.
show_covar()
- Display the results of the last covar evaluation.
show_data()
- Summarize the available data sets.
show_filter()
- Show any filters applied to a data set.
show_fit()
- Summarize the fit results.
show_kernel()
- Display any kernel applied to a data set.
show_method()
- Display the current optimization method and options.
show_model()
- Display the model expression used to fit a data set.
show_proj()
- Display the results of the last proj evaluation.
show_psf()
- Display any PSF model applied to a data set.
show_source()
- Display the source model expression for a data set.
show_stat()
- Display the current fit statistic.
Notes
When outfile is
None
, the text is displayed via an external program to support paging of the information. The program used is determined by thePAGER
environment variable. IfPAGER
is not found then ‘/usr/bin/more’ is used.