|
#define | its(x) #x |
| Returns non-zero decimal conversion of integer into string.
|
|
#define | EXTFITS_ELEMENT_STRING (dsp_fits_format){"A", TSTRING, 0, 0} |
| FITS element types.
|
|
#define | EXTFITS_MEASURE_UNIT_HZ "Hz" |
| FITS Measure units.
|
|
#define | EXTFITS_KEYWORD_TTYPE(n) (dsp_fits_keyword){"TTYPE" itostr(n), "8A", "", "", "Set to 'FLUX'", (char*[]){"FLUX", "DATA", ""}} |
| Set to 'FLUX' or 'DATA' for matrix buffers.
|
|
#define | EXTFITS_KEYWORD_TUNIT(n) (dsp_fits_keyword){"TUNIT" itostr(n), "8A", "", "", "Shall have the value 'JY' or 'UNCALIB'", (char*[]){""}} |
| shall have the value 'K', 'JY' or 'UNCALIB'
|
|
#define | EXTFITS_KEYWORD_TDIM(n) (dsp_fits_keyword){"TDIM" itostr(n), "8A", "", "", "Size in pixels of data buffer", (char*[]){""}} |
| Size in pixels of data buffer.
|
|
#define | EXTFITS_KEYWORD_TFORM(n) (dsp_fits_keyword){"TFORM" itostr(n), "8A", "", "", "Shall be a character string", (char*[]){""}} |
| shall have the format of the column
|
|
#define | EXTFITS_KEYWORD_CTYPE(m) (dsp_fits_keyword){"CTYPE" itostr(m), EXTFITS_ELEMENT_STRING.typestr, "", "", "Name of regular axis m = 1 to M", (char*[]){""}} |
| Name of regular axis m = 1 to M.
|
|
#define | EXTFITS_KEYWORD_CDELT(m) (dsp_fits_keyword){"CDELT" itostr(m), EXTFITS_ELEMENT_FLOAT.typestr, "", "", "Coordinate increment on axis m = 1 to M", (char*[]){""}} |
| Coordinate increment on axis m = 1 to M.
|
|
#define | EXTFITS_KEYWORD_CRPIX(m) (dsp_fits_keyword){"CRPIX" itostr(m), EXTFITS_ELEMENT_FLOAT.typestr, "", "", "Reference pixel on axis m = 1 to M", (char*[]){""}} |
| Reference pixel on axis m = 1 to M.
|
|
#define | EXTFITS_KEYWORD_CRVAL(m) (dsp_fits_keyword){"CRVAL" itostr(m), EXTFITS_ELEMENT_FLOAT.typestr, "", "", "Coordinate value at reference pixel on axis m = 1 to M", (char*[]){""}} |
| Coordinate value at reference pixel on axis m = 1 to M.
|
|
#define | EXTFITS_KEYWORD_NMATRIX (dsp_fits_keyword){"NMATRIX", EXTFITS_ELEMENT_SHORT.typestr, "", "1", "NMATRIX shall be present with the value 1", (char*[]){"1", ""}} |
| NMATRIX shall be present with the value 1.
|
|
#define | EXTFITS_KEYWORD_TMATX(n) (dsp_fits_matrix){"TMATX" itostr(n), "8A", "T", "Set to 'T'", {EXTFITS_KEYWORD_TTYPE(n), EXTFITS_KEYWORD_TFORM(n), EXTFITS_KEYWORD_TUNIT(n), EXTFITS_KEYWORD_TDIM(n)}} |
| Set to 'T' — column n contains the visibility matrix.
|
|
#define | EXTFITS_KEYWORD_MAXIS(m) (dsp_fits_axis){"MAXIS" itostr(m), EXTFITS_ELEMENT_SHORT.typestr, "", "", "M = number axes in regular matrix, Number pixels on axis m = 1 to M", {EXTFITS_KEYWORD_CTYPE(m), EXTFITS_KEYWORD_CDELT(m), EXTFITS_KEYWORD_CRPIX(m), EXTFITS_KEYWORD_CRVAL(m)}} |
| M = number axes in regular matrix, Number pixels on axis m = 1 to M.
|
|
#define | EXTFITS_KEYWORD_OBJCTRA (dsp_fits_column){"OBJCTRA", EXTFITS_ELEMENT_STRING.typestr, EXTFITS_MEASURE_UNIT_DEGREE, "", "Target right ascension coordinate", (char*[]){""}} |
| Target right ascension coordinate.
|
|
#define | EXTFITS_KEYWORD_OBJCTDEC (dsp_fits_column){"OBJCTDEC", EXTFITS_ELEMENT_STRING.typestr, EXTFITS_MEASURE_UNIT_DEGREE, "", "Target declination coordinate", (char*[]){""}} |
| Target declination coordinate.
|
|
|
DLL_EXPORT void | dsp_fits_update_fits_key (fitsfile *fptr, int type, char *name, void *value, char *comment, int *status) |
| Create or update a new fits header key. More...
|
|
DLL_EXPORT long | dsp_fits_alloc_fits_rows (fitsfile *fptr, unsigned long num_rows) |
| Convert an RGB color dsp_t array into a dsp_stream_p array each element containing the single components. More...
|
|
DLL_EXPORT int | dsp_fits_fill_fits_col (fitsfile *fptr, char *name, unsigned char *buf, int typecode, long num_elements, unsigned long rown) |
| Fill a column at the given row position with the valued buffer. More...
|
|
DLL_EXPORT int | dsp_fits_append_fits_col (fitsfile *fptr, char *name, char *format) |
| Add a column to the binary table. More...
|
|
DLL_EXPORT void | dsp_fits_delete_fits_col (fitsfile *fptr, char *name) |
| Delete a column from the binary table. More...
|
|
DLL_EXPORT size_t | dsp_fits_get_element_size (int typecode) |
| Obtain the single element size in bytes. More...
|
|
DLL_EXPORT int | dsp_fits_read_typecode (char *typestr, int *typecode, long *width, long *repeat) |
| Decode a typecode format string. More...
|
|
DLL_EXPORT int | dsp_fits_get_value (fitsfile *fptr, char *column, long rown, void **retval) |
| Obtain the value of the specified field. More...
|
|
DLL_EXPORT int | dsp_fits_check_column (fitsfile *fptr, char *column, char **expected, long rown) |
| Check if the value of the specified field corresponds to a subset of values. More...
|
|
DLL_EXPORT fitsfile * | dsp_fits_create_fits (size_t *size, void **buf) |
| Create an open fits file pointer to be updated later. More...
|
|
DLL_EXPORT int | dsp_fits_add_table (fitsfile *fptr, dsp_fits_column *columns, int ncols, const char *tablename) |
| Add a binary table extension into a fits file. More...
|
|
DLL_EXPORT int | dsp_fits_close_fits (fitsfile *fptr) |
| Close a fits file pointer. More...
|
|