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

Synopsis

Display the contents of the CALDB structure

Syntax

calPrintInfo( Caldb_Type cal )

Description

This function prints the contents of the CALDB structure to the screen (stdout). The calSetXXX() and calGetXXX() routines can be used to access the individual fields of the structure.

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 1

  slsh> require("caldb");
  slsh> cal = calCreateInfo;
  slsh> calPrintInfo( cal );
  Telescope:      -
  Instrument:     -
  Detector:       -
  Filter:         -
  Start-Date:     now
  Start-Time:     00:00:00
  Expression:     -
  Data:

Example 2

  slsh> cal = calCreateInfo;
  slsh> calSetTelescope( cal, "chandra" );
  slsh> calSetInstrument( cal, "ACIS" );
  slsh> calSetDetector( cal, "ACIS-I" );
  slsh> calPrintInfo( cal );
  Telescope:      chandra
  Instrument:     ACIS
  Detector:       ACIS-I
  Filter:         -
  Start-Date:     now
  Start-Time:     00:00:00
  Expression:     -
  Data:

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.