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

#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.

Defines

#define DEGX   2
#define DEGY   2
#define KAPPA   4.

Functions

static cpl_error_code subtract_background (cpl_image *image, cpl_image *background_im, const polynomial *background_pol)
 Subtract the previously defined background.
static cpl_image * xsh_background_poly (cpl_image *image, xsh_grid *grid)
cpl_frame * xsh_subtract_bias (cpl_frame *frame, cpl_frame *bias, xsh_instrument *instr, const char *type, const int pre_overscan_corr)
 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
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)
 Subtract the background from PRE frame.

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