Last modified: December 2019

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/show_filter.html
AHELP for CIAO 4.12 Sherpa v1

show_filter

Context: filtering

Synopsis

Display the filters applied to a dataset

Syntax

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

Description

The show_filter command displays the filters which are currently applied to the data.

The command output looks like:

Data Set Filter: 1
0.2993-7.0007 Energy (keV)

Examples

Example 1

sherpa> show_filter()

Print the filter information to the screen for all datasets.

Example 2

sherpa> show_filter(2, "sherpa.filter", True)

Write the filter information for dataset id=2 to the file "sherpa.filter", 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.


Bugs

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

See Also

data
group
filtering
get_filter, ignore, ignore2d, ignore2d_id, ignore_bad, ignore_id, notice, notice2d, notice2d_id, notice_id
info
list_bkg_ids, list_functions, show_all, show_bkg_model, show_bkg_source, show_conf, show_covar, show_data, show_fit, show_method, show_model, show_proj, show_source, show_stat