FITS related basic routines


Functions

int cpl_fits_get_extension_nb (const char *filename, const char *extname)
 Get the place of a given extensions in a FITS file.
int cpl_fits_get_nb_extensions (const char *filename)
 Get the number of extensions contained in a FITS file.

Detailed Description

This module provides functions to get basic information on FITS files

Synopsis:
   #include "cpl_fits.h"

Function Documentation

int cpl_fits_get_extension_nb ( const char *  filename,
const char *  extname 
)

Get the place of a given extensions in a FITS file.

Parameters:
filename The file name
extname The extension name
Returns:
the extension place or 0 if it is not there or -1 in error case
Possible _cpl_error_code_ set in this function:

int cpl_fits_get_nb_extensions ( const char *  filename  ) 

Get the number of extensions contained in a FITS file.

Parameters:
filename The file name
Returns:
the number of extensions or -1 in error case
Possible _cpl_error_code_ set in this function:


Generated on Thu Mar 6 17:29:20 2008 for Common Pipeline Library Reference Manual by  doxygen 1.5.1