|
TBD
◆ giraffe_flat_apply()
cxint giraffe_flat_apply |
( |
GiExtraction * |
extraction, |
|
|
const GiTable * |
fibers, |
|
|
const GiImage * |
flat, |
|
|
const GiImage * |
errors, |
|
|
GiFlatConfig * |
config |
|
) |
| |
Apply the flat field correction to the given extracted spectra.
- Parameters
-
extraction | Extracted spectra to be corrected. |
fibers | Fiber setup information. |
flat | Image of extracted flat field spectra. |
errors | Image of extracted flat field spectra errors. |
config | Flat field correction setup information. |
- Returns
- The function returns 0 on success and a non-zero value otherwise.
TBD
Definition at line 238 of file giflat.c.
◆ giraffe_flat_config_add()
void giraffe_flat_config_add |
( |
cpl_parameterlist * |
list | ) |
|
Adds parameters for the flat field correction.
- Parameters
-
list | Parameter list to which parameters are added. |
- Returns
- Nothing.
TBD
Definition at line 376 of file giflat.c.
◆ giraffe_flat_config_create()
GiFlatConfig* giraffe_flat_config_create |
( |
cpl_parameterlist * |
list | ) |
|
Creates a setup structure for the flat field correction.
- Parameters
-
list | Parameter list from which the setup informations is read. |
- Returns
- A newly allocated and initialized setup structure if no errors occurred, or
NULL otherwise.
TBD
Definition at line 302 of file giflat.c.
◆ giraffe_flat_config_destroy()
void giraffe_flat_config_destroy |
( |
GiFlatConfig * |
config | ) |
|
Destroys a flat field setup structure.
- Parameters
-
config | The setup structure to destroy. |
- Returns
- Nothing.
The function deallocates the memory used by the setup structure config.
TBD
Definition at line 353 of file giflat.c.
|