• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

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.

Author:
Peter Kirchgessner

Definition in file fitsrw.h.


Define Documentation

#define FITS_CARD_SIZE   80

Definition at line 31 of file fitsrw.h.

#define FITS_MAX_AXIS   999

Definition at line 33 of file fitsrw.h.

#define FITS_NADD_CARDS   128

Definition at line 35 of file fitsrw.h.

#define FITS_NO_DEMO

Definition at line 275 of file fitsrw.h.

#define FITS_RECORD_SIZE   2880

Definition at line 32 of file fitsrw.h.


Typedef Documentation

FITS_BITPIX16

Two bytes declared as short.

Definition at line 50 of file fitsrw.h.

FITS_BITPIX32

Four bytes declared as long.

Definition at line 55 of file fitsrw.h.

FITS_BITPIX8

One byte declared as unsigned char.

Definition at line 45 of file fitsrw.h.

FITS_BITPIXM32

IEEE -32 FITS format declared as 4-byte float.

Definition at line 60 of file fitsrw.h.

FITS_BITPIXM64

IEEE -64 FITS format declared as 8-byte double.

Definition at line 65 of file fitsrw.h.

typedef int FITS_BOOL

Definition at line 67 of file fitsrw.h.

typedef double FITS_DOUBLE

Definition at line 69 of file fitsrw.h.

typedef struct fits_hdu_list FITS_HDU_LIST

typedef long FITS_LONG

Definition at line 68 of file fitsrw.h.

typedef struct fits_record_list FITS_RECORD_LIST

typedef char FITS_STRING[FITS_CARD_SIZE]

Definition at line 70 of file fitsrw.h.


Enumeration Type Documentation

enum FITS_DATA_TYPES

Enumerator:
typ_bitpix8 
typ_bitpix16 
typ_bitpix32 
typ_bitpixm32 
typ_bitpixm64 
typ_fbool 
typ_flong 
typ_fdouble 
typ_fstring 

Definition at line 72 of file fitsrw.h.


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 
)

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal