Remove Cosmic Rays single (xsh_remove_crh_single)
[DRL Functions]

Defines

#define MAX_ITERATIONS   6
#define REGDEBUG_FULL   0

Functions

static void add_qc_crh (xsh_pre *pre, int nbcrh, int nframes, xsh_instrument *instrument)
cpl_frame * xsh_abs_remove_crh_single (cpl_frame *sci_frame, cpl_frame *wavemap_frame, xsh_instrument *instrument, xsh_remove_crh_single_param *single_par, const char *res_tag)
cpl_frame * xsh_remove_crh_single (cpl_frame *in_sci_frame, cpl_frame *wavemap, xsh_instrument *instrument, xsh_remove_crh_single_param *single_par, const char *res_tag)
 Remove cosmic rays from a single frame.

Detailed Description

Suppress Cosmic Rays by analysing on files


Define Documentation

#define MAX_ITERATIONS   6

Definition at line 67 of file xsh_remove_crh_single.c.

Referenced by xsh_remove_crh_single().

#define REGDEBUG_FULL   0

Definition at line 68 of file xsh_remove_crh_single.c.


Function Documentation

static void add_qc_crh ( xsh_pre pre,
int  nbcrh,
int  nframes,
xsh_instrument instrument 
) [static]

Calculates and set the QC parameters relevant for Cosmic Rays.

Parameters:
pre Pointer to XSH_PRE Structure
nbcrh Total umber of cosmics found
nframes Number of frames used to remove cosmics
instrument Pointer to indstrument description structure

< Average of cosmics per frame

Definition at line 81 of file xsh_remove_crh_single.c.

References check, xsh_pre::data_header, xsh_pre::exptime, xsh_pre::nx, xsh_pre::ny, xsh_pre::pszx, xsh_pre::pszy, xsh_pre::qual_header, XSH_ASSURE_NOT_ILLEGAL, XSH_ASSURE_NOT_NULL, xsh_msg_dbg_medium, xsh_pfits_set_qc_crrate(), xsh_pfits_set_qc_ncrh(), and xsh_pfits_set_qc_ncrh_mean().

Referenced by xsh_remove_crh_single().

cpl_frame* xsh_abs_remove_crh_single ( cpl_frame *  sci_frame,
cpl_frame *  wavemap_frame,
xsh_instrument instrument,
xsh_remove_crh_single_param single_par,
const char *  res_tag 
)
cpl_frame* xsh_remove_crh_single ( cpl_frame *  in_sci_frame,
cpl_frame *  wavemap,
xsh_instrument instrument,
xsh_remove_crh_single_param single_par,
const char *  res_tag 
)

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