X-shooter Pipeline Reference Manual 3.8.15
Macros | Enumerations | Functions | Variables
test-xsh_remove_crh_multiple.c File Reference
#include <tests.h>
#include <xsh_data_pre.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_data_instrument.h>
#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_badpixelmap.h>
#include <cpl.h>
#include <math.h>
#include <getopt.h>

Go to the source code of this file.

Macros

#define MODULE_ID   "XSH_REMOVE_CRH_MULTIPLE"
 
#define CR_PIX_VALUE   32000.
 
#define CR_PLACE_X   5
 
#define CR_PLACE_Y   5
 

Enumerations

enum  {
  NIMG_OPT , NBCR_OPT , DEBUG_OPT , SIZE_OPT ,
  BGMIN_OPT , BGMAX_OPT , SIGMA_OPT , HELP_OPT
}
 

Functions

static void Help (void)
 
static void HandleOptions (int argc, char **argv)
 
static cpl_frameset * createFakeFrames (XSH_INSTRCONFIG *iconfig)
 
static int verifCr (cpl_frame *medframe)
 
int main (int argc, char **argv)
 Unit test of xsh_remove_crh_multiple.
 

Variables

static struct option long_options []
 
static xsh_instrumentinstrument = NULL
 
static xsh_clipping_param crh_clipping
 
static int nbImages = 4
 
static int nbCr = 1
 
static int totCr = 0
 
static int imgSize = 10
 
static double bgMin = 80.
 
static double bgMax = 90.
 
static double sigma = 4.0