Functions | |
int | qfits_is_table (const char *filename, int xtnum) |
Identify a file as containing a FITS table in extension. | |
qfits_header * | qfits_table_prim_header_default (void) |
Generate a default primary header to store tables. | |
qfits_header * | qfits_table_ext_header_default (const qfits_table *t) |
Generate a default extension header to store tables. | |
qfits_table * | qfits_table_new (const char *filename, int table_type, int table_width, int nb_cols, int nb_raws) |
Table object constructor. | |
int | qfits_col_fill (qfits_col *qc, int atom_nb, int atom_dec_nb, int atom_size, tfits_type atom_type, const char *label, const char *unit, const char *nullval, const char *disp, int zero_present, float zero, int scale_present, float scale, int offset_beg) |
Fill a column object with some provided informations. | |
qfits_table * | qfits_table_open (const char *filename, int xtnum) |
Read a FITS extension. | |
void | qfits_table_close (qfits_table *t) |
Free a FITS table and associated pointers. | |
unsigned char * | qfits_query_column (const qfits_table *th, int colnum, const int *selection) |
Extract data from a column in a FITS table. | |
unsigned char * | qfits_query_column_seq (const qfits_table *th, int colnum, int start_ind, int nb_rows) |
Extract consequtive values from a column in a FITS table. | |
void * | qfits_query_column_data (const qfits_table *th, int colnum, const int *selection, const void *null_value) |
Extract binary data from a column in a FITS table. | |
void * | qfits_query_column_seq_data (const qfits_table *th, int colnum, int start_ind, int nb_rows, const void *null_value) |
Extract binary data from a column in a FITS table. | |
int * | qfits_query_column_nulls (const qfits_table *th, int colnum, const int *selection, int *nb_vals, int *nb_nulls) |
Detect NULL values in a column. | |
int | qfits_save_table_hdrdump (const void **array, const qfits_table *table, const qfits_header *fh) |
Save a table to a FITS file with a given FITS header. | |
int | qfits_table_append_xtension (FILE *outfile, const qfits_table *t, const void **data) |
Appends a std extension header + data to a FITS table file. | |
int | qfits_table_append_xtension_hdr (FILE *outfile, const qfits_table *t, const void **data, const qfits_header *hdr) |
Appends a specified extension header + data to a FITS table file. | |
char * | qfits_table_field_to_string (const qfits_table *table, int col_id, int row_id, int use_zero_scale) |
given a col and a row, find out the string to write for display |
|
Fill a column object with some provided informations.
|
|
Identify a file as containing a FITS table in extension.
|
|
Extract data from a column in a FITS table.
Extract a column from a FITS table and return the data as a bytes array. The returned array type and size are determined by the column object in the qfits_table and by the selection parameter. Returned array size in bytes is: nbselected * col->natoms * col->atom_size Numeric types are correctly understood and byte-swapped if needed, to be converted to the local machine type. NULL values have to be handled by the caller. The returned object must be deallocated with qfits_free(). |
|
Extract binary data from a column in a FITS table.
Returned array size in bytes is: nb_selected * col->atom_nb * col->atom_size NULL values are recognized and replaced by the specified value. The returned object must be deallocated with qfits_free(). |
|
Detect NULL values in a column.
|
|
Extract consequtive values from a column in a FITS table.
|
|
Extract binary data from a column in a FITS table.
|
|
Save a table to a FITS file with a given FITS header.
|
|
Appends a std extension header + data to a FITS table file.
|
|
Appends a specified extension header + data to a FITS table file.
|
|
Free a FITS table and associated pointers.
|
|
Generate a default extension header to store tables.
|
|
given a col and a row, find out the string to write for display
|
|
Table object constructor.
|
|
Read a FITS extension.
|
|
Generate a default primary header to store tables.
|