42 const cpl_parameterlist *,
43 cpl_size * current_frame);
46 cpl_frameset * frameset,
47 cpl_propertylist ** frame_qcs,
58 cpl_size nsamp_vis, cpl_size nsamp_flx,
63cpl_error_code
gravi_vis_flag_lower (cpl_table * oi_table,
const char * data,
const char *flag,
double value);
66 const cpl_parameterlist * parlist);
74 double * max_uvcoord);
typedefCPL_BEGIN_DECLS struct _gravi_data_ gravi_data
cpl_error_code gravi_normalize_sc_to_ft(gravi_data *visdata)
Align the SC visibilities on the FT visibilities.
cpl_error_code gravi_force_uncertainties(gravi_data *oi_data, const cpl_parameterlist *parlist)
Force uncertainties.
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_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_force_time(gravi_data *oi_data)
Force all data in OI_TABLE to have the same TIME and MJD.
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_copy_fluxdata(gravi_data *oi_data, int delete_flux)
Duplicate the column FLUX into FLUXDATA, for OIFITS2 compliance.
cpl_error_code gravi_compute_vis_qc(gravi_data *vis_data, cpl_frameset *frameset, cpl_propertylist **frame_qcs, cpl_size nb_frame)
Compute the QC parameters for a VIS (averaged) data.
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_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)
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_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_average_vis(gravi_data *oi_merged)
Coadd the observations together.
cpl_error_code gravi_vis_erase_obs(cpl_table *oi_table, cpl_array *flag_array, cpl_size ntel)
Erase observation from an OIFITS table.