FITS related basic routines


Functions

int cpl_fits_count_extensions (const char *filename)
 Get the number of extensions contained in a FITS file.
int cpl_fits_find_extension (const char *filename, const char *extname)
 Get the place of a given extension 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_count_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 case of error
Possible _cpl_error_code_ set in this function:

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

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

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


Generated on Wed Mar 18 09:40:12 2009 for Common Pipeline Library Reference Manual by  doxygen 1.4.7