Last modified: December 2019

AHELP for CIAO 4.12 Sherpa v1


Context: info


Display the data sets


show_data([id, outfile=None, clobber=False] )


The show_data command displays the data sets which have been loaded into Sherpa.

The command output looks like:

Data Set: 1
Filter: 0.2993-7.0007 Energy (keV)
Noticed Channels: 21.0-480.0
name           = case1_1.pha
channel        = Float64[1024]
counts         = Float64[1024]
staterror      = None
syserror       = None
bin_lo         = None
bin_hi         = None
grouping       = None
quality        = None
exposure       = 50000.0
backscal       = 1.0
areascal       = None
grouped        = False
subtracted     = False
units          = energy
response_ids   = [1]
background_ids = []

RMF Data Set: 1:1
name     = core1.rmf
detchans = 1024
energ_lo = Float64[1077]
energ_hi = Float64[1077]
n_grp    = Int16[1077]
f_chan   = UInt32[1500]
n_chan   = UInt32[1500]
matrix   = Float64[440721]
offset   = 1
e_min    = Float64[1024]
e_max    = Float64[1024]

ARF Data Set: 1:1
name     = core1.arf
energ_lo = Float64[1077]
energ_hi = Float64[1077]
specresp = Float64[1077]
bin_lo   = None
bin_hi   = None
exposure = 34397.739985


Example 1

sherpa> show_data()

Print information on all datasets to the screen.

Example 2

sherpa> show_data(2, "", True)

Write the information for dataset id=2 to the file "", clobbering any 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_conf, show_covar, show_fit, show_method, show_model, show_proj, show_source, show_stat