#include <xsh_cpl_size.h>
#include <math.h>
#include <xsh_utils.h>
#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_badpixelmap.h>
#include <xsh_utils_image.h>
#include <xsh_data_order.h>
#include <xsh_data_grid.h>
Go to the source code of this file.
Functions | |
static cpl_image * | xsh_image_generate_background (const int sx, const int sy, const polynomial *background_pol) |
Subtract the previously defined background. | |
static cpl_image * | xsh_background_poly (xsh_pre *image, cpl_table **grid_tbl, xsh_background_param *back_par) |
cpl_frame * | xsh_subtract_bias (cpl_frame *frame, cpl_frame *bias, xsh_instrument *instr, const char *type, const int pre_overscan_corr, const int save_tmp) |
Subtract the master bias frame from PRE frame. | |
cpl_frameset * | xsh_subtract_nir_on_off (cpl_frameset *on, cpl_frameset *off, xsh_instrument *instr) |
(NIR only) subtract the OFF set of files from the On set of files | |
cpl_frame * | xsh_subtract_dark (cpl_frame *frame, cpl_frame *dark, const char *filename, xsh_instrument *instr) |
subtract the master dark frame from PRE frame | |
static void | xsh_fill_bkg_mask_range (const int y, const int nx, const int xmin, const int xmax, const int x_hbox, const int decode_bp, int *qual, int *pmask, int *size) |
static xsh_grid * | xsh_crea_grid_from_mask (xsh_pre *pre, xsh_order_list *orderlist, const int x_hbox, xsh_instrument *instr, const char *prefix) |
Generates sampling grid using sampling boxes distributed along inter-order background regions. | |
static xsh_grid * | xsh_crea_grid_from_samples (xsh_pre *pre, xsh_order_list *orderlist, xsh_background_param *background_par, xsh_instrument *instr) |
Generates sampling grid using sampling boxes distributed along inter-order background regions. | |
cpl_frame * | xsh_subtract_background (cpl_frame *frame, cpl_frame *edges_order_tab_frame, xsh_background_param *background_par, xsh_instrument *instr, const char *prefix, cpl_frame **grid_frame, cpl_frame **backg_frame, const int save_bkg, const int save_grid, const int save_sub_bkg) |
Subtract the inter-order background from PRE frame. | |
Variables | |
int | xsh_bkg_yskip_lo_uvb [XSH_ORDERS_UVB] |
int | xsh_bkg_yskip_up_uvb [XSH_ORDERS_UVB] |
int | xsh_bkg_yskip_lo_vis [XSH_ORDERS_VIS] |
int | xsh_bkg_yskip_up_vis [XSH_ORDERS_VIS] |
int | xsh_bkg_yskip_lo_nir [XSH_ORDERS_NIR] |
int | xsh_bkg_yskip_up_nir [XSH_ORDERS_NIR] |