Tables
Functions | |
| GiTable * | giraffe_table_new (void) |
| Creates a new, empty Giraffe table. | |
| GiTable * | giraffe_table_create (cpl_table *table, cpl_propertylist *properties) |
| Creates a Giraffe table from a table and a property list. | |
| void | giraffe_table_delete (GiTable *self) |
| Destroys a Giraffe table. | |
| GiTable * | giraffe_table_duplicate (const GiTable *src) |
| Duplicate a Giraffe table. | |
| void | giraffe_table_clear (GiTable *self) |
| Clears a Giraffe table. | |
| cxint | giraffe_table_copy_matrix (GiTable *table, const cxchar *name, cpl_matrix *matrix) |
| Copies matrix elements into a table. | |
| cxint | giraffe_table_is_empty (GiTable *self) |
| Check whether a Giraffe table is empty. | |
| cpl_table * | giraffe_table_get (const GiTable *self) |
| Get the table data from a Giraffe table. | |
| cxint | giraffe_table_set (GiTable *self, cpl_table *table) |
| Sets the table data. | |
| cpl_propertylist * | giraffe_table_get_properties (const GiTable *self) |
| Gets the table properties. | |
| cxint | giraffe_table_set_properties (GiTable *self, cpl_propertylist *properties) |
| Attaches a property list to an table. | |
| cxint | giraffe_table_load (GiTable *self, const cxchar *filename, cxint position, const cxchar *id) |
| Reads a data set from a file into a Giraffe table. | |
| cxint | giraffe_table_save (GiTable *self, const cxchar *filename) |
| Write a Giraffe table to a file. | |
| cxint | giraffe_table_attach (GiTable *self, const cxchar *filename, cxint position, const cxchar *id) |
| Attach a Giraffe table to a file. | |
| cxint | giraffe_table_add_info (GiTable *table, const GiRecipeInfo *info, const cpl_frameset *set) |
| Add additional frame information to a table. | |
Detailed Description
TBDFunction Documentation
|
||||||||||||||||
|
Add additional frame information to a table. TBD Definition at line 778 of file gitable.c. References giraffe_add_frameset_info(), giraffe_add_recipe_info(), giraffe_table_get_properties(), and GiRecipeInfo::sequence. |
|
||||||||||||||||||||
|
Attach a Giraffe table to a file.
NULL this name is added to the table properties, overwriting an already set identifier. The data set position must be greater or equal to 1.
Definition at line 706 of file gitable.c. References giraffe_table_get(), and giraffe_table_get_properties(). |
|
|
Clears a Giraffe table.
|
|
||||||||||||||||
|
Copies matrix elements into a table.
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 266 of file gitable.c. References giraffe_table_get(). |
|
||||||||||||
|
Creates a Giraffe table from a table and a property list.
NULL.
Definition at line 122 of file gitable.c. References giraffe_table_delete(), and giraffe_table_new(). |
|
|
Destroys a Giraffe table.
Definition at line 161 of file gitable.c. Referenced by giraffe_calibrate_slit(), giraffe_fiberlist_attach(), giraffe_fiberlist_create(), giraffe_fiberlist_load(), giraffe_fibers_setup(), giraffe_slitgeometry_load(), giraffe_slitgeometry_save(), giraffe_table_create(), giraffe_transmission_compute(), giraffe_wavelength_calibration(), and giraffe_wcaldata_delete(). |
|
|
Duplicate a Giraffe table.
Definition at line 183 of file gitable.c. References giraffe_table_get(), and giraffe_table_get_properties(). Referenced by giraffe_calibrate_slit(), giraffe_fiberlist_attach(), giraffe_slitgeometry_save(), and giraffe_wavelength_calibration(). |
|
|
|
Gets the table properties.
NULL pointer if no properties are attached to self.
Definition at line 490 of file gitable.c. Referenced by giraffe_fiberlist_attach(), giraffe_fiberlist_save(), giraffe_frame_attach_table(), giraffe_frame_create_table(), giraffe_rebin_spectra(), giraffe_table_add_info(), giraffe_table_attach(), giraffe_table_duplicate(), giraffe_table_save(), giraffe_wcalsolution_create(), giraffe_wlresiduals_create(), and giraffe_wlsolution_create(). |
|
|
Check whether a Giraffe table is empty.
|
|
||||||||||||||||||||
|
Reads a data set from a file into a Giraffe table.
If id, the data set identifier, is not Definition at line 563 of file gitable.c. Referenced by giraffe_fiberlist_create(), giraffe_fiberlist_load(), and giraffe_slitgeometry_load(). |
|
|
Creates a new, empty Giraffe table.
Definition at line 92 of file gitable.c. Referenced by giraffe_fiberlist_create(), giraffe_fiberlist_load(), giraffe_fibers_setup(), giraffe_slitgeometry_load(), giraffe_table_create(), giraffe_wavelength_calibration(), and giraffe_wlsolution_create_table(). |
|
||||||||||||
|
Write a Giraffe table to a file.
Definition at line 637 of file gitable.c. References giraffe_table_get(), and giraffe_table_get_properties(). Referenced by giraffe_frame_create_table(). |
|
||||||||||||
|
Sets the table data.
Definition at line 457 of file gitable.c. References giraffe_table_get(). Referenced by giraffe_fibers_setup(), and giraffe_wlsolution_create_table(). |
|
||||||||||||
|
Attaches a property list to an table.
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 517 of file gitable.c. Referenced by giraffe_fiberlist_attach(), giraffe_fiberlist_save(), giraffe_wavelength_calibration(), and giraffe_wlsolution_create_table(). |
