GRAVI Pipeline Reference Manual  1.2.3
gravi_wave.h
1 /* $Id: gravi_utils.h,v 1.12 2011/05/31 06:10:40 nazouaoui Exp $
2  *
3  * This file is part of the GRAVI Pipeline
4  * Copyright (C) 2002,2003 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 #ifndef GRAVI_WAVE_H_
22 #define GRAVI_WAVE_H_
23 
24 /*-----------------------------------------------------------------------------
25  Includes
26  -----------------------------------------------------------------------------*/
27 
28 #include <cpl.h>
29 #include "gravi_data.h"
30 
31 /*-----------------------------------------------------------------------------
32  Public prototypes
33  -----------------------------------------------------------------------------*/
34 
35 cpl_table * gravi_compute_argon_wave (cpl_table * spectrum_table);
36 
37 cpl_error_code gravi_wave_compute_opds (gravi_data * spectrum_data,
38  cpl_table * met_table,
39  enum gravi_detector_type det_type);
40 
41 cpl_error_code gravi_compute_wave (gravi_data * wave_map,
42  gravi_data * spectrum_data,
43  int type_data, const cpl_parameterlist * parlist);
44 
45 cpl_error_code gravi_wave_qc (gravi_data * wave_map,
46  gravi_data * profile_map);
47 
48 cpl_error_code gravi_wave_correct_color (gravi_data * vis_data);
49 
50 #endif /* GRAVI_WAVE_H_ */
cpl_error_code gravi_wave_qc(gravi_data *wave_map, gravi_data *profile_map)
Compute the QC parameters of the WAVE product.
Definition: gravi_wave.c:1891
cpl_error_code gravi_wave_correct_color(gravi_data *vis_data)
Create a OI_WAVELENGTH_CORR table with color corrected wavelength.
Definition: gravi_wave.c:1733
cpl_error_code gravi_wave_compute_opds(gravi_data *spectrum_data, cpl_table *met_table, enum gravi_detector_type det_type)
Recover the OPD modulation from a spectrum_data and vismet_table.
Definition: gravi_wave.c:822
cpl_table * gravi_compute_argon_wave(cpl_table *spectrum_table)
Compute a WAVE calibration from the ARGON data (SC only)
Definition: gravi_wave.c:149
cpl_error_code gravi_compute_wave(gravi_data *wave_map, gravi_data *spectrum_data, int type_data, const cpl_parameterlist *parlist)
Create the WAVE calibration map.
Definition: gravi_wave.c:2038