GRAVI Pipeline Reference Manual 1.9.2
Loading...
Searching...
No Matches
gravi_p2vm.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 * History
22 * 04/12/2018 add *gravi_data wave_param to gravi_create_p2vm
23 */
24#ifndef GRAVI_P2VM_H_
25#define GRAVI_P2VM_H_
26
27/*-----------------------------------------------------------------------------
28 Includes
29 -----------------------------------------------------------------------------*/
30
31#include <cpl.h>
32#include "gravi_data.h"
33
34/*-----------------------------------------------------------------------------
35 Public prototypes
36 -----------------------------------------------------------------------------*/
37
38gravi_data * gravi_create_p2vm (gravi_data * wave_cal_data, gravi_data *wave_param);
39cpl_table* gravi_create_p2vm_table (cpl_table * detector_table, int n_wave);
40cpl_error_code gravi_compute_p2vm (gravi_data * , gravi_data * , int ** , int ** ,
41 enum gravi_detector_type det_type);
42cpl_error_code gravi_p2vm_normalisation (gravi_data * , int ** , int ** );
43cpl_error_code gravi_p2vm_phase_correction (gravi_data * p2vm_map, gravi_data * p2vmreduced, int full_phase);
44cpl_error_code gravi_p2vm_transmission (gravi_data * p2vm_map, gravi_data * p2vmreduced);
45
46#endif /* GRAVI_P2VM_H_ */
typedefCPL_BEGIN_DECLS struct _gravi_data_ gravi_data
Definition: gravi_data.h:39
gravi_detector_type
Definition: gravi_pfits.h:170
cpl_error_code gravi_p2vm_phase_correction(gravi_data *p2vm_map, gravi_data *p2vmreduced, int full_phase)
Correct the phase of the P2VM from internal closure-phases.
Definition: gravi_p2vm.c:1267
cpl_error_code gravi_p2vm_normalisation(gravi_data *, int **, int **)
The given output FITS file contain a p2vm table with the values of the transmission,...
Definition: gravi_p2vm.c:880
cpl_error_code gravi_compute_p2vm(gravi_data *, gravi_data *, int **, int **, enum gravi_detector_type det_type)
The given output FITS file contain a p2vm table with the values of the transmission,...
Definition: gravi_p2vm.c:546
cpl_error_code gravi_p2vm_transmission(gravi_data *p2vm_map, gravi_data *p2vmreduced)
Compute the flux normalisation in the P2VM.
Definition: gravi_p2vm.c:1550
gravi_data * gravi_create_p2vm(gravi_data *wave_cal_data, gravi_data *wave_param)
Create a new P2VM map.
Definition: gravi_p2vm.c:413
cpl_table * gravi_create_p2vm_table(cpl_table *detector_table, int n_wave)
Create a new p2vm table.
Definition: gravi_p2vm.c:103