GRAVI Pipeline Reference Manual 1.9.0
Loading...
Searching...
No Matches
gravi_metrology.h
Go to the documentation of this file.
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/*
22 * History :
23 * 12/11/2018 Add one gravi_Data* to gravi_metrology_reduce
24 */
25
26#ifndef METREDLIB_H
27#define METREDLIB_H
28
29/*-----------------------------------------------------------------------------
30 Includes
31 -----------------------------------------------------------------------------*/
32
33#include <stdio.h>
34#include <cpl.h>
35#include "gravi_data.h"
36
37/*-----------------------------------------------------------------------------
38 Public prototypes
39 -----------------------------------------------------------------------------*/
40
41cpl_error_code gravi_metrology_reduce (gravi_data *,
42 gravi_data *,
43 gravi_data *,
44 gravi_data * met_pos,
45 const cpl_parameterlist * parlist);
46
47cpl_table * gravi_metrology_create (cpl_table * metrology_table,
48 cpl_propertylist * header);
49
50cpl_error_code gravi_metrology_drs (cpl_table * metrology_table,
51 cpl_table * vismet_table,
52 cpl_propertylist * header,
53 const cpl_parameterlist * parlist);
54
55cpl_error_code gravi_metrology_tac (cpl_table * metrology_table,
56 cpl_table * vismet_table,
57 cpl_propertylist * header);
58
59cpl_table * gravi_metrology_compute_p2vm (cpl_table * metrology_table, double wave_met);
60
61#endif /* !METREDLIB_H */
typedefCPL_BEGIN_DECLS struct _gravi_data_ gravi_data
Definition: gravi_data.h:39
cpl_propertylist * header
Definition: gravi_old.c:2004
cpl_table * gravi_metrology_compute_p2vm(cpl_table *metrology_table, double wave_met)
Calibrate the P2VM of the metrology.
cpl_error_code gravi_metrology_reduce(gravi_data *, gravi_data *, gravi_data *, gravi_data *met_pos, const cpl_parameterlist *parlist)
Reduce the metrology.
cpl_table * gravi_metrology_create(cpl_table *metrology_table, cpl_propertylist *header)
Create the VIS_MET table.
cpl_error_code gravi_metrology_drs(cpl_table *metrology_table, cpl_table *vismet_table, cpl_propertylist *header, const cpl_parameterlist *parlist)
Fill the VIS_MET table with the DRS algorithm.
cpl_error_code gravi_metrology_tac(cpl_table *metrology_table, cpl_table *vismet_table, cpl_propertylist *header)
Compute the metrology signal from TAC algorithm.