GRAVI Pipeline Reference Manual  1.2.3
gravi_signal.h
1 /* $Id: gravi_vis.h,v 1.12 2014/11/12 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_SIGNAL_H_
22 #define GRAVI_SIGNAL_H_
23 
24 /*-----------------------------------------------------------------------------
25  Includes
26  -----------------------------------------------------------------------------*/
27 
28 #include <cpl.h>
29 
30 /*-----------------------------------------------------------------------------
31  Public prototypes
32  -----------------------------------------------------------------------------*/
33 
34 cpl_error_code gravi_signal_create_sync (cpl_table * vis_SC, int nbase_sc, double dit_sc,
35  cpl_table * vis_FT, int nbase_ft,
36  const char * name);
37 
38 cpl_error_code gravi_compute_snr (gravi_data * reduce_data,
39  const cpl_parameterlist * parlist);
40 
41 cpl_error_code gravi_compute_signals (gravi_data * reduce_data,
42  gravi_data * disp_data,
43  const cpl_parameterlist * parlist);
44 
45 cpl_error_code gravi_compute_rejection (gravi_data * reduce_data,
46  const cpl_parameterlist * parlist);
47 
48 cpl_error_code gravi_flux_create_fddllin_sc (cpl_table * flux_SC,
49  cpl_table * disp_table);
50 
51 cpl_error_code gravi_vis_create_met_ft (cpl_table * vis_FT,
52  cpl_table * vis_MET);
53 
54 cpl_error_code gravi_vis_create_opdsc_ft (cpl_table * vis_FT,
55  cpl_table * vis_SC,
56  double dit_sc);
57 
58 #endif /* GRAVI_SIGNAL_H_ */
cpl_error_code gravi_vis_create_opdsc_ft(cpl_table *vis_FT, cpl_table *vis_SC, double dit_sc)
Compute the resampled SC signal for each FT DIT per base.
cpl_error_code gravi_compute_snr(gravi_data *reduce_data, const cpl_parameterlist *parlist)
Compute real-time SNR and Group-Delay of the observation.
Definition: gravi_signal.c:511
cpl_error_code gravi_compute_signals(gravi_data *reduce_data, gravi_data *disp_data, const cpl_parameterlist *parlist)
Create intermediate signal in the P2VMREDUCED file.
cpl_error_code gravi_compute_rejection(gravi_data *reduce_data, const cpl_parameterlist *parlist)
Create rejection flags P2VMREDUCED file.
cpl_error_code gravi_flux_create_fddllin_sc(cpl_table *flux_SC, cpl_table *disp_table)
Compute the (FDDL_SC + FDDL_FT)/2 position in [m].
cpl_error_code gravi_vis_create_met_ft(cpl_table *vis_FT, cpl_table *vis_MET)
Compute the resampled MET signal for each FT DIT per base.
cpl_error_code gravi_signal_create_sync(cpl_table *vis_SC, int nbase_sc, double dit_sc, cpl_table *vis_FT, int nbase_ft, const char *name)
Compute synchronisation indices between OIFITS tables.
Definition: gravi_signal.c:743