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/calsettelescope.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 4.0 calSetTelescope Context: caldb

Synopsis

Sets the name of the telescope in the CALDB structure.

Syntax

calSetTelescope( Caldb_Type cal, String_Type name )

Description

This function sets the value of the telescope 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 value of the FITS TELESCOP keyword and the mission parameter of quizcaldb; for Chandra data it should be set to "chandra".

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> calSetTelescope( cal, "chandra" );

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 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.