Wavelength Solution
Functions | |
GiWlSolution * | giraffe_wlsolution_new (const cxchar *name, cxint orientation, cxint npixels, cxdouble pixelsize, GiGrating *grating) |
GiWlSolution * | giraffe_wlsolution_clone (const GiWlSolution *other) |
Create a new wavelength solution from another wavelength solution. | |
GiWlSolution * | giraffe_wlsolution_create (GiTable *solution, GiImage *spectra, GiGrating *grating) |
Create a new wavelength solution from a wavelength solution table. | |
void | giraffe_wlsolution_delete (GiWlSolution *self) |
const cxchar * | giraffe_wlsolution_name (const GiWlSolution *self) |
GiModel * | giraffe_wlsolution_model (const GiWlSolution *self) |
cxint | giraffe_wlsolution_set_subslits (GiWlSolution *self, cxbool flag) |
cxbool | giraffe_wlsolution_get_subslits (const GiWlSolution *self) |
cxint | giraffe_wlsolution_set_residuals (GiWlSolution *self, const GiWlResiduals *residuals) |
GiWlResiduals * | giraffe_wlsolution_get_residuals (const GiWlSolution *self) |
void | giraffe_wlsolution_reset_residuals (GiWlSolution *self) |
cxdouble | giraffe_wlsolution_compute_pixel (const GiWlSolution *self, cxdouble lambda, cxdouble x, cxdouble y, cxint *status) |
cxdouble | giraffe_wlsolution_compute_residual (const GiWlSolution *self, cxdouble x, cxdouble y) |
GiTable * | giraffe_wlsolution_create_table (const GiWlSolution *solution) |
Detailed Description
TBDFunction Documentation
GiWlSolution* giraffe_wlsolution_clone | ( | const GiWlSolution * | other | ) |
Create a new wavelength solution from another wavelength solution.
- Parameters:
-
other The wavelength solution to be copied.
- Returns:
- The function returns the newly created wavelength solution, or
NULL
if an error occurred.
Definition at line 176 of file giwlsolution.c.
References giraffe_model_clone(), and giraffe_wlresiduals_clone().
GiWlSolution* giraffe_wlsolution_create | ( | GiTable * | solution, | |
GiImage * | spectra, | |||
GiGrating * | grating | |||
) |
Create a new wavelength solution from a wavelength solution table.
- Parameters:
-
spectra Reference spectrum. solution Wavelength solution table. grating Grating setup information.
- Returns:
- The function returns the newly created wavelength solution, or
NULL
if an error occurred.
Definition at line 214 of file giwlsolution.c.
References giraffe_error_pop(), giraffe_error_push(), giraffe_image_get(), giraffe_image_get_properties(), giraffe_model_set_parameter(), giraffe_table_get(), giraffe_table_get_properties(), giraffe_wlresiduals_create(), giraffe_wlsolution_delete(), GiGrating::order, and GiGrating::space.
Referenced by giraffe_calibrate_wavelength().