kstars
fitsrw.h File Reference
FITS reading/writing library. More...
#include <stdio.h>
Include dependency graph for fitsrw.h:

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

Go to the source code of this file.
Classes | |
union | FITS_DATA |
struct | FITS_FILE |
Structure to hold FITS file information and pointers. More... | |
struct | fits_hdu_list |
struct | FITS_PIX_TRANSFORM |
A struct that describes how to transform FITS pixel values. More... | |
struct | fits_record_list |
Defines | |
#define | FITS_CARD_SIZE 80 |
#define | FITS_MAX_AXIS 999 |
#define | FITS_NADD_CARDS 128 |
#define | FITS_NO_DEMO |
#define | FITS_RECORD_SIZE 2880 |
Typedefs | |
typedef short | FITS_BITPIX16 |
typedef long | FITS_BITPIX32 |
typedef unsigned char | FITS_BITPIX8 |
typedef float | FITS_BITPIXM32 |
typedef double | FITS_BITPIXM64 |
typedef int | FITS_BOOL |
typedef double | FITS_DOUBLE |
typedef struct fits_hdu_list | FITS_HDU_LIST |
typedef long | FITS_LONG |
typedef struct fits_record_list | FITS_RECORD_LIST |
typedef char | FITS_STRING [FITS_CARD_SIZE] |
Enumerations | |
enum | FITS_DATA_TYPES { typ_bitpix8, typ_bitpix16, typ_bitpix32, typ_bitpixm32, typ_bitpixm64, typ_fbool, typ_flong, typ_fdouble, typ_fstring } |
Functions | |
int | fits_add_card (FITS_HDU_LIST *hdulist, char *card) |
FITS_HDU_LIST * | fits_add_hdu (FITS_FILE *ff) |
void | fits_close (FITS_FILE *ff) |
FITS_DATA * | fits_decode_card (const char *card, FITS_DATA_TYPES data_type) |
char * | fits_get_error (void) |
FITS_HDU_LIST * | fits_image_info (FITS_FILE *ff, int picind, int *hdupicind) |
int | fits_nan_32 (unsigned char *v) |
int | fits_nan_64 (unsigned char *v) |
FITS_FILE * | fits_open (const char *filename, const char *openmode) |
void | fits_print_header (FITS_HDU_LIST *hdr) |
int | fits_read_pixel (FITS_FILE *ff, FITS_HDU_LIST *hdulist, int npix, FITS_PIX_TRANSFORM *trans, void *buf) |
char * | fits_search_card (FITS_RECORD_LIST *rl, const char *keyword) |
FITS_HDU_LIST * | fits_seek_image (FITS_FILE *ff, int picind) |
int | fits_to_pgmraw (char *fitsfile, char *pgmfile) |
int | fits_write_header (FITS_FILE *ff, FITS_HDU_LIST *hdulist) |
int | pgmraw_to_fits (char *pgmfile, char *fitsfile) |
Detailed Description
FITS reading/writing library.
Definition in file fitsrw.h.
Define Documentation
Typedef Documentation
typedef double FITS_DOUBLE |
typedef struct fits_hdu_list FITS_HDU_LIST |
typedef struct fits_record_list FITS_RECORD_LIST |
typedef char FITS_STRING[FITS_CARD_SIZE] |
Enumeration Type Documentation
enum FITS_DATA_TYPES |
Function Documentation
int fits_nan_32 | ( | unsigned char * | v | ) |
int fits_nan_64 | ( | unsigned char * | v | ) |
int fits_to_pgmraw | ( | char * | fitsfile, | |
char * | pgmfile | |||
) |
int pgmraw_to_fits | ( | char * | pgmfile, | |
char * | fitsfile | |||
) |