|
X-shooter Pipeline Reference Manual 3.8.15
|
#include <complex.h>#include <math.h>#include <string.h>#include <assert.h>#include <float.h>#include <cpl.h>#include "xsh_detmon.h"#include "xsh_ksigma_clip.h"#include "irplib_utils.h"Go to the source code of this file.
Macros | |
| #define | pdist(x1, y1, x2, y2) (((x1-x2)*(x1-x2))+((y1-y2)*(y1-y2))) |
| #define | cpl_drand() ((double)rand()/(double)RAND_MAX) |
| #define | insert_par(PARNAME, PARDESC, PARVALUE, PARTYPE) |
| #define | HIST_FACT 2.354820045 |
| #define | NIR TRUE |
| #define | OPT FALSE |
| enum | pixeltypes { HOT = 0 , DEAD = 1 , NOISY = 2 } |
| enum | stackingtypes { MINMAX = 0 , MEAN = 1 , MEDIAN = 2 , KSIGMA = 3 } |
| enum | readouts { HORIZONTAL = 1 , VERTICAL = 2 } |
| struct { | |
| const char * ron_method | |
| const char * dsnu_method | |
| int exts | |
| int nb_extensions | |
| cpl_boolean opt_nir | |
| } | xsh_detmon_dark_config |
| cpl_error_code | xsh_detmon_rm_bpixs (cpl_image **, const double, int, int) |
| cpl_error_code | xsh_detmon_fill_parlist (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name, int npars,...) |
| int | xsh_detmon_retrieve_par_int (const char *parn, const char *pipeline_name, const char *recipe_name, const cpl_parameterlist *parlist) |
| double | xsh_detmon_retrieve_par_double (const char *parn, const char *pipeline_name, const char *recipe_name, const cpl_parameterlist *parlist) |
| double | irplib_pfits_get_exptime (const cpl_propertylist *plist) |
| cpl_propertylist * | xsh_detmon_fill_prolist (const char *procatg, const char *protype, const char *protech, cpl_boolean proscience) |
| void | detmon_print_rec_status (void) |
| #define cpl_drand | ( | ) | ((double)rand()/(double)RAND_MAX) |
Definition at line 55 of file xsh_detmon.c.
| #define HIST_FACT 2.354820045 |
Definition at line 70 of file xsh_detmon.c.
| #define insert_par | ( | PARNAME, | |
| PARDESC, | |||
| PARVALUE, | |||
| PARTYPE | |||
| ) |
| #define NIR TRUE |
Definition at line 103 of file xsh_detmon.c.
| #define OPT FALSE |
Definition at line 104 of file xsh_detmon.c.
| #define pdist | ( | x1, | |
| y1, | |||
| x2, | |||
| y2 | |||
| ) | (((x1-x2)*(x1-x2))+((y1-y2)*(y1-y2))) |
Definition at line 53 of file xsh_detmon.c.
| enum pixeltypes |
| Enumerator | |
|---|---|
| HOT | |
| DEAD | |
| NOISY | |
Definition at line 72 of file xsh_detmon.c.
| enum readouts |
| Enumerator | |
|---|---|
| HORIZONTAL | |
| VERTICAL | |
Definition at line 87 of file xsh_detmon.c.
| enum stackingtypes |
| Enumerator | |
|---|---|
| MINMAX | |
| MEAN | |
| MEDIAN | |
| KSIGMA | |
Definition at line 79 of file xsh_detmon.c.
| void detmon_print_rec_status | ( | void | ) |
Definition at line 384 of file xsh_detmon.c.
| double irplib_pfits_get_exptime | ( | const cpl_propertylist * | plist | ) |
Definition at line 271 of file xsh_detmon.c.
References exptime.
Referenced by xsh_detmon_lg_reduce_dit().
| cpl_error_code xsh_detmon_fill_parlist | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name, | ||
| int | npars, | ||
| ... | |||
| ) |
Definition at line 132 of file xsh_detmon.c.
References insert_par.
Referenced by xsh_detmon_lg_fill_parlist().
| cpl_propertylist * xsh_detmon_fill_prolist | ( | const char * | procatg, |
| const char * | protype, | ||
| const char * | protech, | ||
| cpl_boolean | proscience | ||
| ) |
Definition at line 291 of file xsh_detmon.c.
Referenced by xsh_lingain().
| double xsh_detmon_retrieve_par_double | ( | const char * | parn, |
| const char * | pipeline_name, | ||
| const char * | recipe_name, | ||
| const cpl_parameterlist * | parlist | ||
| ) |
Definition at line 241 of file xsh_detmon.c.
Referenced by xsh_detmon_lg_retrieve_parlist().
| int xsh_detmon_retrieve_par_int | ( | const char * | parn, |
| const char * | pipeline_name, | ||
| const char * | recipe_name, | ||
| const cpl_parameterlist * | parlist | ||
| ) |
Definition at line 211 of file xsh_detmon.c.
Referenced by xsh_detmon_lg_retrieve_parlist().
| cpl_error_code xsh_detmon_rm_bpixs | ( | cpl_image ** | image, |
| const double | kappa, | ||
| int | nffts, | ||
| int | nsamples | ||
| ) |
Definition at line 325 of file xsh_detmon.c.
References kappa.
| const char* dsnu_method |
Definition at line 97 of file xsh_detmon.c.
| int exts |
Definition at line 98 of file xsh_detmon.c.
| int nb_extensions |
Definition at line 99 of file xsh_detmon.c.
| cpl_boolean opt_nir |
Definition at line 100 of file xsh_detmon.c.
Referenced by xsh_detmon_add_adl_column(), xsh_detmon_compute_badpixmap(), xsh_detmon_gain(), xsh_detmon_gain_table_create(), xsh_detmon_lg(), xsh_detmon_lg_core(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lg_lamp_stab(), xsh_detmon_lg_reduce(), xsh_detmon_lg_reduce_all(), xsh_detmon_lg_reduce_dit(), xsh_detmon_lg_reduce_init(), xsh_detmon_lg_reduce_set(), xsh_detmon_lg_retrieve_parlist(), xsh_detmon_lg_split_onoff(), xsh_detmon_lin(), and xsh_detmon_lin_table_create().
| const char* ron_method |
Definition at line 96 of file xsh_detmon.c.
| struct { ... } xsh_detmon_dark_config |