|
GRAVI Pipeline Reference Manual 1.9.0
|
#include <cpl.h>#include <stdio.h>#include <string.h>#include <time.h>#include "gravi_data.h"#include "gravi_pfits.h"#include "gravi_dfs.h"#include "gravi_utils.h"#include "gravi_calib.h"Go to the source code of this file.
Macros | |
| #define | N_EPOCH 3 |
Functions | |
| static int | gravity_pcacal_create (cpl_plugin *plugin) |
| Setup the recipe options. | |
| static int | gravity_pcacal_exec (cpl_plugin *plugin) |
| Execute the plugin instance given by the interface. | |
| static int | gravity_pcacal_destroy (cpl_plugin *plugin) |
| Destroy what has been created by the 'create' function. | |
| static int | gravity_pcacal (cpl_frameset *frameset, const cpl_parameterlist *parlist) |
| Compute the PCA model from the provided calibration data. | |
| int | cpl_plugin_get_info (cpl_pluginlist *list) |
| Build the list of available plugins, for this module. | |
| static cpl_boolean | gravi_test_tracking_ratio (const cpl_propertylist *hdr, int min_ratio) |
| Test whether tracking ratio for all baselines exceeds a limit. | |
Variables | |
| static char | gravity_pcacal_short [] = "Generate static calibration files for flattening phase visibility data using the PCA method." |
| static char | gravity_pcacal_description [] |
| static double | TIME_MJD_EPOCH_START [N_EPOCH] |
| static cpl_size | MIN_CALIB_FRAMES = 20 |
| #define N_EPOCH 3 |
Definition at line 65 of file gravity_pcacal.c.
| int cpl_plugin_get_info | ( | cpl_pluginlist * | list | ) |
Build the list of available plugins, for this module.
| list | the plugin list |
Create the recipe instance and make it available to the application using the interface.
Definition at line 90 of file gravity_pcacal.c.
References gravi_get_license(), gravity_pcacal_create(), gravity_pcacal_description, gravity_pcacal_destroy(), gravity_pcacal_exec(), and gravity_pcacal_short.
|
static |
Test whether tracking ratio for all baselines exceeds a limit.
| hdr | Header to extract ratios from. |
| min_ratio | The threshold tracking ratio for acceptance. |
Definition at line 277 of file gravity_pcacal.c.
References GRAVI_BASE_NAME.
Referenced by gravity_pcacal().
|
static |
Compute the PCA model from the provided calibration data.
| frameset | the frames list |
| parlist | the parameters list |
Definition at line 308 of file gravity_pcacal.c.
References cpl_msg_info(), CPLCHECK_CLEAN, FREE, FREELOOP, gravi_compute_pca(), gravi_convert_to_timestamp(), gravi_data_delete(), gravi_data_get_header, gravi_data_get_oi_vis, gravi_data_get_oi_wave_plist, gravi_data_get_plist(), gravi_data_get_table(), gravi_data_load_frame(), gravi_data_save_new(), gravi_dfs_set_groups(), gravi_frameset_extract_vis_calib(), gravi_msg_function_exit, gravi_msg_function_start, GRAVI_PCA_EXT, GRAVI_PCA_RESID_EXT, gravi_pfits_get_pola_mode(), gravi_pfits_get_pola_num(), gravi_pfits_get_spec_res(), GRAVI_PHASE_PCA, GRAVI_SC, gravi_test_tracking_ratio(), gravity_print_banner(), MIN_CALIB_FRAMES, N_EPOCH, and TIME_MJD_EPOCH_START.
Referenced by gravity_pcacal_exec().
|
static |
Setup the recipe options.
| plugin | the plugin |
Defining the command-line/configuration parameters for the recipe.
Definition at line 132 of file gravity_pcacal.c.
References gravi_parameter_add_pcacalib(), and gravi_parameter_add_static_name().
Referenced by cpl_plugin_get_info().
|
static |
Destroy what has been created by the 'create' function.
| plugin | the plugin |
Definition at line 244 of file gravity_pcacal.c.
Referenced by cpl_plugin_get_info().
|
static |
Execute the plugin instance given by the interface.
| plugin | the plugin |
Definition at line 182 of file gravity_pcacal.c.
References gravity_pcacal().
Referenced by cpl_plugin_get_info().
|
static |
Definition at line 52 of file gravity_pcacal.c.
Referenced by cpl_plugin_get_info().
|
static |
Definition at line 51 of file gravity_pcacal.c.
Referenced by cpl_plugin_get_info().
|
static |
Definition at line 73 of file gravity_pcacal.c.
Referenced by gravity_pcacal().
|
static |
Definition at line 66 of file gravity_pcacal.c.
Referenced by gravity_pcacal().