GIRAFFE Pipeline Reference Manual

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)
GiModelgiraffe_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

TBD

Function 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.
TBD

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.
TBD

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().


This file is part of the GIRAFFE Pipeline Reference Manual 2.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Mar 7 14:11:03 2013 by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2004