![]() |
GIRAFFE Pipeline Reference Manual |
|||
|
|
Tables
Detailed DescriptionTBD Function Documentation
Add additional frame information to a table. TBD Definition at line 844 of file gitable.c. References giraffe_add_frameset_info(), giraffe_add_recipe_info(), and giraffe_table_get_properties().
Attach a Giraffe table to a file.
The Giraffe table self is attached to the file filename as data set number position. If the data set identifier id is not Definition at line 757 of file gitable.c. References giraffe_table_get(), and giraffe_table_get_properties().
Copies matrix elements into a table.
The function copies the matrix elements of the source matrix matrix into consecutive columns of the table table starting at the column indicated by name. The matrix elements are transferred to the table in the following way. The columns of matrix will be the columns of the table and their rows will be the elements of the table column. The first row of the table will contain the elements of the first row of the matrix and so on. In order to succeed, the target table's number of rows must match the number of matrix rows, and the number of table columns must not be less than the number of matrix columns (depending on the provided start column). If name is Definition at line 267 of file gitable.c. References giraffe_table_get(). Referenced by giraffe_compute_fiber_profiles(), and giraffe_localize_spectra().
Creates a Giraffe table from a table and a property list.
The function creates a new Giraffe table from an existing CPL table table. The source table is copied. Optionally a property list may be specified, which is attached (copied) to the newly created table if properties is not Definition at line 123 of file gitable.c. References giraffe_table_delete(), and giraffe_table_new(). Referenced by giraffe_compute_fiber_profiles(), and giraffe_localize_spectra().
Destroys a Giraffe table.
The function deallocates the memory used by self. Definition at line 162 of file gitable.c. Referenced by giraffe_calibrate_slit(), giraffe_calibrate_wavelength(), giraffe_fiberlist_attach(), giraffe_fiberlist_create(), giraffe_fiberlist_load(), giraffe_fibers_setup(), giraffe_slitgeometry_load(), giraffe_table_create(), and giraffe_transmission_attach().
Duplicate a Giraffe table.
The function duplicates an existing table Definition at line 184 of file gitable.c. References giraffe_table_get(), and giraffe_table_get_properties(). Referenced by giraffe_calibrate_slit(), and giraffe_fiberlist_attach().
Get the table data from a Giraffe table.
The function returns a pointer to self's table data. The pointer might be a Definition at line 441 of file gitable.c. Referenced by giraffe_add_rvcorrection(), giraffe_calibrate_flux(), giraffe_calibrate_slit(), giraffe_calibrate_wavelength(), giraffe_compute_fiber_profiles(), giraffe_compute_offsets(), giraffe_create_spectrum_selection(), giraffe_extract_spectra(), giraffe_fiberlist_associate(), giraffe_fiberlist_attach(), giraffe_fiberlist_clear_index(), giraffe_fiberlist_compare(), giraffe_fiberlist_create(), giraffe_fiberlist_save(), giraffe_fov_build(), giraffe_frame_attach_table(), giraffe_grating_create(), giraffe_grating_setup(), giraffe_localize_spectra(), giraffe_rebin_spectra(), giraffe_slitgeometry_create(), giraffe_slitgeometry_load(), giraffe_table_attach(), giraffe_table_copy_matrix(), giraffe_table_duplicate(), giraffe_table_save(), giraffe_table_set(), giraffe_wcalsolution_create(), and giraffe_wlsolution_create().
Gets the table properties.
The function returns a pointer to properties self contains. The returned pointer might be a Definition at line 497 of file gitable.c. Referenced by giraffe_calibrate_slit(), giraffe_calibrate_wavelength(), giraffe_compute_fiber_profiles(), giraffe_fiberlist_attach(), giraffe_fiberlist_save(), giraffe_frame_attach_table(), giraffe_frame_create_table(), giraffe_localize_spectra(), giraffe_rebin_spectra(), giraffe_table_add_info(), giraffe_table_attach(), giraffe_table_duplicate(), giraffe_table_save(), giraffe_wcalsolution_create(), and giraffe_wlsolution_create().
Check whether a Giraffe table is empty.
The function checks whether self contains any table data or properties. A table is empty if it contains no data and no properties.
Reads a data set from a file into a Giraffe table.
The function reads the data set number position from the file filename, allocates a new Giraffe table and fills it with the data set. Data sets are counted from zero. If id, the data set identifier, is not Definition at line 570 of file gitable.c. Referenced by giraffe_fiberlist_create(), giraffe_fiberlist_load(), and giraffe_slitgeometry_load().
Creates a new, empty Giraffe table.
The function allocates memory for a new table and initializes it to be empty. Definition at line 93 of file gitable.c. Referenced by giraffe_calibrate_flux(), giraffe_calibrate_wavelength(), giraffe_fiberlist_create(), giraffe_fiberlist_load(), giraffe_fibers_select(), giraffe_fibers_setup(), giraffe_slitgeometry_load(), and giraffe_table_create().
Write a Giraffe table to a file.
The Giraffe table self is written to the file filename. Currently a Giraffe table can only be written as a FITS table with the table data in the primary data unit. The image properties are written/converted to the primary FITS header. Definition at line 644 of file gitable.c. References giraffe_table_get(), and giraffe_table_get_properties(). Referenced by giraffe_frame_create_table().
Sets the table data.
The function copies the table data of table into self. Definition at line 464 of file gitable.c. References giraffe_table_get(). Referenced by giraffe_calibrate_flux(), giraffe_calibrate_slit(), giraffe_fiberlist_associate(), giraffe_fibers_select(), giraffe_fibers_setup(), and giraffe_slitgeometry_load().
Attaches a property list to an table.
The function stores a copy of the property list properties in the table container self. If there is already a property list stored in the container self, it is replaced with the reference properties. If the properties cannot be copied, the function returns an error. Definition at line 524 of file gitable.c. Referenced by giraffe_calibrate_flux(), giraffe_calibrate_slit(), giraffe_fiberlist_attach(), and giraffe_fiberlist_save(). |