GRAVI Pipeline Reference Manual 1.9.2
Loading...
Searching...
No Matches
Functions
gravi_p2vm.c File Reference
#include <cpl.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <complex.h>
#include "gravi_data.h"
#include "gravi_dfs.h"
#include "gravi_pfits.h"
#include "gravi_cpl.h"
#include "gravi_utils.h"
#include "gravi_ellipse.h"
#include "gravi_p2vm.h"

Go to the source code of this file.

Functions

cpl_table * gravi_create_p2vm_table (cpl_table *detector_table, int nwave)
 Create a new p2vm table.
 
cpl_table * gravi_create_oiwave_table_sc (cpl_table *wave_table, cpl_propertylist *header, gravi_data *wave_param)
 Create a new oiwave table for SC.
 
cpl_table * gravi_create_oiwave_table_ft (cpl_table *wave_table, cpl_table *detector_table, int pol)
 Create a new oiwave table for FT.
 
gravi_datagravi_create_p2vm (gravi_data *wave_map, gravi_data *wave_param)
 Create a new P2VM map.
 
cpl_error_code gravi_compute_p2vm (gravi_data *p2vm_map, gravi_data *preproc_data, int **valid_trans, int **valid_pair, enum gravi_detector_type det_type)
 The given output FITS file contain a p2vm table with the values of the transmission, phase and coherence extract using the p2vm matrix.
 
cpl_error_code gravi_p2vm_normalisation (gravi_data *p2vm_map, int **valid_trans, int **valid_pair)
 The given output FITS file contain a p2vm table with the values of the transmission, phase and coherence extract using the p2vm matrix so this function will normalise the p2vm map.
 
cpl_error_code gravi_p2vm_phase_correction (gravi_data *p2vm_map, gravi_data *p2vmred_data, int full_phase)
 Correct the phase of the P2VM from internal closure-phases.
 
cpl_error_code gravi_p2vm_transmission (gravi_data *p2vm_map, gravi_data *p2vmred_data)
 Compute the flux normalisation in the P2VM.