42 const cpl_parameterlist *,
43 cpl_size * current_frame);
49 cpl_error_code
gravi_flat_flux (gravi_data * vis_calib, gravi_data * p2vm_data);
55 cpl_size nsamp_vis, cpl_size nsamp_flx,
62 const cpl_parameterlist * parlist);
65 cpl_error_code
gravi_vis_erase_obs (cpl_table * oi_table, cpl_array *flag_array, cpl_size ntel);
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_compute_vis_qc(gravi_data *vis_data)
The function compute the QC parameters for a VIS (averaged) data.
gravi_data * gravi_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...
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_mjd_to_time(gravi_data *vis_data)
Recompute the TIME column of all OIFITS extension from the MJD column, following the OIFITS standard ...
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_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_average_vis(gravi_data *oi_merged)
Coadd the observations together.
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_normalize_sc_to_ft(gravi_data *visdata)
Align the SC visibilities on the FT visibilities.
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_force_uncertainties(gravi_data *oi_data, const cpl_parameterlist *parlist)
Force uncertainties.
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.