About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/get_filter_expr.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 get_filter_expr Context: sherpa

Synopsis

Module function to retrieve the strings describing filters applied to source and background datasets.

Syntax

Array_Type get_filter_expr([Integer_Type])
Array_Type get_bfilter_expr([Integer_Type])

Error Return Value: NULL

Description

These functions returns an array of filter expressions, for use in record-keeping, GUIs, etc. Each string in this array is a command that contributed to the calculation of the filter; the commands were applied to the filter in the order in which they are stored in the array.

See the related Sherpa command SHOW ALL.

Example

Retrieve a set of filter expressions applied to dataset 1:

sherpa> fltexpr = get_filter_expr()
sherpa> print(fltexpr) 
notice source 1 energy 2 : 4 
notice source 1 wavelength 12 : 24 

Bugs

See the Sherpa bug pages online for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.