GRAVI Pipeline Reference Manual 1.9.4
Loading...
Searching...
No Matches
gravi_tf.h
Go to the documentation of this file.
1/* $Id: gravi_tf.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_TF_H_
22#define GRAVI_TF_H_
23
24/*-----------------------------------------------------------------------------
25 Includes
26 -----------------------------------------------------------------------------*/
27
28#include <cpl.h>
29
30/*-----------------------------------------------------------------------------
31 Public prototypes
32 -----------------------------------------------------------------------------*/
33
35
36gravi_data * gravi_calibrate_vis (gravi_data *, gravi_data ** , int, gravi_data *, gravi_data *, const cpl_parameterlist *);
37
39
40cpl_error_code gravi_compute_tf_qc (gravi_data * oi_vis, gravi_data * diamcat_data);
41
42cpl_error_code gravi_apply_tf_amp (gravi_data * science,
43 gravi_data * science_tf,
44 gravi_data ** used_tf_data,
45 int num_tf_data,
46 const char * extName,
47 const char * insName,
48 const char * ampName,
49 const char * ampErrName,
50 int nbase, double delta_t);
51
52cpl_error_code gravi_apply_tf_phi( gravi_data * science,
53 gravi_data * science_tf,
54 gravi_data ** used_tf_data,
55 int num_tf_data,
56 const char * extName,
57 const char * insName,
58 const char * phiName,
59 const char * phiErrName,
60 int nbase, double delta_t);
61
62#endif /* GRAVI_TF_H_ */
typedefCPL_BEGIN_DECLS struct _gravi_data_ gravi_data
Definition: gravi_data.h:39
gravi_data * gravi_calibrate_vis(gravi_data *, gravi_data **, int, gravi_data *, gravi_data *, const cpl_parameterlist *)
Computes the calibrated visibility from science a single data and several previously evaluated instru...
Definition: gravi_tf.c:521
gravi_data * gravi_compute_zp(gravi_data **, int)
Compute the ZP data.
Definition: gravi_tf.c:1070
cpl_error_code gravi_apply_tf_amp(gravi_data *science, gravi_data *science_tf, gravi_data **used_tf_data, int num_tf_data, const char *extName, const char *insName, const char *ampName, const char *ampErrName, int nbase, double delta_t)
Interpolate the TF at the time of the science observation for an amplitude quantity.
Definition: gravi_tf.c:248
cpl_error_code gravi_compute_tf_qc(gravi_data *oi_vis, gravi_data *diamcat_data)
Fill QC parameters related to transfer function.
Definition: gravi_tf.c:1035
cpl_error_code gravi_apply_tf_phi(gravi_data *science, gravi_data *science_tf, gravi_data **used_tf_data, int num_tf_data, const char *extName, const char *insName, const char *phiName, const char *phiErrName, int nbase, double delta_t)
Interpolate the TF at the time of the science observation for a phase quantity (in deg).
Definition: gravi_tf.c:385
gravi_data * gravi_compute_tf(gravi_data *, gravi_data *)
This function evaluates the transfer function from the observation of a reference star whose diameter...
Definition: gravi_tf.c:786