Display the contents of the CALDB structure
calPrintInfo( Caldb_Type cal )
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:
slsh> require("caldb");
slsh> cal = calCreateInfo;
slsh> calPrintInfo( cal );
Telescope: -
Instrument: -
Detector: -
Filter: -
Start-Date: now
Start-Time: 00:00:00
Expression: -
Data:
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:
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|