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 2007

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

Synopsis

Sets the name of the detector in the CALDB structure.

Syntax

calSetDetector( Caldb_Type cal, String_Type name )

Description

This function sets the value of the detector field in the CALDB structure. The case does not matter (it gets converted to upper case when actually querying the CALDB).

This field corresponds to the detector parameter of quizcaldb. For Chandra data you should use "ACIS-I", "ACIS-S", "HRC-I", or "HRC-S", or the value of the FITS DETNAM keyword (e.g. "ACIS-012346").

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> calSetDetector( cal, "ACIS-S" );

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.