X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions | Variables
xsh_mflat.c File Reference
#include <xsh_error.h>
#include <xsh_pfits.h>
#include <xsh_utils.h>
#include <xsh_utils_image.h>
#include <xsh_msg.h>
#include <xsh_dfs.h>
#include <xsh_data_instrument.h>
#include <xsh_data_order.h>
#include <xsh_drl.h>
#include <xsh_drl_check.h>
#include <xsh_model_arm_constants.h>
#include <cpl.h>

Go to the source code of this file.

Macros

#define RECIPE_ID   "xsh_mflat"
 
#define RECIPE_AUTHOR   "P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani"
 
#define RECIPE_CONTACT   "amodigli@eso.org"
 

Functions

static int xsh_mflat_create (cpl_plugin *plugin)
 Setup the recipe options.
 
static int xsh_mflat_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
 
static int xsh_mflat_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
static void xsh_mflat (cpl_parameterlist *parameters, cpl_frameset *frameset)
 Interpret the command line options and execute the data processing.
 
static cpl_error_code xsh_qc_flats_raw (cpl_frameset *fset, xsh_instrument *instrument, cpl_propertylist *qclist)
 
static cpl_error_code xsh_qc_flats_raw_subset (cpl_frameset *fset, xsh_instrument *instrument, cpl_propertylist *qclist)
 
static cpl_error_code xsh_qc_flats_uvb_exp_norm (cpl_frame *q, cpl_frame *d, xsh_instrument *instrument, cpl_propertylist *qclist)
 
int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
 
static cpl_frame * xsh_mflat_combine_flats (cpl_frameset *raw_set, cpl_frameset *on_set, cpl_frameset *off_set, cpl_frame *bpmap_frame, cpl_frame *master_bias_frame, cpl_frame *master_dark_frame, cpl_frame *cen_order_tab_frame, xsh_instrument *instrument, xsh_stack_param *stack_par, const int pre_overscan_corr)
 
static void xsh_combine_flats_and_detect_edges (cpl_frameset *raw_set, cpl_frameset *on_set, cpl_frameset *off_set, cpl_frame *bpmap_frame, cpl_frame *master_bias_frame, cpl_frame *master_dark_frame, cpl_frame *cen_order_tab_frame, cpl_frame *qc_cen_order_tab_frame, xsh_stack_param *stack_par, xsh_detect_order_param *detectorder_par, const int pre_overscan_corr, cpl_frame **edges_order_tab_frame, cpl_frame **rmdark, xsh_instrument *instrument)
 
static cpl_error_code xsh_params_bin_scale (cpl_frameset *raws, xsh_background_param *backg, xsh_detect_order_param *det_order)
 Rescale parameters for binning.
 
static cpl_error_code xsh_params_set_defaults (cpl_parameterlist *pars, xsh_instrument *inst, xsh_detect_order_param *det_order, xsh_background_param *backg)
 
static cpl_error_code xsh_qc_write_to_flat (cpl_frame *mflat, xsh_instrument *instrument, cpl_propertylist *qclist)
 

Variables

static char xsh_mflat_description_short []
 
static char xsh_mflat_description []