Typedefs | |
typedef _keytuple_ | keytuple |
typedef enum _keytype_ | keytype |
Possible key types. | |
Enumerations | |
enum | _keytype_ { keytype_undef = 0, keytype_top = 1, keytype_bitpix = 2, keytype_naxis = 3, keytype_naxis1 = 11, keytype_naxis2 = 12, keytype_naxis3 = 13, keytype_naxis4 = 14, keytype_naxisi = 20, keytype_group = 30, keytype_pcount = 31, keytype_gcount = 32, keytype_extend = 33, keytype_bscale = 34, keytype_bzero = 35, keytype_tfields = 36, keytype_tbcoli = 40, keytype_tformi = 41, keytype_primary = 100, keytype_hierarch_dpr = 200, keytype_hierarch_obs = 201, keytype_hierarch_tpl = 202, keytype_hierarch_gen = 203, keytype_hierarch_tel = 204, keytype_hierarch_ins = 205, keytype_hierarch_det = 206, keytype_hierarch_log = 207, keytype_hierarch_pro = 208, keytype_hierarch = 300, keytype_history = 400, keytype_comment = 500, keytype_end = 1000 } |
Functions | |
qfits_header * | qfits_header_new (void) |
FITS header constructor. | |
qfits_header * | qfits_header_default (void) |
FITS header default constructor. | |
void | qfits_header_add (qfits_header *hdr, const char *key, const char *val, const char *com, const char *lin) |
Add a new card to a FITS header. | |
void | qfits_header_add_after (qfits_header *hdr, const char *after, const char *key, const char *val, const char *com, const char *lin) |
add a new card to a FITS header | |
void | qfits_header_append (qfits_header *hdr, const char *key, const char *val, const char *com, const char *lin) |
Append a new card to a FITS header. | |
void | qfits_header_del (qfits_header *hdr, const char *key) |
Delete a card in a FITS header. | |
void | qfits_header_mod (qfits_header *hdr, const char *key, const char *val, const char *com) |
Modifies a FITS card. | |
int | qfits_header_sort (qfits_header **hdr) |
Sort a FITS header. | |
qfits_header * | qfits_header_copy (const qfits_header *src) |
Copy a FITS header. | |
void | qfits_header_destroy (qfits_header *hdr) |
qfits_header destructor | |
char * | qfits_header_getstr (const qfits_header *hdr, const char *key) |
Return the value associated to a key, as a string. | |
int | qfits_header_getitem (const qfits_header *hdr, int idx, char *key, char *val, char *com, char *lin) |
Return the i-th key/val/com/line tuple in a header. | |
char * | qfits_header_getcom (const qfits_header *hdr, const char *key) |
Return the comment associated to a key, as a string. | |
int | qfits_header_getint (const qfits_header *hdr, const char *key, int errval) |
Return the value associated to a key, as an int. | |
double | qfits_header_getdouble (const qfits_header *hdr, const char *key, double errval) |
Return the value associated to a key, as a double. | |
int | qfits_header_getboolean (const qfits_header *hdr, const char *key, int errval) |
Return the value associated to a key, as a boolean (int). | |
int | qfits_header_dump (const qfits_header *hdr, FILE *out) |
Dump a FITS header to an opened file. |
|
|
|
Possible key types. This enum stores all possible types for a FITS keyword. These determine the order of appearance in a header, they are a crucial point for DICB (ESO) compatibility. This classification is internal to this module. |
|