qfits_rw.c File Reference


Functions

qfits_header * qfits_header_read (const char *filename)
 Read a FITS header from a file to an internal structure.
qfits_header * qfits_header_read_hdr (const char *filename)
 Read a FITS header from a 'hdr' file.
qfits_header * qfits_header_read_hdr_string (const unsigned char *hdr_str, int nb_char)
 Read a FITS header from a 'hdr' string.
qfits_header * qfits_header_readext (const char *filename, int xtnum)
 Read an extension header from a FITS file.
void qfits_zeropad (const char *filename)
 Pad an existing file with zeros to a multiple of 2880.
int qfits_is_fits (const char *filename)
 Identify if a file is a FITS file.
int qfits_get_hdrinfo (const char *filename, int xtnum, int *seg_start, int *seg_size)
 Retrieve offset to start and size of a header in a FITS file.
int qfits_get_datinfo (const char *filename, int xtnum, int *seg_start, int *seg_size)
 Retrieve offset to start and size of a data section in a file.