Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psFits.h File Reference


Detailed Description

Contains Fits I/O routines.

Author:
Robert DeSonia, MHPCC
Version:
Revision
1.20
Name
rel7
Date:
Date
2005/08/30 01:14:13
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psFits.h.

#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.

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

psFitspsFitsAlloc (const char *name)
 Opens a FITS file and allocates the associated psFits object.
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.
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.
psFitsType psFitsGetExtType (const psFits *fits)
 Get the extension type of the current HDU.
psMetadatapsFitsReadHeader (psMetadata *out, const psFits *fits)
 Reads the header of the current HDU.
psMetadatapsFitsReadHeaderSet (psMetadata *out, const psFits *fits)
 Reads the header of all HDUs.
bool psFitsWriteHeader (const psMetadata *output, psFits *fits)
 Writes the values of the metadata to the current HDU header.
psImagepsFitsReadImage (psImage *out, const psFits *fits, psRegion region, int z)
 Reads an image, given the desired region and z-plane.
bool psFitsWriteImage (psFits *fits, psMetadata *header, const psImage *input, int depth)
 Writes an image, given the desired region and z-plane.
bool psFitsUpdateImage (psFits *fits, const psImage *input, psRegion region, int z)
 Updates the FITS file image, given the desired region and z-plane.
psMetadatapsFitsReadTableRow (const psFits *fits, int row)
 Reads a table row.
psArraypsFitsReadTableColumn (const psFits *fits, const char *colname)
 Reads a table column.
psVectorpsFitsReadTableColumnNum (const psFits *fits, const char *colname)
 Reads a table column of numbers.
psArraypsFitsReadTable (psFits *fits)
 Reads a whole FITS table.
bool psFitsWriteTable (psFits *fits, const psMetadata *header, const psArray *table)
 Writes a whole FITS table.
bool psFitsUpdateTable (psFits *fits, const psMetadata *data, int row)
 Updates a FITS table.


Generated on Wed Sep 14 10:43:00 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2