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. |
|
Retrieve offset to start and size of a data section in a file.
You must provide an extension number for the header, 0 meaning the main header in the file. |
|
Retrieve offset to start and size of a header in a FITS file.
You must provide an extension number for the header, 0 meaning the main header in the file. |
|
Read a FITS header from a file to an internal structure.
Direct access to the structure is not foreseen, use accessor functions in fits_h.h Value, comment, and original line might be NULL pointers. |
|
Read a FITS header from a 'hdr' file.
|
|
Read a FITS header from a 'hdr' string.
|
|
Read an extension header from a FITS file.
Returns NULL in case of error. |
|
Identify if a file is a FITS file.
|
|
Pad an existing file with zeros to a multiple of 2880.
|