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/calsetexpression.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 calSetExpression Context: caldb

Synopsis

Sets the boundary condition(s) for the CALDB query.

Syntax

calSetExpression( Caldb_Type cal, String_Type expr )

Description

This routine sets the expression used to define the boundary condition, or conditions, of the CALDB search when calFindFile() is called. A value of "-" means that no boundary conditions are to be used.

This field corresponds to the expr parameter of the quizcaldb tool. See the CALDB Required Boundary Conditions table to find out if you need to add a boundary condition, or conditions. The conditions are expressed using a syntax similar to FORTRAN boolean expressions, so that

cti_corr.eq.yes

means that only those files relevant for CTI-corrected data should be searched, while

cti_corr.eq.no.and.ccd_id.lt.4

means to look for data relevant to non CTI-corrected data whose ccd_id field is less than 4 (i.e. the ACIS-I array).

Note that the routine to get the current boundary condition from a CALDB structure is called

calGetQuery()

Example

chips> cal = calCreateInfo
chips> calSetExpression( cal, "cti_corr.eq.yes" )

Bugs

See the bugs page for the caldb library on the CIAO website 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.