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

Skip the navigation links

The Chandra website, including data archive access, will be offline for a planned power outage starting at 8 AM EDT on Saturday, 9 August. The site is expected to be back online before 12 PM EDT on Sunday, 10 August.

Last modified: December 2007

URL: http://cxc.harvard.edu/ciao4.0/calsetfilter.html
AHELP for CIAO 4.0 calSetFilter Context: caldb

Synopsis

Sets the filter to be used in a CALDB query.

Syntax

calSetFilter( Caldb_Type cal, String_Type name )

Description

This routine sets the name of the filter to be used when calFindFile() is next called. A value of "-" means that this field is not relevant for the query (i.e. that no filter was used).

This field corresponds to the filter parameter of the quizcaldb tool. It should be set to "-" for all queries of the Chandra calibration database.

The caldb module is not available by default; to use it in a S-Lang program, it must be loaded using the S-Lang require() function:

  require("caldb");

Example

slsh> cal = calCreateInfo;
slsh> calSetFilter( cal, "-" );

Bugs

See the bugs page for the caldb library on the CIAO website for an up-to-date listing of known bugs.

Last modified: December 2007



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.