GRAVI Pipeline Reference Manual 1.7.2
Loading...
Searching...
No Matches
Functions
gravi_vis.h File Reference
#include <cpl.h>

Go to the source code of this file.

Functions

gravi_datagravi_compute_vis (gravi_data *p2vmred_data, const cpl_parameterlist *, cpl_size *current_frame)
 The function average the individual frames of a P2VMREDUCED file into a final, single observation per base and per tel.
 
cpl_error_code gravi_compute_vis_qc (gravi_data *vis_data, cpl_frameset *frameset)
 The function compute the QC parameters for a VIS (averaged) data.
 
cpl_error_code gravi_vis_mjd_to_time (gravi_data *vis_data)
 Recompute the TIME column of all OIFITS extension from the MJD column, following the OIFITS standard (number of second since the DATE-OBS at 00:00).
 
cpl_error_code gravi_flat_flux (gravi_data *vis_calib, gravi_data *p2vm_data)
 Divide the OI_FLUX by OI_FLUX from the P2VM (no checks, no time distance...)
 
cpl_error_code gravi_normalize_sc_to_ft (gravi_data *visdata)
 Align the SC visibilities on the FT visibilities.
 
cpl_error_code gravi_average_vis (gravi_data *oi_merged)
 Coadd the observations together.
 
cpl_error_code gravi_vis_resamp (gravi_data *oi_merged, cpl_size nsamp)
 Re-bin the SC table by nsamp consecutive spectral bins.
 
cpl_error_code gravi_vis_smooth (gravi_data *oi_data, cpl_size nsamp_vis, cpl_size nsamp_flx, cpl_size maxdeg)
 Smooth the SC table by nsamp consecutive spectral bins.
 
cpl_error_code gravi_vis_flag_threshold (cpl_table *oi_table, const char *data, const char *flag, double value)
 Flag samples of OIFITS table based on absolute threshold.
 
cpl_error_code gravi_vis_flag_relative_threshold (cpl_table *oi_table, const char *err, const char *data, const char *flag, double value)
 Flag samples of OIFITS table based on relative threshold.
 
cpl_error_code gravi_vis_flag_lower (cpl_table *oi_table, const char *data, const char *flag, double value)
 Flag samples of OIFITS table based on absolute threshold.
 
cpl_error_code gravi_force_uncertainties (gravi_data *oi_data, const cpl_parameterlist *parlist)
 Force uncertainties.
 
cpl_error_code gravi_vis_copy_fluxdata (gravi_data *oi_data, int delete_flux)
 Duplicate the column FLUX into FLUXDATA, for OIFITS2 compliance.
 
cpl_error_code gravi_vis_erase_obs (cpl_table *oi_table, cpl_array *flag_array, cpl_size ntel)
 Erase observation from an OIFITS table.
 
cpl_error_code gravi_vis_force_time (gravi_data *oi_data)
 Force all data in OI_TABLE to have the same TIME and MJD.
 
cpl_error_code gravi_data_get_minmax_uvcoord (const cpl_table *oi_vis2, double *min_uvcoord, double *max_uvcoord)
 Compute the minimum and maximum values of sqrt(ucoord**2 + vcoord**2)