Giwavecalib
Functions | |
GiWcalSolution * | giraffe_wcalsolution_new (void) |
Create a new GiWcalSolution. | |
void | giraffe_wcalsolution_delete (GiWcalSolution *ws) |
Destroy an GiWcalSolution. | |
void | giraffe_wcalsolution_dump (GiWcalSolution *ws) |
Dump the the information contained in a GiWcalSolution to output. | |
GiWcalSolution * | giraffe_wcalsolution_create (GiTable *wavesolution) |
Create a wavecalibration results structure based on a GiTable read from disk. |
Function Documentation
GiWcalSolution* giraffe_wcalsolution_create | ( | GiTable * | wavesolution | ) |
Create a wavecalibration results structure based on a GiTable read from disk.
- Parameters:
-
wavesolution GiTable containing wavecalibration solution
- Returns:
- Pointer to new GiWcalSolution or NULL if an error occured
- Description:
- Creates a GiWcalSolution structure filled with the coefficients of the wavecalibration solution which are stored in the GiTable wavesolution
Definition at line 172 of file giwavecalib_types.c.
References giraffe_slitgeometry_delete(), giraffe_slitgeometry_new(), giraffe_slitgeometry_resize(), giraffe_slitgeometry_set(), giraffe_table_get(), and giraffe_table_get_properties().
void giraffe_wcalsolution_delete | ( | GiWcalSolution * | ws | ) |
Destroy an GiWcalSolution.
- Parameters:
-
ws GiWcalSolution to destroy
- Description:
- Destroys an GiWcalSolution and frees all associated memory
Definition at line 84 of file giwavecalib_types.c.
References giraffe_slitgeometry_delete().
void giraffe_wcalsolution_dump | ( | GiWcalSolution * | ws | ) |
Dump the the information contained in a GiWcalSolution to output.
- Parameters:
-
ws GiWcalSolution to dump
- Description:
- Dump the information contained in a GiWcalSolution ws using the CPL messaging subsystem.
Definition at line 109 of file giwavecalib_types.c.
References giraffe_matrix_dump(), giraffe_slitgeometry_get(), and giraffe_slitgeometry_size().
GiWcalSolution* giraffe_wcalsolution_new | ( | void | ) |
Create a new GiWcalSolution.
- Returns:
- Pointer to newly created GiWcalSolution or NULL if an error occured
- Description :
- Creates a new GiWcalSolution
Definition at line 57 of file giwavecalib_types.c.