psFits.h File Reference

#include <fitsio.h>
#include "psType.h"
#include "psArray.h"
#include "psVector.h"
#include "psMetadata.h"
#include "psImage.h"

Include dependency graph for psFits.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  psFits
 FITS file object. More...

Enumerations

enum  psFitsType { PS_FITS_TYPE_NONE = -1, PS_FITS_TYPE_IMAGE = IMAGE_HDU, PS_FITS_TYPE_BINARY_TABLE = BINARY_TBL, PS_FITS_TYPE_ASCII_TABLE = ASCII_TBL, PS_FITS_TYPE_ANY = ANY_HDU }
 FITS HDU type. More...

Functions

psFitspsFitsOpen (const char *filename, const char *mode)
 Opens a FITS file and allocates the associated psFits object.
bool psFitsClose (psFits *fits)
 Closes a FITS file.
bool psMemCheckFits (psPtr ptr)
 Checks the type of a particular pointer.
bool psFitsMoveExtName (const psFits *fits, const char *extname)
 Moves the FITS HDU to the specified extension name.
bool psFitsMoveExtNum (const psFits *fits, int extnum, bool relative)
 Moves the FITS HDU to the specified extension number.
bool psFitsMoveLast (psFits *fits)
 Moves the FITS HDU to the end of the file.
int psFitsGetExtNum (const psFits *fits)
 Get the current extension number, where 0 is the primary HDU.
psString psFitsGetExtName (const psFits *fits)
 Get the current extension name.
bool psFitsSetExtName (psFits *fits, const char *name)
 Set the current extension's name.
int psFitsGetSize (const psFits *fits)
 Get the total number of HDUs in the FITS file.
bool psFitsDeleteExtNum (psFits *fits, int extnum, bool relative)
 Remove the an HDU as specified by number.
bool psFitsDeleteExtName (psFits *fits, const char *extname)
 Remove the an HDU as specified by extension name.
psFitsType psFitsGetExtType (const psFits *fits)
 Get the extension type of the current HDU.
bool psFitsTruncate (psFits *fits)
 Delete all extensions after the current position.
psDataType p_psFitsTypeFromCfitsio (int datatype)
bool p_psFitsTypeToCfitsio (psDataType type, int *bitPix, double *bZero, int *dataType)


Generated on Fri Feb 2 22:24:49 2007 for pslib by  doxygen 1.5.1