Returns the name of the telescope stored in the CALDB structure.
String_Type calGetTelescope( Caldb_Type cal )
This function returns the value of the
telescope field in the CALDB structure.
variable cal = calCreateInfo( "evt.fits" );
variable tel = calGetTelescope( cal );
if ( 0 != strcmp( "CHANDRA", tel ) )
error( "The file evt.fits is not a Chandra data file." );
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|