/home/amodigli/releases/xsh/1.2.10/pso/xsh.26608/xshp/xsh/xsh_create_master.c File Reference

#include <xsh_drl.h>
#include <xsh_dfs.h>
#include <xsh_pfits_qc.h>
#include <xsh_utils_wrappers.h>
#include <xsh_pfits.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_badpixelmap.h>
#include <xsh_paf_save.h>
#include <xsh_utils_image.h>
#include <xsh_detmon.h>
#include <xsh_irplib_utils.h>
#include <math.h>

Go to the source code of this file.

Defines

#define RECIPE_ID   "xsh_mbias"
#define HIST_FACT   2.354820045

Functions

static cpl_error_code xsh_compute_ron_mbias (cpl_frameset *raws, xsh_pre *master, cpl_parameterlist *parameters)
static cpl_error_code xsh_compute_fpn_mbias (cpl_frameset *raws, xsh_pre *master, xsh_instrument *instrument, cpl_parameterlist *parameters)
static cpl_error_code xsh_mbias_get_fpn (const cpl_image *ima, cpl_parameterlist *parameters, double *fpn)
static cpl_error_code xsh_my_detmon_ronbias_random (const cpl_imagelist *rawbiases, const cpl_image *masterbias, cpl_propertylist *qclist, const char *method, const int random_sizex, const int random_nsamples)
static cpl_error_code xsh_my_detmon_ronbias_histo (const cpl_imagelist *rawbiases, const cpl_image *masterbias, cpl_propertylist *qclist, const char *method)
static cpl_error_code xsh_my_detmon_ronbias_region (const cpl_imagelist *rawbiases, const cpl_image *masterbias, cpl_propertylist *qclist, const char *pmethod, const int ref_llx, const int ref_lly, const int ref_urx, const int ref_ury, const int stacking_ks_low, const int stacking_ks_iter)
static cpl_error_code xsh_my_detmon_ronbias_preoverscan (const cpl_imagelist *rawbiases, cpl_propertylist *qclist, cpl_image **synthetic, const int prescan_llx, const int prescan_lly, const int prescan_urx, const int prescan_ury, const int overscan_llx, const int overscan_lly, const int overscan_urx, const int overscan_ury, const int stacking_ks_low, const int stacking_ks_iter)
static double xsh_mdark_get_contam (xsh_pre *pre, cpl_parameterlist *drs_params, xsh_instrument *instr)
static void set_masterdark_qc (xsh_pre *preFrame, xsh_instrument *instrument, cpl_parameterlist *drs_params, cpl_parameterlist *parameters, double exptime, cpl_frame *crh_frm, cpl_frame *bpm_frm)
cpl_frame * xsh_create_master_dark (cpl_frame *medFrame, xsh_instrument *instr, cpl_parameterlist *parameters, cpl_parameterlist *drs_params, cpl_frame *crh_frm, cpl_frame *bpm_frm)
static void reject_lo_hi (cpl_image *image, double min, double max)
 Reject outlier pixels.
static int count_good (const cpl_image *image)
static double get_masterbias_qc_structure_row_region (cpl_image *tima)
static double get_masterbias_qc_structure_col_region (cpl_image *tima)
static void set_masterbias_qc_uves_structure_region (xsh_pre *master, const int llx, const int lly, const int urx, const int ury, const int ref_x, const int ref_y, const int reg_id, const int dlevel)
static void set_masterbias_qc_structure_region (xsh_pre *master, const int llx, const int lly, const int urx, const int ury, const int ref_x, const int ref_y, const int reg_id, const int dlevel)
static void set_masterbias_qc_structure (xsh_pre *master, cpl_parameterlist *parameters)
cpl_frame * xsh_create_master_bias (cpl_frameset *raws, cpl_frame *frame, xsh_instrument *instr, cpl_parameterlist *parameters)
 Creates a master bias frame.
cpl_frame * xsh_create_master_flat (cpl_frame *frame, xsh_instrument *instr)
cpl_frame * xsh_create_master_bpmap (cpl_frame *mdarkFrame, xsh_instrument *instr)

Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1