Sets the name of the instrument in the CALDB structure.
calSetInstrument( Caldb_Type cal, String_Type name )
This function sets the value of the
instrument 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 INSTRUME
keyword and the instrument parameter of quizcaldb;
for Chandra data it should be set to "ACIS" or "HRC".
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> cal = calCreateInfo;
slsh> calSetInstrument( cal, "hrc" );
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|