|
X-shooter Pipeline Reference Manual 3.8.15
|
#include <cpl.h>#include <cpl_fft.h>#include "hdrl.h"#include "xsh_detmon.h"#include "xsh_detmon_utils.h"#include "xsh_detmon_lg.h"#include "xsh_detmon_lg_impl.h"#include "xsh_detmon_dfs.h"#include "xsh_dfs.h"#include "xsh_ksigma_clip.h"#include "irplib_utils.h"#include "irplib_hist.h"#include <complex.h>#include <math.h>#include <string.h>#include <assert.h>Go to the source code of this file.
| enum | _FPN_METHOD { FPN_UNKNOWN , FPN_HISTOGRAM , FPN_SMOOTH } |
| typedef enum _FPN_METHOD | FPN_METHOD |
| struct { | |
| const char * method | |
| int order | |
| double kappa | |
| int niter | |
| int threshold_min | |
| int threshold_max | |
| int llx | |
| int lly | |
| int urx | |
| int ury | |
| int ref_level | |
| int threshold | |
| int m | |
| int n | |
| int llx1 | |
| int lly1 | |
| int urx1 | |
| int ury1 | |
| int llx2 | |
| int lly2 | |
| int urx2 | |
| int ury2 | |
| int llx3 | |
| int lly3 | |
| int urx3 | |
| int ury3 | |
| int llx4 | |
| int lly4 | |
| int urx4 | |
| int ury4 | |
| int llx5 | |
| int lly5 | |
| int urx5 | |
| int ury5 | |
| int nx | |
| int ny | |
| cpl_boolean wholechip | |
| cpl_boolean autocorr | |
| cpl_boolean intermediate | |
| cpl_boolean collapse | |
| cpl_boolean rescale | |
| cpl_boolean pix2pix | |
| cpl_boolean bpmbin | |
| int filter | |
| double tolerance | |
| cpl_boolean pafgen | |
| const char * pafname | |
| double cr | |
| int exts | |
| int nb_extensions | |
| double lamp_stability | |
| cpl_boolean lamp_ok | |
| int(* load_fset )(const cpl_frameset *, cpl_type, cpl_imagelist *) | |
| cpl_imagelist *(* load_fset_wrp )(const cpl_frameset *, cpl_type, int) | |
| FPN_METHOD fpn_method | |
| int fpn_smooth | |
| double saturation_limit | |
| double gain_threshold | |
| cpl_boolean split_coeffs | |
| } | xsh_detmon_lg_config |
| static cpl_error_code | xsh_detmon_lg_retrieve_parlist (const char *pipeline_name, const char *recipe_name, const cpl_parameterlist *parlist, cpl_boolean opt_nir) |
| Parlist extraction and copy to global struct variable. | |
| static cpl_error_code | xsh_detmon_lg_split_onoff (const cpl_frameset *cur_fset, cpl_frameset *cur_fset_on, cpl_frameset *cur_fset_off, const char *tag_on, const char *tag_off) |
| Split the input frameset into two sub-framesets (ON and OFF) | |
| static cpl_error_code | xsh_detmon_lg_reduce (const cpl_frameset *set_on, const cpl_frameset *set_off, int *index_on, int *index_off, double *exptime_on, double *exptime_off, int *next_index_on, int *next_index_off, cpl_imagelist **coeffs_ptr, cpl_table *gain_table, cpl_table *linear_table, cpl_image **bpm_ptr, cpl_imagelist *autocorr_images, cpl_imagelist *diff_flats, cpl_propertylist *gaint_qclist, cpl_propertylist *lint_qclist, cpl_propertylist *linc_qclist, cpl_propertylist *bpm_qclist, int(*load_fset)(const cpl_frameset *, cpl_type, cpl_imagelist *), const cpl_boolean opt_nir, int whichext) |
| Apply linearity and gain reduction algorithms. | |
| static cpl_error_code | xsh_detmon_lin_table_fill_row (cpl_table *lin_table, double c_dit, cpl_imagelist *linearity_inputs, const cpl_imagelist *ons, const cpl_imagelist *offs, int llx, int lly, int urx, int ury, const int pos, const int nskip, unsigned mode) |
| Fill i-th row in Linearity Table: DIT or EXPTIME, MEAN, MED, MEAN_DIT, MED_DIT. | |
| static cpl_error_code | xsh_detmon_gain_table_fill_row (cpl_table *gain_table, double c_dit, int c_ndit, cpl_imagelist *autocorr_images, cpl_imagelist *diff_flats, const cpl_imagelist *ons, const cpl_imagelist *offs, double kappa, int nclip, int llx, int lly, int urx, int ury, int m, int n, double saturation_limit, double gain_threshold, const int pos, unsigned mode, int *rows_gain_affected) |
| Operate on input ON and OFF images related to gain Computes all quantities needed to determine the gain: | |
| static cpl_error_code | xsh_detmon_check_saturation_on_pair (cpl_imagelist *autocorr_images, cpl_imagelist *diff_flats, const cpl_imagelist *ons, const cpl_imagelist *offs, double kappa, int nclip, int llx, int lly, int urx, int ury, double saturation_limit, const int pos, unsigned mode, int *rows_linear_affected) |
| Operate on input ON and OFF images related to gain Computes all quantities needed to determine the gain: | |
| static cpl_error_code | xsh_detmon_lg_save (const cpl_parameterlist *parlist, cpl_frameset *frameset, const char *recipe_name, const char *pipeline_name, const char *pafregexp, const cpl_propertylist *pro_lintbl, const cpl_propertylist *pro_gaintbl, const cpl_propertylist *pro_coeffscube, const cpl_propertylist *pro_bpm, const cpl_propertylist *pro_corr, const cpl_propertylist *pro_diff, const char *package, cpl_imagelist *coeffs, cpl_table *gain_table, cpl_table *linear_table, cpl_image *bpms, cpl_imagelist *autocorr_images, cpl_imagelist *diff_flats, cpl_propertylist *gaint_qclist, cpl_propertylist *lint_qclist, cpl_propertylist *linc_qclist, cpl_propertylist *bpm_qclist, const int flag_sets, const int which_set, const cpl_frameset *usedframes, int whichext) |
| Save all products. | |
| static cpl_error_code | xsh_detmon_lg_qc_ptc (const cpl_table *gain_table, cpl_propertylist *qclist, unsigned mode, int rows_in_gain) |
| PTC (Photon Transfer Curve) method final computation. | |
| static cpl_error_code | xsh_detmon_lg_qc_med (const cpl_table *gain_table, cpl_propertylist *qclist, int rows_in_gain) |
| MED method final computation. The median and stdev of the column "GAIN", and the median of the column "GAIN_CORR" are computed and corresponding QC keywords are set. | |
| static double | irplib_pfits_get_dit (const cpl_propertylist *plist) |
| Find out the character string associated to the DIT keyword (NIR) | |
| static double | irplib_pfits_get_dit_opt (const cpl_propertylist *plist) |
| Find out the character string associated to the DIT keyword (OPT) | |
| static double | irplib_pfits_get_prop_double (const cpl_propertylist *plist, const char *prop_name) |
| static cpl_image * | xsh_detmon_bpixs (const cpl_imagelist *coeffs, cpl_boolean bpmbin, const double kappa, int *nbpixs) |
| Produce bad pixel map according to coefficients' cube. | |
| static double | xsh_detmon_autocorr_factor (const cpl_image *image, cpl_image **autocorr_image, int m, int n) |
| Produce bad pixel map by comparing to coefficients' cube fits to actual intensity values. | |
| static cpl_error_code | xsh_detmon_opt_contamination (const cpl_imagelist *ons, const cpl_imagelist *offs, unsigned mode, cpl_propertylist *qclist) |
| Contamination computation (OPT only) | |
| int | xsh_detmon_lg_dfs_set_groups (cpl_frameset *set, const char *tag_on, const char *tag_off) |
| DFS related function. | |
| static cpl_error_code | xsh_detmon_lg_reduce_all (const cpl_table *linear_table, cpl_propertylist *gaint_qclist, cpl_propertylist *lint_qclist, cpl_propertylist *linc_qclist, cpl_propertylist *bpm_qclist, cpl_imagelist **coeffs_ptr, cpl_image **bpms_ptr, const cpl_imagelist *linearity_inputs, const cpl_table *gain_table, int which_ext, cpl_boolean opt_nir) |
| Final reduction step (after DIT-per-DIT reduction): fit linearity data and determine corresponding QC parameters, determine QC related gain parameters, determine linearity efficiency parameters, determines non linear pixels. | |
| static cpl_error_code | xsh_detmon_lg_check_defaults (const cpl_image *reference) |
| Check and set default values with depend on the inputs. | |
| static cpl_error_code | xsh_detmon_lg_rescale (cpl_imagelist *to_rescale) |
| Rescale of images (one to another level) | |
| static cpl_error_code | xsh_detmon_lg_reduce_init (cpl_table *gain_table, cpl_table *linear_table, cpl_imagelist **linearity_inputs, const cpl_boolean opt_nir) |
| Create columns of product tables and init linearity_inputs. | |
| static cpl_error_code | xsh_detmon_add_adl_column (cpl_table *table, cpl_boolean opt_nir) |
| Compute ADL column of Linearity Table. | |
| static cpl_error_code | xsh_detmon_lg_lamp_stab (const cpl_frameset *lamps, const cpl_frameset *darks, cpl_boolean opt_nir, int whichext) |
| Compute lamp stability. | |
| static cpl_error_code | xsh_detmon_lg_reduce_dit (const cpl_frameset *set_on, int *index_on, double *exptime_on, const int dit_nb, int *dit_nskip, const cpl_frameset *set_off, int *index_off, double *exptime_off, int *next_on, int *next_off, cpl_table *linear_table, cpl_table *gain_table, cpl_imagelist *linearity_inputs, cpl_propertylist *qclist, cpl_boolean opt_nir, cpl_imagelist *autocorr_images, cpl_imagelist *diff_flats, cpl_imagelist *opt_offs, int whichext, int *rows_linear_affected, int *rows_gain_affected) |
| Reduction step to be applied together to frames of same DIT. | |
| static cpl_error_code | xsh_detmon_lg_core (cpl_frameset *cur_fset_on, cpl_frameset *cur_fset_off, int *index_on, int *index_off, double *exptime_on, double *exptime_off, int whichext, int whichset, const char *recipe_name, const char *pipeline_name, const char *pafregexp, const cpl_propertylist *pro_lintbl, const cpl_propertylist *pro_gaintbl, const cpl_propertylist *pro_coeffscube, const cpl_propertylist *pro_bpm, const cpl_propertylist *pro_corr, const cpl_propertylist *pro_diff, const char *package, int(*load_fset)(const cpl_frameset *, cpl_type, cpl_imagelist *), int nsets, cpl_boolean opt_nir, cpl_frameset *frameset, const cpl_parameterlist *parlist, cpl_frameset *cur_fset) |
| Core: Reduction and saving (encapsulated to avoid repetition) | |
| static cpl_error_code | xsh_detmon_lg_lineff (double *pcoeffs, cpl_propertylist *qclist, int ref_level, int order) |
| Linearity effective correction (LIN.EFF) computation. | |
| static cpl_error_code | xsh_detmon_gain_table_create (cpl_table *, const cpl_boolean) |
| static cpl_error_code | xsh_detmon_lin_table_create (cpl_table *, const cpl_boolean) |
| static cpl_vector * | xsh_detmon_lg_find_dits (const cpl_vector *, double) |
| static cpl_error_code | xsh_detmon_lg_find_dits_ndits (const cpl_vector *exptimes, const cpl_vector *vec_ndits, double tolerance, cpl_vector **diff_dits, cpl_vector **diff_ndits) |
| static cpl_error_code | xsh_detmon_fpn_compute (const cpl_frameset *set_on, int *index_on, int last_linear_best, cpl_propertylist *lint_qclist, int llx, int lly, int urx, int ury, double gain, int whichext, FPN_METHOD fpn_method, int smooth_size) |
| static double | irplib_fpn_lg (const cpl_image *f1, int *range, double gain, FPN_METHOD fpn_method, int, double *mse) |
| static double | irplib_calculate_total_noise (const cpl_image *pimage) |
| static cpl_imagelist * | irplib_load_fset_wrp (const cpl_frameset *, cpl_type, int whichext) |
| static cpl_imagelist * | irplib_load_fset_wrp_ext (const cpl_frameset *, cpl_type, int) |
| static cpl_error_code | irplib_table_create_column (cpl_table *ptable, cpl_propertylist *plist) |
| static cpl_error_code | irplib_fill_table_DETWINUIT (cpl_table *ptable, cpl_propertylist *plist, int row) |
| static cpl_error_code | xsh_detmon_pair_extract_next (const cpl_frameset *set, int *index, int *next_element, double *dit_array, cpl_frameset **pair, double tolerance) |
| static cpl_error_code | xsh_detmon_single_extract_next (const cpl_frameset *set, int *index, int *next_element, double *dit_array, cpl_frameset **pair) |
| static cpl_error_code | xsh_detmon_table_fill_invalid (cpl_table *ptable, double code) |
| static void | xsh_detmon_lg_add_empty_image (cpl_imagelist *imlist, int pos) |
| static int | xsh_detmon_lg_check_before_gain (const cpl_vector *x, const cpl_vector *y) |
| static int | irplib_pfits_get_ndit (const cpl_propertylist *plist) |
| find out the character string associated to the DIT keyword in a propertylist | |
| cpl_error_code | hdrldemo_detector_shotnoise_model (const cpl_image *ima_data, const double gain, const double ron, cpl_image **ima_errs) |
| compute photon count error in [ADU] | |
| static cpl_error_code | xsh_detmon_lg_reduce_set (int i, cpl_frameset *frameset, int nsets, const char *tag_on, const char *tag_off, const char *recipe_name, const char *pipeline_name, const char *pafregexp, const cpl_propertylist *pro_lintbl, const cpl_propertylist *pro_gaintbl, const cpl_propertylist *pro_coeffscube, const cpl_propertylist *pro_bpm, const cpl_propertylist *pro_corr, const cpl_propertylist *pro_diff, const char *package, int(*load_fset)(const cpl_frameset *, cpl_type, cpl_imagelist *), const cpl_boolean opt_nir, const cpl_parameterlist *parlist, cpl_size *selection) |
| static double | irplib_compute_err (double gain, double ron, double photon_noise) |
| static cpl_error_code | xsh_detmon_lg_dfs_save_imagelist (cpl_frameset *frameset, const cpl_parameterlist *parlist, const cpl_frameset *usedframes, const cpl_imagelist *coeffs, const char *recipe_name, const cpl_propertylist *mypro_coeffscube, const char *package, const char *name_o) |
| static void | irplib_free (char **pointer) |
| cpl_error_code | xsh_detmon_lg (cpl_frameset *frameset, const cpl_parameterlist *parlist, const char *tag_on, const char *tag_off, const char *recipe_name, const char *pipeline_name, const char *pafregexp, const cpl_propertylist *pro_lintbl, const cpl_propertylist *pro_gaintbl, const cpl_propertylist *pro_coeffscube, const cpl_propertylist *pro_bpm, const cpl_propertylist *pro_corr, const cpl_propertylist *pro_diff, const char *package, int(*compare)(const cpl_frame *, const cpl_frame *), int(*load_fset)(const cpl_frameset *, cpl_type, cpl_imagelist *), const cpl_boolean opt_nir) |
| cpl_image * | xsh_detmon_image_correlate (const cpl_image *image1, const cpl_image *image2, const int m, const int n) |
| cpl_image * | xsh_detmon_autocorrelate (const cpl_image *input2, const int m, const int n) |
| cpl_error_code | xsh_detmon_lg_fill_parlist_nir_default (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name) |
| Parlist filling with NIR required parameters and its default values. | |
| cpl_error_code | xsh_detmon_lg_fill_parlist_opt_default (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name) |
| Parlist filling with OPT required parameters and its default values. | |
| cpl_error_code | xsh_detmon_lg_fill_parlist_default_mr (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name) |
| cpl_error_code | xsh_detmon_lg_fill_parlist_opt_default_mr (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name) |
| cpl_error_code | xsh_detmon_lg_fill_parlist_nir_default_mr (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name) |
| cpl_error_code | xsh_detmon_lg_fill_parlist (cpl_parameterlist *parlist, const char *recipe_name, const char *pipeline_name, const char *method, int order, double kappa, int niter, int llx, int lly, int urx, int ury, int ref_level, const char *intermediate, const char *autocorr, const char *collapse, const char *rescale, const char *pix2pix, const char *bpmbin, int filter, int m, int n, double tolerance, const char *pafgen, const char *pafname, int llx1, int lly1, int urx1, int ury1, int llx2, int lly2, int urx2, int ury2, int llx3, int lly3, int urx3, int ury3, int llx4, int lly4, int urx4, int ury4, int llx5, int lly5, int urx5, int ury5, int exts, cpl_boolean opt_nir) |
| Generic parlist filling for Lin/Gain recipe. | |
| static cpl_propertylist * | xsh_detmon_load_pro_keys (const char *NAME_O) |
| Load pro keys. | |
| static cpl_error_code | xsh_detmon_gain_compute_qc (double kappa, int nclip, const int pos, const cpl_imagelist *offs, unsigned mode, double double_adu, double avg_on1, double avg_on2, double avg_off1, double avg_off2, double sigma, double sig_off_dif, double gain, int c_ndit, double gain_corr, double autocorr, cpl_image *on_dif, cpl_table *gain_table) |
| double | xsh_detmon_gain_prepare_autocorr (unsigned mode, const int pos, double autocorr, int m, int n, cpl_imagelist *diff_flats, cpl_image *on_dif, cpl_imagelist *autocorr_images) |
| double | xsh_detmon_gain_prepare_table (const cpl_imagelist *offs, unsigned mode, int llx, int lly, int urx, int ury, double kappa, int nclip, double avg_off1, double std, const int pos, cpl_table *gain_table, double *avg_off2, double *sig_off_dif) |
| static cpl_propertylist * | xsh_detmon_lg_extract_qclist_4plane (cpl_propertylist *linc_qclist, const int ip) |
| static cpl_error_code | xsh_detmon_lg_extract_extention_header (cpl_frameset *frameset, cpl_propertylist *gaint_qclist, cpl_propertylist *lint_qclist, cpl_propertylist *linc_qclist, cpl_propertylist *bpm_qclist, int whichext) |
| Extract extension headers if multi-extension. | |
| static cpl_error_code | xsh_detmon_lg_save_table_with_pro_keys (cpl_table *table, const char *name_o, cpl_propertylist *xheader, unsigned CPL_IO_MODE) |
| Save cube product. | |
| static cpl_error_code | xsh_detmon_lg_save_image_with_pro_keys (cpl_image *image, const char *name_o, cpl_propertylist *xheader) |
| Save cube product. | |
| static cpl_error_code | xsh_detmon_lg_save_imagelist_with_pro_keys (cpl_imagelist *imagelist, const char *name_o, cpl_propertylist *xheader) |
| Save cube product. | |
| static cpl_error_code | xsh_detmon_lg_save_plane (const cpl_parameterlist *parlist, cpl_frameset *frameset, const cpl_frameset *usedframes, int whichext, const char *recipe_name, cpl_propertylist *mypro_coeffscube, cpl_propertylist *linc_plane_qclist, const char *package, const char *NAME_O, cpl_image *plane) |
| Save cube product. | |
| static cpl_error_code | xsh_detmon_lg_save_cube (const cpl_parameterlist *parlist, cpl_frameset *frameset, const cpl_frameset *usedframes, int whichext, const char *recipe_name, cpl_propertylist *mypro_coeffscube, cpl_propertylist *linc_qclist, const char *package, const char *NAME_O, cpl_imagelist *coeffs) |
| Save cube product. | |
| static char * | xsh_detmon_lg_set_paf_name_and_header (cpl_frame *ref_frame, int flag_sets, int which_set, int whichext, const char *paf_suf, cpl_propertylist **plist) |
| static char * | xsh_detmon_lg_set_paf_name_and_header_ext (cpl_frame *ref_frame, int flag_sets, int which_set, int whichext, const char *paf_suf, cpl_propertylist **plist) |
| static cpl_error_code | xsh_detmon_lg_save_paf_product (cpl_frame *ref_frame, int flag_sets, int which_set, int whichext, const char *pafregexp, const char *procatg, const char *pipeline_name, const char *recipe_name, const char *paf_suf, cpl_propertylist *qclist, const int ext) |
| static cpl_error_code | xsh_detmon_lg_fits_coeffs_and_bpm2chip (cpl_imagelist **coeffs_ptr, cpl_image **bpms_ptr) |
| Fits COEFFS_CUBE and BPM outputs to whole-chip size images (DFS05711) | |
| int | xsh_detmon_compute_badpixmap (cpl_boolean opt_nir, const int nsets, const cpl_table *linear_table, const cpl_imagelist *linearity_inputs, int nbpixs, cpl_vector *x, cpl_propertylist *gaint_qclist, cpl_image **bpms_ptr) |
| cpl_table * | xsh_detmon_gain (const cpl_imagelist *imlist_on, const cpl_imagelist *imlist_off, const cpl_vector *exptimes, const cpl_vector *ndit, double tolerance, int llx, int lly, int urx, int ury, double kappa, int nclip, int xshift, int yshift, cpl_propertylist *qclist, unsigned mode, cpl_imagelist **diff_imlist, cpl_imagelist **autocorr_imlist) |
| Gain computation. | |
| cpl_table * | xsh_detmon_lin (const cpl_imagelist *imlist_on, const cpl_imagelist *imlist_off, const cpl_vector *exptimes, double tolerance, int llx, int lly, int urx, int ury, int order, int ref_level, double kappa, cpl_boolean bpmbin, cpl_propertylist *qclist, unsigned mode, cpl_imagelist **coeffs_cube, cpl_image **bpm) |
| Linearity computation. | |
| static double | irplib_calculate_total_noise_smooth (const cpl_image *pimage, int pattern_x, int pattern_y) |
| cpl_error_code | xsh_detmon_check_order (const double *exptime, int sz, double tolerance, int order) |
| cpl_error_code | xsh_detmon_lg_set_tag (cpl_frameset *set, const char **tag_on, const char **tag_off) |
| typedef enum _FPN_METHOD FPN_METHOD |
Definition at line 75 of file xsh_detmon_lg.c.
| enum _FPN_METHOD |
| Enumerator | |
|---|---|
| FPN_UNKNOWN | |
| FPN_HISTOGRAM | |
| FPN_SMOOTH | |
Definition at line 69 of file xsh_detmon_lg.c.
| cpl_error_code hdrldemo_detector_shotnoise_model | ( | const cpl_image * | ima_data, |
| const double | gain, | ||
| const double | ron, | ||
| cpl_image ** | ima_errs | ||
| ) |
compute photon count error in [ADU]
| ima_data | in [ADU] |
| gain | detector's gain in [e- / ADU] |
| ron | detector's read out noise in [ADU] |
| ima_errs | output error image in [ADU] |

If an image value is negative the associated error is set to RON
Definition at line 483 of file xsh_detmon_lg.c.
|
static |
Definition at line 7151 of file xsh_detmon_lg.c.
Referenced by irplib_calculate_total_noise_smooth(), and irplib_fpn_lg().
|
static |
Definition at line 7132 of file xsh_detmon_lg.c.
References irplib_calculate_total_noise().
Referenced by irplib_fpn_lg().
|
static |
Definition at line 7216 of file xsh_detmon_lg.c.
Referenced by irplib_fpn_lg().
|
static |
Definition at line 7362 of file xsh_detmon_lg.c.
References size.
Referenced by xsh_detmon_lg_reduce_dit().
|
static |
Definition at line 7226 of file xsh_detmon_lg.c.
References FPN_HISTOGRAM, fpn_method, FPN_SMOOTH, irplib_calculate_total_noise(), irplib_calculate_total_noise_smooth(), and irplib_compute_err().
Referenced by xsh_detmon_fpn_compute().
|
static |
Definition at line 540 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_save().
|
static |
Definition at line 7310 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config, and xsh_detmon_load_frameset_window().
Referenced by xsh_detmon_lg().
|
static |
Definition at line 7324 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config.
Referenced by xsh_detmon_lg().
|
static |
Find out the character string associated to the DIT keyword (NIR)
| plist | Propertylist |
Definition at line 3229 of file xsh_detmon_lg.c.
References irplib_pfits_get_prop_double().
Referenced by xsh_detmon_lg_lamp_stab(), and xsh_detmon_lg_reduce_dit().
|
static |
Find out the character string associated to the DIT keyword (OPT)
| plist | Propertylist |
Definition at line 3242 of file xsh_detmon_lg.c.
References irplib_pfits_get_prop_double().
Referenced by xsh_detmon_lg_lamp_stab().
|
static |
find out the character string associated to the DIT keyword in a propertylist
| plist | propertylist |
Definition at line 453 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_reduce_dit().
|
static |
Definition at line 3262 of file xsh_detmon_lg.c.
Referenced by irplib_pfits_get_dit(), and irplib_pfits_get_dit_opt().
|
static |
Definition at line 7334 of file xsh_detmon_lg.c.
References size.
Referenced by xsh_detmon_lg_reduce_dit().
|
static |
Compute ADL column of Linearity Table.
| table | Table |
Definition at line 3170 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_reduce(), and xsh_detmon_lin().
|
static |
Produce bad pixel map by comparing to coefficients' cube fits to actual intensity values.
| coeffs | Coeffs' cube; each plane correspond to a coefficient |
| nbpixs | Pointer to output total nb of bad pixels |
Compute autocorr factor
| image | Input image to be autocorrelated |
| pos | DIT being processed (pos. in Corr imagelist) |
| autocorr_images | Corr imagelist |
Definition at line 3889 of file xsh_detmon_lg.c.
References autocorr, m, n, xsh_detmon_autocorrelate(), and xsh_detmon_image_correlate().
Referenced by xsh_detmon_gain_prepare_autocorr().
| cpl_image * xsh_detmon_autocorrelate | ( | const cpl_image * | input2, |
| const int | m, | ||
| const int | n | ||
| ) |
Definition at line 1286 of file xsh_detmon_lg.c.
References autocorr, m, n, nx, and ny.
Referenced by xsh_detmon_autocorr_factor().
|
static |
Produce bad pixel map according to coefficients' cube.
| coeffs | Coeffs' cube; each plane correspond to a coefficient |
| nbpixs | Pointer to output total nb of bad pixels |
Definition at line 3699 of file xsh_detmon_lg.c.
References bpmbin, first, kappa, and size.
Referenced by xsh_detmon_lin().
| cpl_error_code xsh_detmon_check_order | ( | const double * | exptime, |
| int | sz, | ||
| double | tolerance, | ||
| int | order | ||
| ) |
Definition at line 7393 of file xsh_detmon_lg.c.
References exptime, order, and tolerance.
Referenced by xsh_detmon_lg_reduce_set().
|
static |
Operate on input ON and OFF images related to gain Computes all quantities needed to determine the gain:
| autocorr_images | Corr images (intermediate product) |
| diff_flats | Diff flats (intermediate product) |
| ons | Images of the ON pair |
| offs | Images of the OFF pair |
| pos | DIT being processed (entry pos. in table) |
| mode | Possible options (combined with bitwise or) autocorr true/false, opt/nir, collapse true/false pix2pix true/false |
| rows_linear_affected | this parameter is set to skip gain computation |
@doc To compute the gain are needed the following quantities: -a clean mean on each ON and OFF frame of the pair, -a clean standard deviation on each difference ON-OFF of the pair,
Definition at line 3621 of file xsh_detmon_lg.c.
References IRPLIB_GAIN_WITH_AUTOCORR, kappa, llx, lly, mode, saturation_limit, urx, ury, xsh_detmon_lg_add_empty_image(), and xsh_ksigma_clip().
Referenced by xsh_detmon_lg_reduce_dit().
| int xsh_detmon_compute_badpixmap | ( | cpl_boolean | opt_nir, |
| const int | nsets, | ||
| const cpl_table * | linear_table, | ||
| const cpl_imagelist * | linearity_inputs, | ||
| int | nbpixs, | ||
| cpl_vector * | x, | ||
| cpl_propertylist * | gaint_qclist, | ||
| cpl_image ** | bpms_ptr | ||
| ) |
Definition at line 5178 of file xsh_detmon_lg.c.
References DETMON_QC_GAIN, errors, kappa, llx, lly, NIR, niter, opt_nir, urx, ury, x, xsh_detmon_lg_config, and xsh_ksigma_clip().
Referenced by xsh_detmon_lg_reduce_all().
|
static |
Definition at line 2641 of file xsh_detmon_lg.c.
References DETMON_QC_FPN, fpn_method, irplib_fpn_lg(), llx, lly, urx, ury, and xsh_detmon_lg_config.
Referenced by xsh_detmon_lg_reduce().
| cpl_table * xsh_detmon_gain | ( | const cpl_imagelist * | imlist_on, |
| const cpl_imagelist * | imlist_off, | ||
| const cpl_vector * | exptimes, | ||
| const cpl_vector * | ndit, | ||
| double | tolerance, | ||
| int | llx, | ||
| int | lly, | ||
| int | urx, | ||
| int | ury, | ||
| double | kappa, | ||
| int | nclip, | ||
| int | xshift, | ||
| int | yshift, | ||
| cpl_propertylist * | qclist, | ||
| unsigned | mode, | ||
| cpl_imagelist ** | diff_imlist, | ||
| cpl_imagelist ** | autocorr_imlist | ||
| ) |
Gain computation.
| imlist_on | Input ON imagelist |
| imlist_off | Input OFF imagelist |
| exptimes | Vector containing EXPTIME values corresponding to input imagelists |
| tolerance | Tolerance allowed between EXPTIME of frames in a pair |
| llx | Region to compute |
| lly | Region to compute |
| urx | Region to compute |
| ury | Region to compute |
| kappa | Kappa used for kappa-sigma clipping |
| nclip | Number of iterative kappa-sigma clipping |
| xshift | Shift applied on X axis (Autocorrelation) |
| yshift | Shift applied on Y axis (Autocorrelation) |
| qclist | QC list |
| mode | Possible options (combined with bitwise or) autocorr true/false, opt/nir, collapse true/false pix2pix true/false |
| diff_imlist | Output Difference imlist or NULL |
| autocorr_imlist | Output Autocorr imlist or NULL |
imlist_on must have the same size of exptimes.
imlist_off must have either the same size of exptimes or contain only 2 images. (NOTE: the first case is the usual one in IR domain, the second one, the usual in OPT domain).
This function assumes image i in imlist_on has been taken with EXPTIME equal to position i in exptimes. The same is assumed for imlist_off if it is of the same length as imlist_on.
Every different EXPTIME value in exptimes must appear at least twice within the vector; in any case, an even number of times.
The algorithm for Gain computation involves several mean and stdev which are computed through an iterative kappa-sigma clipping.
The parameters xshift and yshift are ignored if mode & IRPLIB_GAIN_WITH_AUTOCORR = 0.
For the Difference and Autocorrelation imagelists NULL indicates these products are not required. Note that even being non-null, they will be ignored if IRPLIB_GAIN_WITH_AUTOCORR is not requested.
These are these supported modes: IRPLIB_GAIN_PTC : Use PTC method for Gain computation IRPLIB_GAIN_MEDIAN : use MEDIAN method for Gain computation IRPLIB_GAIN_NO_COLLAPSE : No collapse of darks/biases (NIR) IRPLIB_GAIN_COLLAPSE : Collapse of darks/biases (OPT) IRPLIB_GAIN_OPT : Optical data (output will have EXPTIME column) IRPLIB_GAIN_NIR : Optical data (output will have NIR column) IRPLIB_GAIN_WITH_AUTOCORR : Apply autocorrelation factor IRPLIB_GAIN_WITH_RESCALE : Rescale images in each pair one to the another
It is mandatory to choose at least the collapse / no collapse and the data. By default, MEDIAN method is applied.
Example:
As said above, a minimum of 2 bitwise options must be passed to mode. In the example, IRPLIB_GAIN_NO_COLLAPSE can be replaced with IRPLIB_GAIN_COLLAPSE, IRPLIB_GAIN_NIR with IRPLIB_GAIN_OPT or both. Of course, other options can be added bitwise as well to the mode.
Possible #_cpl_error_code_ set in this function:
Definition at line 6236 of file xsh_detmon_lg.c.
References autocorr, DETMON_QC_AUTOCORR, DETMON_QC_AUTOCORR_C, DETMON_QC_METHOD, DETMON_QC_METHOD_C, IRPLIB_GAIN_COLLAPSE, IRPLIB_GAIN_NO_COLLAPSE, IRPLIB_GAIN_OPT, IRPLIB_GAIN_PTC, IRPLIB_GAIN_WITH_AUTOCORR, IRPLIB_GAIN_WITH_RESCALE, kappa, llx, lly, method, mode, NIR, OPT, opt_nir, tolerance, urx, ury, xsh_detmon_gain_table_create(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_find_dits_ndits(), xsh_detmon_lg_qc_med(), xsh_detmon_lg_qc_ptc(), and xsh_detmon_lg_rescale().
Referenced by xsh_gain().
|
static |
Definition at line 3276 of file xsh_detmon_lg.c.
References autocorr, IRPLIB_GAIN_NO_COLLAPSE, kappa, mode, sigma, and xsh_ksigma_clip().
Referenced by xsh_detmon_gain_table_fill_row().
| double xsh_detmon_gain_prepare_autocorr | ( | unsigned | mode, |
| const int | pos, | ||
| double | autocorr, | ||
| int | m, | ||
| int | n, | ||
| cpl_imagelist * | diff_flats, | ||
| cpl_image * | on_dif, | ||
| cpl_imagelist * | autocorr_images | ||
| ) |
Definition at line 3333 of file xsh_detmon_lg.c.
References autocorr, IRPLIB_GAIN_WITH_AUTOCORR, m, mode, n, xsh_detmon_autocorr_factor(), and xsh_detmon_lg_add_empty_image().
Referenced by xsh_detmon_gain_table_fill_row().
| double xsh_detmon_gain_prepare_table | ( | const cpl_imagelist * | offs, |
| unsigned | mode, | ||
| int | llx, | ||
| int | lly, | ||
| int | urx, | ||
| int | ury, | ||
| double | kappa, | ||
| int | nclip, | ||
| double | avg_off1, | ||
| double | std, | ||
| const int | pos, | ||
| cpl_table * | gain_table, | ||
| double * | avg_off2, | ||
| double * | sig_off_dif | ||
| ) |
Definition at line 3366 of file xsh_detmon_lg.c.
References IRPLIB_GAIN_COLLAPSE, IRPLIB_GAIN_NO_COLLAPSE, kappa, llx, lly, mode, urx, ury, xsh_detmon_subtract_create_window(), and xsh_ksigma_clip().
Referenced by xsh_detmon_gain_table_fill_row().
|
static |
Definition at line 6453 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_gain(), and xsh_detmon_lg_reduce_init().
|
static |
Operate on input ON and OFF images related to gain Computes all quantities needed to determine the gain:
| gain_table | Gain table |
| autocorr_images | Corr images (intermediate product) |
| diff_flats | Diff flats (intermediate product) |
| ons | Images of the ON pair |
| offs | Images of the OFF pair |
| pos | DIT being processed (entry pos. in table) |
| mode | Possible options (combined with bitwise or) autocorr true/false, opt/nir, collapse true/false pix2pix true/false |
| rows_affected | this parameter is set to skip gain computation |
@doc To compute the gain are needed the following quantities: -a clean mean on each ON and OFF frame of the pair, -a clean standard deviation on each difference ON-OFF of the pair,
gain=[(mon_1+mon_2)-(mof_1+mof_2)]/[sig(on_dif)^2-sig(off_dif)]*alpha+a
where alpha is the autocorrelation factor and a is a correction
which is an estimates of the noise.
Also the autocorrelation factor and the corresponding corrected
gain are computed. As the gain is the slope of the PTC curve
to help the user we actually compute also the Y and X (taking
into account or not of autocorrelation) terms
of the linear relation and store them respectively in the
Y_FIT, X_FIT and X_FIT_CORR columns.
Definition at line 3468 of file xsh_detmon_lg.c.
References autocorr, gain_threshold, IRPLIB_GAIN_NIR, IRPLIB_GAIN_OPT, IRPLIB_GAIN_WITH_AUTOCORR, kappa, llx, lly, m, mode, n, sigma, urx, ury, xsh_detmon_gain_compute_qc(), xsh_detmon_gain_prepare_autocorr(), xsh_detmon_gain_prepare_table(), xsh_detmon_lg_add_empty_image(), xsh_detmon_subtract_create_window(), and xsh_ksigma_clip().
Referenced by xsh_detmon_gain(), and xsh_detmon_lg_reduce_dit().
| cpl_image * xsh_detmon_image_correlate | ( | const cpl_image * | image1, |
| const cpl_image * | image2, | ||
| const int | m, | ||
| const int | n | ||
| ) |
Definition at line 1117 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_autocorr_factor().
| cpl_error_code xsh_detmon_lg | ( | cpl_frameset * | frameset, |
| const cpl_parameterlist * | parlist, | ||
| const char * | tag_on, | ||
| const char * | tag_off, | ||
| const char * | recipe_name, | ||
| const char * | pipeline_name, | ||
| const char * | pafregexp, | ||
| const cpl_propertylist * | pro_lintbl, | ||
| const cpl_propertylist * | pro_gaintbl, | ||
| const cpl_propertylist * | pro_coeffscube, | ||
| const cpl_propertylist * | pro_bpm, | ||
| const cpl_propertylist * | pro_corr, | ||
| const cpl_propertylist * | pro_diff, | ||
| const char * | package, | ||
| int(*)(const cpl_frame *, const cpl_frame *) | compare, | ||
| int(*)(const cpl_frameset *, cpl_type, cpl_imagelist *) | load_fset, | ||
| const cpl_boolean | opt_nir | ||
| ) |
Definition at line 765 of file xsh_detmon_lg.c.
References first, irplib_load_fset_wrp(), irplib_load_fset_wrp_ext(), load_fset, opt_nir, xsh_detmon_lg_check_defaults(), xsh_detmon_lg_config, xsh_detmon_lg_dfs_set_groups(), xsh_detmon_lg_reduce_set(), and xsh_detmon_lg_retrieve_parlist().
Referenced by xsh_lingain().
|
static |
Definition at line 7442 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_check_saturation_on_pair(), xsh_detmon_gain_prepare_autocorr(), and xsh_detmon_gain_table_fill_row().
|
static |
The function is used to identify "empty" ("zero") frames
| x | X_FIT column of the gain table |
| x | Y_FIT column of the gain table |
Definition at line 5924 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_qc_med(), and xsh_detmon_lg_qc_ptc().
|
static |
Check and set default values with depend on the inputs.
| reference | Reference image for default definition |
Definition at line 2231 of file xsh_detmon_lg.c.
References nx, ny, and xsh_detmon_lg_config.
Referenced by xsh_detmon_lg().
|
static |
Core: Reduction and saving (encapsulated to avoid repetition)
| cur_fset_on | Frames tagged ON |
| cur_fset_off | Frames tagged OFF |
| nsets_on | Number of different labels |
| whichext | Extension being processed |
| whichset | Setting being processed |
| recipe_name | Recipe name |
| pipeline_name | Pipeline_name |
| pafregexp | Regexp of instrument-specific keywords for PAF |
| procatg_lintbl | PROCATG of the Linearity Table product (pr.) |
| procatg_gaintbl | PROCATG of the Gain Table pr. |
| procatg_coeffscube | PROCATG of the Polynomial Coefficients Cube pr. |
| procatg_bpm | PROCATG of the Bad Pixel Map pr. |
| procatg_diff | PROCATG of the Difference Image intermediate pr. (only produced if –intermediate=TRUE) |
| procatg_corr | PROCATG of the Autocorrelation Image intermediate pr. (only produced if –intermediate=TRUE) |
| package | Package identifier |
| load_fset | Loading function for preprocessing of input frames with special data format (needed for AMBER and MIDI processing) |
| nsets | Number of different settings |
| opt_nir | Boolean for OPT/NIR cases |
| frameset | Input frameset |
| parlist | Input parlist |
| cur_fset | Used frames |
Definition at line 976 of file xsh_detmon_lg.c.
References load_fset, opt_nir, xsh_detmon_lg_config, xsh_detmon_lg_reduce(), and xsh_detmon_lg_save().
Referenced by xsh_detmon_lg_reduce_set().
|
static |
Definition at line 7426 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_save_cube().
| int xsh_detmon_lg_dfs_set_groups | ( | cpl_frameset * | set, |
| const char * | tag_on, | ||
| const char * | tag_off | ||
| ) |
DFS related function.
| set | Frameset |
| tag_on | ON tag |
| tag_off | OFF tag |
Definition at line 4989 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg().
|
static |
Extract extension headers if multi-extension.
| frameset | Input frameset |
| gaint_qclist | PROCATG of the Gain Table pr. |
| lint_qclist | PROCATG of the Linearity Table product (pr.) |
| linc_qclist | PROCATG of the Linearity Table product (pr.) |
| bpm_qclist | PROCATG of the Bad Pixel Map pr. |
| whichext | Extension being processed |
Definition at line 3948 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config.
Referenced by xsh_detmon_lg_save().
|
static |
Definition at line 3922 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_save().
| cpl_error_code xsh_detmon_lg_fill_parlist | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name, | ||
| const char * | method, | ||
| int | order, | ||
| double | kappa, | ||
| int | niter, | ||
| int | llx, | ||
| int | lly, | ||
| int | urx, | ||
| int | ury, | ||
| int | ref_level, | ||
| const char * | intermediate, | ||
| const char * | autocorr, | ||
| const char * | collapse, | ||
| const char * | rescale, | ||
| const char * | pix2pix, | ||
| const char * | bpmbin, | ||
| int | filter, | ||
| int | m, | ||
| int | n, | ||
| double | tolerance, | ||
| const char * | pafgen, | ||
| const char * | pafname, | ||
| int | llx1, | ||
| int | lly1, | ||
| int | urx1, | ||
| int | ury1, | ||
| int | llx2, | ||
| int | lly2, | ||
| int | urx2, | ||
| int | ury2, | ||
| int | llx3, | ||
| int | lly3, | ||
| int | urx3, | ||
| int | ury3, | ||
| int | llx4, | ||
| int | lly4, | ||
| int | urx4, | ||
| int | ury4, | ||
| int | llx5, | ||
| int | lly5, | ||
| int | urx5, | ||
| int | ury5, | ||
| int | exts, | ||
| cpl_boolean | opt_nir | ||
| ) |
Generic parlist filling for Lin/Gain recipe.
| parlist | Pointer to parlist where parameters will be inserted |
| recipe_name | Recipe name (used for parameter name construction) |
| pipeline_name | Pipeline name (used for parameter name construction) |
| method | Method to be used for Gain computation |
| order | Order of the polynomial linearity fitting |
| kappa | Kappa value for kappa-sigma clipping (used for Gain) |
| niter | Number of iterations in kappa-sigma clipping |
| threshold_min | Minimum threshold (not used now) |
| threshold_max | Maximum threshold (not used now) |
| llx | Lower left point of the ROI, x-coordinate |
| lly | Lower left point of the POI, y-coordinate |
| urx | Upper right point of the ROI, x-coordinate |
| ury | Upper right point of the POI, y-coordinate |
| ref_level | Reference level to compute Linearity Correction |
| threshold | Threshold (not used now) |
| intermediate | String. Must be <"CPL_FALSE"|"CPL_TRUE"> |
| autocorr | String. Must be <"CPL_FALSE"|"CPL_TRUE"> |
| collapse | String. Must be <"CPL_FALSE"|"CPL_TRUE"> |
| rescale | String. Must be <"CPL_FALSE"|"CPL_TRUE"> |
| pix2pix | String. Must be <"CPL_FALSE"|"CPL_TRUE"> |
| filter | Level to filter saturated frames |
| m | X-axis shift of the autocorrelation |
| n | Y-axis shift of the autocorrelation |
| llx1 | llx for contamination - 1. region (OPT only) |
| lly1 | lly for contamination - 1. region (OPT only) |
| urx1 | urx for contamination - 1. region (OPT only) |
| ury1 | ury for contamination - 1. region (OPT only) |
| llx2 | llx for contamination - 2. region (OPT only) |
| lly2 | lly for contamination - 2. region (OPT only) |
| urx2 | urx for contamination - 2. region (OPT only) |
| ury2 | ury for contamination - 2. region (OPT only) |
| llx3 | llx for contamination - 3. region (OPT only) |
| lly3 | lly for contamination - 3. region (OPT only) |
| urx3 | urx for contamination - 3. region (OPT only) |
| ury3 | ury for contamination - 3. region (OPT only) |
| llx4 | llx for contamination - 4. region (OPT only) |
| lly4 | lly for contamination - 4. region (OPT only) |
| urx4 | urx for contamination - 4. region (OPT only) |
| ury4 | ury for contamination - 4. region (OPT only) |
| llx5 | llx for contamination - 5. region (OPT only) |
| lly5 | lly for contamination - 5. region (OPT only) |
| urx5 | urx for contamination - 5. region (OPT only) |
| ury5 | ury for contamination - 5. region (OPT only) |
| exts | Extension to be computed |
| opt_nir | Controls insertion of llx{1,...} only in OPT case |
Definition at line 1662 of file xsh_detmon_lg.c.
References autocorr, bpmbin, collapse, exts, filter, intermediate, kappa, llx, llx1, llx2, llx3, llx4, llx5, lly, lly1, lly2, lly3, lly4, lly5, m, method, n, niter, opt_nir, order, pafgen, pafname, pix2pix, ref_level, rescale, tolerance, urx, urx1, urx2, urx3, urx4, urx5, ury, ury1, ury2, ury3, ury4, ury5, and xsh_detmon_fill_parlist().
Referenced by xsh_detmon_lg_fill_parlist_nir_default(), and xsh_detmon_lg_fill_parlist_opt_default().
| cpl_error_code xsh_detmon_lg_fill_parlist_default_mr | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name | ||
| ) |
Definition at line 1551 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist_nir_default_mr(), and xsh_detmon_lg_fill_parlist_opt_default_mr().
| cpl_error_code xsh_detmon_lg_fill_parlist_nir_default | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name | ||
| ) |
Parlist filling with NIR required parameters and its default values.
| parlist | Pointer to parlist where parameters will be inserted |
| recipe_name | Recipe name (used for parameter name construction) |
| pipeline_name | Pipeline name (used for parameter name construction) |
Definition at line 1426 of file xsh_detmon_lg.c.
References NIR, and xsh_detmon_lg_fill_parlist().
Referenced by xsh_detmon_lg_fill_parlist_nir_default_mr(), and xsh_lingain_fill_parlist_default_nir().
| cpl_error_code xsh_detmon_lg_fill_parlist_nir_default_mr | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name | ||
| ) |
Definition at line 1595 of file xsh_detmon_lg.c.
References xsh_detmon_lg_fill_parlist_default_mr(), and xsh_detmon_lg_fill_parlist_nir_default().
| cpl_error_code xsh_detmon_lg_fill_parlist_opt_default | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name | ||
| ) |
Parlist filling with OPT required parameters and its default values.
| parlist | Pointer to parlist where parameters will be inserted |
| recipe_name | Recipe name (used for parameter name construction) |
| pipeline_name | Pipeline name (used for parameter name construction) |
Definition at line 1495 of file xsh_detmon_lg.c.
References OPT, and xsh_detmon_lg_fill_parlist().
Referenced by xsh_detmon_lg_fill_parlist_opt_default_mr(), and xsh_lingain_fill_parlist_default_opt().
| cpl_error_code xsh_detmon_lg_fill_parlist_opt_default_mr | ( | cpl_parameterlist * | parlist, |
| const char * | recipe_name, | ||
| const char * | pipeline_name | ||
| ) |
Definition at line 1585 of file xsh_detmon_lg.c.
References xsh_detmon_lg_fill_parlist_default_mr(), and xsh_detmon_lg_fill_parlist_opt_default().
|
static |
Definition at line 6503 of file xsh_detmon_lg.c.
References tolerance.
Referenced by xsh_detmon_lin().
|
static |
Definition at line 6538 of file xsh_detmon_lg.c.
References size, and tolerance.
Referenced by xsh_detmon_gain().
|
static |
Fits COEFFS_CUBE and BPM outputs to whole-chip size images (DFS05711)
| coeffs_ptr | Pointer to output coeffs' cube imagelist |
| bpms_ptr | Pointer to output bpm image |
Definition at line 5032 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config.
Referenced by xsh_detmon_lg_reduce_all().
|
static |
Compute lamp stability.
| lamps | Lamps (ON) sub-frameset |
| darks | Darks (OFF) sub-frameset |
| opt_nir | Boolean to make difference between OPT and NIR cases |
Definition at line 2703 of file xsh_detmon_lg.c.
References irplib_pfits_get_dit(), irplib_pfits_get_dit_opt(), opt_nir, xsh_detmon_lg_config, and xsh_detmon_load_frameset_window().
Referenced by xsh_detmon_lg_reduce().
|
static |
Linearity effective correction (LIN.EFF) computation.
| pcoeffs | Pointer to array of polynomial coefficients of the fit |
| qclist | qclist |
| ref_level | reference level used in the construction of the polynomial F_m(F_r) from F_m(t), using F_r = a_1 * t |
Definition at line 5686 of file xsh_detmon_lg.c.
References DETMON_QC_LIN_EFF, DETMON_QC_LIN_EFF_C, DETMON_QC_LIN_EFF_FLUX, DETMON_QC_LIN_EFF_FLUX_C, order, and ref_level.
Referenced by xsh_detmon_lg_reduce_all(), and xsh_detmon_lin().
|
static |
MED method final computation. The median and stdev of the column "GAIN", and the median of the column "GAIN_CORR" are computed and corresponding QC keywords are set.
| gain_table | Gain Table (with data required by the method) |
| qclist | qclist |
Definition at line 5955 of file xsh_detmon_lg.c.
References DETMON_QC_CONAD, DETMON_QC_CONAD_C, DETMON_QC_CONAD_CORR, DETMON_QC_CONAD_CORR_C, DETMON_QC_GAIN, DETMON_QC_GAIN_C, DETMON_QC_GAIN_CORR, DETMON_QC_GAIN_CORR_C, DETMON_QC_GAIN_MSE, DETMON_QC_GAIN_MSE_C, x, xsh_detmon_lg_check_before_gain(), and y.
Referenced by xsh_detmon_gain(), and xsh_detmon_lg_reduce_all().
|
static |
PTC (Photon Transfer Curve) method final computation.
| gain_table | Gain Table (with data required by the method) |
| qclist | qclist |
Definition at line 5791 of file xsh_detmon_lg.c.
References DETMON_QC_CONAD, DETMON_QC_CONAD_C, DETMON_QC_CONAD_CORR, DETMON_QC_CONAD_CORR_C, DETMON_QC_GAIN, DETMON_QC_GAIN_C, DETMON_QC_GAIN_CORR, DETMON_QC_GAIN_CORR_C, IRPLIB_GAIN_WITH_AUTOCORR, mode, x, xsh_detmon_lg_check_before_gain(), and y.
Referenced by xsh_detmon_gain(), and xsh_detmon_lg_reduce_all().
|
static |
Apply linearity and gain reduction algorithms.
| set_on | ON sub-frameset |
| set_off | OFF sub-frameset |
| nsets_extracted | Number of different labels (DITs) |
| coeffs_ptr | Pointer to output coeffs imagelist |
| gain_table | Gain table |
| linear_table | Linearity table |
| bpm_ptr | Pointer to output bad pixel map |
| autocorr_images | Corr imagelist (intermediate product) |
| diff_flats | Diff imagelist (intermediate product) |
| qclist | qclist |
| load_fset | Loading function for preprocessing of input frames with special data format (needed for AMBER and MIDI processing) |
| opt_nir | Boolean to differ OPT and NIR cases |
| whichext | Extension currently being processed |
Definition at line 2411 of file xsh_detmon_lg.c.
References DETMON_QC_GAIN, first, load_fset, opt_nir, xsh_detmon_add_adl_column(), xsh_detmon_fpn_compute(), xsh_detmon_lg_config, xsh_detmon_lg_lamp_stab(), xsh_detmon_lg_reduce_all(), xsh_detmon_lg_reduce_dit(), xsh_detmon_lg_reduce_init(), and xsh_detmon_table_fill_invalid().
Referenced by xsh_detmon_lg_core().
|
static |
Final reduction step (after DIT-per-DIT reduction): fit linearity data and determine corresponding QC parameters, determine QC related gain parameters, determine linearity efficiency parameters, determines non linear pixels.
| linear_table | Linearity Table |
| qclist | qclist |
| coeffs_ptr | Pointer to output coeffs' cube imagelist |
| bpms_ptr | Pointer to output bpm image |
| linearity_inputs | Input imagelist for pix2pix fitting |
| gain_table | Gain Table |
| whichext | Extension being currently processed |
Definition at line 5380 of file xsh_detmon_lg.c.
References autocorr, DETMON_QC_AUTOCORR, DETMON_QC_AUTOCORR_C, DETMON_QC_COUNTS_MAX, DETMON_QC_COUNTS_MAX_C, DETMON_QC_COUNTS_MIN, DETMON_QC_COUNTS_MIN_C, DETMON_QC_ERRFIT, DETMON_QC_ERRFIT_C, DETMON_QC_ERRFIT_MSE_C, DETMON_QC_LAMP_FLUX, DETMON_QC_LAMP_FLUX_C, DETMON_QC_LAMP_STAB, DETMON_QC_LAMP_STAB_C, DETMON_QC_LIN_COEF_C, DETMON_QC_LIN_COEF_ERR_C, DETMON_QC_METHOD, DETMON_QC_METHOD_C, DETMON_QC_NUM_BPM, DETMON_QC_NUM_BPM_C, first, IRPLIB_GAIN_WITH_AUTOCORR, mode, NIR, opt_nir, order, x, xsh_detmon_compute_badpixmap(), xsh_detmon_lg_config, xsh_detmon_lg_fits_coeffs_and_bpm2chip(), xsh_detmon_lg_lineff(), xsh_detmon_lg_qc_med(), xsh_detmon_lg_qc_ptc(), and y.
Referenced by xsh_detmon_lg_reduce().
|
static |
Reduction step to be applied together to frames of same DIT.
| set_on | ON sub-frameset |
| dit_nb | DIT of frames to be processed in this call |
| nsets_extracted | Number of different labels (DITs) |
| set_off | OFF sub-frameset |
| selection_off | Array of labels to identify pairs in set_off |
| linear_table | Linearity table |
| gain_table | Gain table |
| linearity_inputs | Imagelist to be input of pix2pix fitting |
| qclist | qclist |
| opt_nir | Boolean to differ OPT and NIR cases |
| autocorr_images | Corr imagelist (intermediate product) |
| diff_flats | Diff imagelist (intermediate product) |
| opt_offs | OFF imagelist used in OPT (eq. for all DITs) |
| whichext | Extension currently being processed |
Definition at line 2892 of file xsh_detmon_lg.c.
References irplib_fill_table_DETWINUIT(), IRPLIB_GAIN_COLLAPSE, IRPLIB_GAIN_NIR, IRPLIB_GAIN_NO_COLLAPSE, IRPLIB_GAIN_OPT, IRPLIB_GAIN_WITH_AUTOCORR, IRPLIB_LIN_COLLAPSE, IRPLIB_LIN_NIR, IRPLIB_LIN_NO_COLLAPSE, IRPLIB_LIN_OPT, IRPLIB_LIN_PIX2PIX, irplib_pfits_get_dit(), irplib_pfits_get_exptime(), irplib_pfits_get_ndit(), irplib_table_create_column(), mode, NIR, OPT, opt_nir, xsh_detmon_check_saturation_on_pair(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_config, xsh_detmon_lg_rescale(), xsh_detmon_lin_table_fill_row(), xsh_detmon_opt_contamination(), xsh_detmon_pair_extract_next(), and xsh_detmon_single_extract_next().
Referenced by xsh_detmon_lg_reduce().
|
static |
Create columns of product tables and init linearity_inputs.
| gain_table | Gain Table |
| linear_table | Linearity Table |
| linearity_inputs | Imagelist to be input of pix2pix fitting |
Definition at line 3203 of file xsh_detmon_lg.c.
References opt_nir, xsh_detmon_gain_table_create(), xsh_detmon_lg_config, and xsh_detmon_lin_table_create().
Referenced by xsh_detmon_lg_reduce().
|
static |
Definition at line 549 of file xsh_detmon_lg.c.
References load_fset, opt_nir, xsh_detmon_check_order(), xsh_detmon_lg_config, xsh_detmon_lg_core(), and xsh_detmon_lg_split_onoff().
Referenced by xsh_detmon_lg().
|
static |
Rescale of images (one to another level)
| to_rescale | Imagelist to be rescaled |
Definition at line 6030 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config.
Referenced by xsh_detmon_gain(), xsh_detmon_lg_reduce_dit(), and xsh_detmon_lin().
|
static |
Parlist extraction and copy to global struct variable.
| parlist | Parlist |
| recipe_name | Recipe name (used for parameter name construction) |
| pipeline_name | Pipeline name (used for parameter name construction) |
| opt_nir | Boolean to make difference between OPT and NIR cases |
Definition at line 1913 of file xsh_detmon_lg.c.
References FPN_HISTOGRAM, FPN_SMOOTH, OPT, opt_nir, xsh_detmon_lg_config, xsh_detmon_retrieve_par_double(), and xsh_detmon_retrieve_par_int().
Referenced by xsh_detmon_lg().
|
static |
Save all products.
| frameset | Input frameset |
| parlist | Input parlist |
| recipe_name | Recipe name |
| pipeline_name | Pipeline_name |
| pafregexp | Regexp of instrument-specific keywords for PAF |
| procatg_lintbl | PROCATG of the Linearity Table product (pr.) |
| procatg_gaintbl | PROCATG of the Gain Table pr. |
| procatg_coeffscube | PROCATG of the Polynomial Coefficients Cube pr. |
| procatg_bpm | PROCATG of the Bad Pixel Map pr. |
| procatg_corr | PROCATG of the Autocorrelation Image intermediate pr. (only produced if –intermediate=TRUE) |
| procatg_diff | PROCATG of the Difference Image intermediate pr. (only produced if –intermediate=TRUE) |
| package | Package identifier |
| coeffs | Coefficients' cube |
| gain_table | Gain Table |
| linear_table | Linearity Table |
| bpms | Bad Pixel Map |
| autocorr_images | Autocorrelation Images |
| diff_flats | Difference Images |
| qclist | qclist |
| flag_sets | Flag to indicate if there is more than a setting |
| which_set | Current setting |
| usedframes | usedframes |
| whichext | Extension being processed |
Definition at line 4402 of file xsh_detmon_lg.c.
References irplib_free(), xsh_detmon_lg_config, xsh_detmon_lg_extract_extention_header(), xsh_detmon_lg_extract_qclist_4plane(), xsh_detmon_lg_save_cube(), xsh_detmon_lg_save_image_with_pro_keys(), xsh_detmon_lg_save_paf_product(), xsh_detmon_lg_save_plane(), and xsh_detmon_lg_save_table_with_pro_keys().
Referenced by xsh_detmon_lg_core().
|
static |
Save cube product.
| parlist | Input parlist |
| frameset | Input frameset |
| usedframes | usedframes |
| whichext | Extension being processed |
| recipe_name | Recipe name |
| mypro_coeffscube | cube header |
| mypro_coeffscube | cube QC header |
| package | Package identifier |
| NAME_O | cube filename |
| coeffs | Coefficients' cube |
Definition at line 4180 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config, xsh_detmon_lg_dfs_save_imagelist(), and xsh_detmon_lg_save_imagelist_with_pro_keys().
Referenced by xsh_detmon_lg_save().
|
static |
Save cube product.
| image | Image to save |
| name_o | Output filename |
| xheader | extention header |
Definition at line 4045 of file xsh_detmon_lg.c.
References xsh_detmon_load_pro_keys().
Referenced by xsh_detmon_lg_save(), and xsh_detmon_lg_save_plane().
|
static |
Save cube product.
| image | Image to save |
| name_o | Output filename |
| xheader | extention header |
Definition at line 4072 of file xsh_detmon_lg.c.
References xsh_detmon_load_pro_keys().
Referenced by xsh_detmon_lg_save_cube().
|
static |
Definition at line 4318 of file xsh_detmon_lg.c.
References xsh_detmon_lg_set_paf_name_and_header(), and xsh_detmon_lg_set_paf_name_and_header_ext().
Referenced by xsh_detmon_lg_save().
|
static |
Save cube product.
| parlist | Input parlist |
| frameset | Input frameset |
| usedframes | usedframes |
| whichext | Extension being processed |
| recipe_name | Recipe name |
| mypro_coeffscube | cube header |
| mypro_coeffscube | cube QC header |
| package | Package identifier |
| NAME_O | cube filename |
| plane | Coefficients' cube plane |
Definition at line 4108 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config, and xsh_detmon_lg_save_image_with_pro_keys().
Referenced by xsh_detmon_lg_save().
|
static |
Save cube product.
| image | Image to save |
| name_o | Output filename |
| xheader | extention header |
| CPL_IO_MODE | IO mode |
Definition at line 4009 of file xsh_detmon_lg.c.
References xsh_detmon_load_pro_keys().
Referenced by xsh_detmon_lg_save().
|
static |
Definition at line 4230 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config.
Referenced by xsh_detmon_lg_save_paf_product().
|
static |
Definition at line 4277 of file xsh_detmon_lg.c.
References xsh_detmon_lg_config.
Referenced by xsh_detmon_lg_save_paf_product().
| cpl_error_code xsh_detmon_lg_set_tag | ( | cpl_frameset * | set, |
| const char ** | tag_on, | ||
| const char ** | tag_off | ||
| ) |
Definition at line 7457 of file xsh_detmon_lg.c.
References DETMON_LG_OFF_RAW_NEW, DETMON_LG_OFF_RAW_OLD, DETMON_LG_ON_RAW_NEW, and DETMON_LG_ON_RAW_OLD.
|
static |
Split the input frameset into two sub-framesets (ON and OFF)
| cur_fset | Pointer to input frameset |
| cur_fset_on | Pointer to output ON sub-frameset |
| cur_fset_off | Pointer to output OFF sub-frameset |
| tag_on | Tag to identify ON frames |
| tag_off | Tag to identify OFF frames |
| opt_nir | Boolean to make difference between OPT and NIR |
Definition at line 2329 of file xsh_detmon_lg.c.
References first, OPT, opt_nir, and xsh_detmon_lg_config.
Referenced by xsh_detmon_lg_reduce_set().
| cpl_table * xsh_detmon_lin | ( | const cpl_imagelist * | imlist_on, |
| const cpl_imagelist * | imlist_off, | ||
| const cpl_vector * | exptimes, | ||
| double | tolerance, | ||
| int | llx, | ||
| int | lly, | ||
| int | urx, | ||
| int | ury, | ||
| int | order, | ||
| int | ref_level, | ||
| double | kappa, | ||
| cpl_boolean | bpmbin, | ||
| cpl_propertylist * | qclist, | ||
| unsigned | mode, | ||
| cpl_imagelist ** | coeffs_cube, | ||
| cpl_image ** | bpm | ||
| ) |
Linearity computation.
| imlist_on | Input ON imagelist |
| imlist_off | Input OFF imagelist |
| exptimes | Vector containing EXPTIME values corresponding to input imagelists |
| tolerance | Tolerance allowed between EXPTIME of frames in a pair |
| llx | Region to compute |
| lly | Region to compute |
| urx | Region to compute |
| ury | Region to compute |
| order | polynomial order used to fit linearity relation |
| ref_level | reference level used in the construction of the polynomial F_m(F_r) from F_m(t), using F_r = a_1 * t |
| kappa | kappa used in kappa-sigma clipping |
| bpmbin | switch to De-/Activate the binary bpm option |
| qclist | QC list |
| mode | Possible options (combined with bitwise or) autocorr true/false, opt/nir, collapse true/false pix2pix true/false |
| coeffs_cube | Output Coefficients Cube (only if IRPLIB_LIN_PIX2PIX) |
| bpm | Bad pixel map (only if IRPLIB_LIN_PIX2PIX) |
imlist_on must have the same size of exptimes.
imlist_off must have either the same size of exptimes only if using mode IRPLIB_LIN_NO_COLLAPSE. (NOTE: this is usual case in IR domain). Otherwise (OPT domain) any size is accepted (as all images will be collapse to a MASTERBIAS).
This function assumes image i in imlist_on has been taken with EXPTIME equal to position i in exptimes. The same is assumed for imlist_off if it is of the same length as imlist_on.
Every different EXPTIME value in exptimes must appear at least twice within the vector; in any case, an even number of times.
These are these supported modes: IRPLIB_LIN_PIX2PIX : Fit for each pixel position IRPLIB_LIN_WITH_RESCALE : Rescale images in each pair one to the another IRPLIB_LIN_NO_COLLAPSE : No collapse of darks/biases (NIR) IRPLIB_LIN_COLLAPSE : Collapse of darks/biases (OPT) IRPLIB_LIN_OPT : Optical data (output will have EXPTIME column) IRPLIB_LIN_NIR : Optical data (output will have NIR column)
It is mandatory to choose at least the collapse / no collapse and the data. By default, MEDIAN method is applied.
Example:
As said above, a minimum of 2 bitwise options must be passed to mode. In the example, IRPLIB_LIN_NO_COLLAPSE can be replaced with IRPLIB_LIN_COLLAPSE, IRPLIB_LIN_NIR with IRPLIB_LIN_OPT or both. Of course, other options can be added bitwise as well to the mode.
Possible #_cpl_error_code_ set in this function:
Definition at line 6668 of file xsh_detmon_lg.c.
References bpmbin, collapse, DETMON_QC_ERRFIT, DETMON_QC_ERRFIT_C, DETMON_QC_ERRFIT_MSE_C, DETMON_QC_LIN_COEF_C, DETMON_QC_LIN_COEF_ERR_C, DETMON_QC_NUM_BPM, DETMON_QC_NUM_BPM_C, first, IRPLIB_LIN_COLLAPSE, IRPLIB_LIN_NO_COLLAPSE, IRPLIB_LIN_OPT, IRPLIB_LIN_PIX2PIX, IRPLIB_LIN_WITH_RESCALE, kappa, llx, lly, mode, NIR, OPT, opt_nir, order, ref_level, tolerance, urx, ury, x, xsh_detmon_add_adl_column(), xsh_detmon_bpixs(), xsh_detmon_lg_find_dits(), xsh_detmon_lg_lineff(), xsh_detmon_lg_rescale(), xsh_detmon_lin_table_create(), xsh_detmon_lin_table_fill_row(), and y.
|
static |
Definition at line 6484 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_reduce_init(), and xsh_detmon_lin().
|
static |
Fill i-th row in Linearity Table: DIT or EXPTIME, MEAN, MED, MEAN_DIT, MED_DIT.
| lin_table | Linearity Table |
| linearity_inputs | Imagelist for later use in algorithm |
| ons | Images of the ON pair |
| offs | Images of the OFF pai |
| llx | lower left x |
| lly | lower left y |
| urx | upper right x |
| ury | upper right y |
| pos | Position in table |
| nskip | Positions to skip (due to saturated images) |
| mode | switch to know if OPT or NIR mode |
@doc For each frame integradion time (DIT or EXPTIME), computes mean and median value of the extracted signal in a given rectangular region of a difference frame obtained by subtracting pixel by pixel the 2 difference frames obtained subtracting each off frame from the corresponding on frame.
Definition at line 7063 of file xsh_detmon_lg.c.
References IRPLIB_LIN_COLLAPSE, IRPLIB_LIN_NIR, IRPLIB_LIN_OPT, IRPLIB_LIN_PIX2PIX, llx, lly, mode, urx, ury, and xsh_detmon_subtracted_avg().
Referenced by xsh_detmon_lg_reduce_dit(), and xsh_detmon_lin().
|
static |
Load pro keys.
| NAME_O | product file name |
Definition at line 3254 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_save_image_with_pro_keys(), xsh_detmon_lg_save_imagelist_with_pro_keys(), and xsh_detmon_lg_save_table_with_pro_keys().
|
static |
Contamination computation (OPT only)
| reduced | Image to compute contamination |
| qclist | qclist @doc The median flux ion 5 fields of a reduced flat field (on-off frame) are computed and stored as QC in QC CONTAM MED | STD |
Definition at line 4907 of file xsh_detmon_lg.c.
References DETMON_QC_CONTAM, DETMON_QC_CONTAM_C, IRPLIB_LIN_COLLAPSE, llx, lly, mode, urx, ury, xsh_detmon_lg_config, and xsh_detmon_subtracted_avg().
Referenced by xsh_detmon_lg_reduce_dit().
|
static |
Definition at line 6062 of file xsh_detmon_lg.c.
References tolerance.
Referenced by xsh_detmon_lg_reduce_dit().
|
static |
Definition at line 6113 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_reduce_dit().
|
static |
Definition at line 2608 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_reduce().
| cpl_boolean autocorr |
Definition at line 116 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_autocorr_factor(), xsh_detmon_autocorrelate(), xsh_detmon_gain(), xsh_detmon_gain_compute_qc(), xsh_detmon_gain_prepare_autocorr(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_fill_parlist(), and xsh_detmon_lg_reduce_all().
| cpl_boolean bpmbin |
Definition at line 121 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_bpixs(), xsh_detmon_lg_fill_parlist(), and xsh_detmon_lin().
| cpl_boolean collapse |
Definition at line 118 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist(), and xsh_detmon_lin().
| double cr |
Definition at line 127 of file xsh_detmon_lg.c.
Referenced by calc_resp_qc().
| int exts |
Definition at line 128 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int filter |
Definition at line 122 of file xsh_detmon_lg.c.
Referenced by xsh_atrous(), xsh_bpm_filter(), xsh_detmon_lg_fill_parlist(), xsh_image_filter_mode(), and xsh_image_smooth_fft().
| FPN_METHOD fpn_method |
Definition at line 135 of file xsh_detmon_lg.c.
Referenced by irplib_fpn_lg(), and xsh_detmon_fpn_compute().
| int fpn_smooth |
Definition at line 136 of file xsh_detmon_lg.c.
| double gain_threshold |
Definition at line 138 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_gain_table_fill_row().
| cpl_boolean intermediate |
Definition at line 117 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| double kappa |
Definition at line 81 of file xsh_detmon_lg.c.
Referenced by compute_specres(), xsh_array_clip_mean(), xsh_array_clip_median(), xsh_array_clip_poly1d(), xsh_background_poly(), xsh_cfg_recover_measure_tab_xy_peaks(), xsh_create_master_dark2(), xsh_detect_outliers_thres_new(), xsh_detect_raw_data_outliers_1d(), xsh_detect_raw_data_outliers_1d_slice(), xsh_detmon_bpixs(), xsh_detmon_check_saturation_on_pair(), xsh_detmon_compute_badpixmap(), xsh_detmon_gain(), xsh_detmon_gain_compute_qc(), xsh_detmon_gain_prepare_table(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lin(), xsh_detmon_rm_bpixs(), xsh_fit_spline1(), xsh_fit_spline2(), xsh_gain(), xsh_image_create_model_image(), xsh_image_get_stdev_clean(), xsh_image_local_cold_pixs(), xsh_image_local_hot_pixs(), xsh_image_mflat_detect_blemishes(), xsh_irplib_imagelist_get_clean_mean_levels(), xsh_irplib_mkmaster_mean(), xsh_irplib_mkmaster_median(), xsh_ksigma_clip(), xsh_linetilt_list_save(), xsh_localize_obj_auto(), xsh_opt_extract_orders(), xsh_optextract_produce_model(), xsh_polynomial_regression_2d(), xsh_pre_median_mean_stdev_window(), xsh_spectrum_detect_peaks(), xsh_table_column_clip(), and xsh_utils_efficiency_internal().
| cpl_boolean lamp_ok |
Definition at line 131 of file xsh_detmon_lg.c.
| double lamp_stability |
Definition at line 130 of file xsh_detmon_lg.c.
| int llx |
Definition at line 85 of file xsh_detmon_lg.c.
Referenced by calc_curve_qc(), expand_region(), set_masterbias_qc_structure_region(), set_masterbias_qc_xsh_structure_region(), xsh_combine_flats(), xsh_compute_flat_edges(), xsh_compute_ron(), xsh_cube_qc_trace_window(), xsh_detmon_check_saturation_on_pair(), xsh_detmon_compute_badpixmap(), xsh_detmon_fpn_compute(), xsh_detmon_gain(), xsh_detmon_gain_prepare_table(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lin(), xsh_detmon_lin_table_fill_row(), xsh_detmon_load_frameset_window(), xsh_detmon_opt_contamination(), xsh_detmon_subtract_create_window(), xsh_detmon_subtracted_avg(), xsh_edge_check(), xsh_gain(), xsh_get_master_dark_nir_via_noise(), xsh_ifu_trace_object_calibrate(), xsh_image_find_barycenter(), xsh_image_fit_gaussian_max_pos_x_window(), xsh_image_qc_trace_window(), xsh_image_search_bad_pixels_via_noise(), xsh_image_stats_on_rectangle(), xsh_ksigma_clip(), xsh_pre_median_mean_stdev_window(), and xsh_util_ronbias().
| int llx1 |
Definition at line 93 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int llx2 |
Definition at line 97 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int llx3 |
Definition at line 101 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int llx4 |
Definition at line 105 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int llx5 |
Definition at line 109 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int lly |
Definition at line 86 of file xsh_detmon_lg.c.
Referenced by calc_curve_qc(), expand_region(), set_masterbias_qc_structure_region(), set_masterbias_qc_xsh_structure_region(), xsh_combine_flats(), xsh_compute_ron(), xsh_convert_xy_to_ws(), xsh_detmon_check_saturation_on_pair(), xsh_detmon_compute_badpixmap(), xsh_detmon_fpn_compute(), xsh_detmon_gain(), xsh_detmon_gain_prepare_table(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lin(), xsh_detmon_lin_table_fill_row(), xsh_detmon_load_frameset_window(), xsh_detmon_opt_contamination(), xsh_detmon_subtract_create_window(), xsh_detmon_subtracted_avg(), xsh_gain(), xsh_get_master_dark_nir_via_noise(), xsh_ifu_trace_object_calibrate(), xsh_image_find_barycenter(), xsh_image_fit_gaussian_max_pos_y_window(), xsh_image_qc_trace_window(), xsh_image_search_bad_pixels_via_noise(), xsh_image_stats_on_rectangle(), xsh_ksigma_clip(), xsh_pre_median_mean_stdev_window(), and xsh_util_ronbias().
| int lly1 |
Definition at line 94 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int lly2 |
Definition at line 98 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int lly3 |
Definition at line 102 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int lly4 |
Definition at line 106 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int lly5 |
Definition at line 110 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int(* load_fset) (const cpl_frameset *, cpl_type, cpl_imagelist *) | ( | const cpl_frameset * | , |
| cpl_type | , | ||
| cpl_imagelist * | |||
| ) |
Definition at line 133 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg(), xsh_detmon_lg_core(), xsh_detmon_lg_reduce(), and xsh_detmon_lg_reduce_set().
| cpl_imagelist *(* load_fset_wrp) (const cpl_frameset *, cpl_type, int) | ( | const cpl_frameset * | , |
| cpl_type | , | ||
| int | |||
| ) |
Definition at line 134 of file xsh_detmon_lg.c.
| int m |
Definition at line 91 of file xsh_detmon_lg.c.
Referenced by irplib_matrix_product_normal_create(), reverse_tanh_kernel(), xsh_compute_scale_tab(), xsh_compute_scale_tab2(), xsh_compute_scale_tab3(), xsh_correct_scale(), xsh_correct_scale_w(), xsh_create_sampl_table(), xsh_detmon_autocorr_factor(), xsh_detmon_autocorrelate(), xsh_detmon_gain_prepare_autocorr(), xsh_detmon_gain_table_fill_row(), xsh_detmon_image_correlate(), xsh_detmon_lg_fill_parlist(), xsh_extract_clean_slice(), xsh_free_array(), xsh_free_mask(), xsh_free_matrix(), xsh_image_div_by_fct(), xsh_image_filter_wrapper(), xsh_image_mult_by_fct(), xsh_matrix_product_normal_create(), xsh_physmod_grating(), xsh_pre_subsample(), xsh_qual2tab_frames(), xsh_remove_crh_single(), xsh_resample_double(), xsh_SAdwell(), xsh_SAiterations(), xsh_star_flux_list_extrapolate_wave_end(), xsh_vector_supersample(), and xsh_vector_upsample().
| const char* method |
Definition at line 78 of file xsh_detmon_lg.c.
Referenced by test_combine_lists(), xsh_build_ifu_cube(), xsh_cfg_recover_last_step(), xsh_cfg_recover_measure_line_xy(), xsh_compute_flat_edges(), xsh_cube_qc_trace_window(), xsh_detect_order_edge(), xsh_detmon_gain(), xsh_detmon_lg_fill_parlist(), xsh_frame_image_ext_qc_trace_window(), xsh_frame_image_qc_trace_window(), xsh_geom_ifu(), xsh_image_qc_trace_window(), xsh_molecfit_telluric(), xsh_optextract_produce_model(), xsh_parameters_extract_create(), xsh_rec_list_add(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), and xsh_util_ifu_build_cube().
| int n |
Definition at line 92 of file xsh_detmon_lg.c.
Referenced by clean_arclist_data(), create_resid_tab(), data_wavesol_fit_with_sigma(), deriv(), equilibrate(), esp_det_line(), esp_fit_lcont(), esp_spec_deriv(), esp_spec_smooth(), expb_df(), expb_f(), find_left_right_continuum_pos(), fitngauss(), irplib_matrix_product_normal_create(), irplib_matrix_solve_chol_transpose(), irplib_polynomial_shift_double(), main(), poly_fitn(), reverse_tanh_kernel(), set_qc_parameters(), smooth(), test_gsl_example(), theo_tab_filter(), theo_tab_model(), xsh_bspline_fit_smooth(), xsh_bspline_fit_smooth_data(), xsh_bspline_fit_smooth_data2(), xsh_clean_mean(), xsh_compute_scale(), xsh_compute_scale_tab(), xsh_compute_scale_tab2(), xsh_compute_scale_tab3(), xsh_detect_raw_data_outliers_1d(), xsh_detect_raw_data_outliers_1d_slice(), xsh_detmon_autocorr_factor(), xsh_detmon_autocorrelate(), xsh_detmon_gain_prepare_autocorr(), xsh_detmon_gain_table_fill_row(), xsh_detmon_image_correlate(), xsh_detmon_lg_fill_parlist(), xsh_detmon_load_frameset_window(), xsh_fit_imagelist_is_zero_macro(), xsh_fit_spline1(), xsh_fit_spline2(), xsh_frameset_dump(), xsh_frameset_dump_nod_info(), xsh_get_exptimes(), xsh_gsl_bspline_non_uniform(), xsh_gsl_fit_gaussian(), xsh_image_extract_optimal(), xsh_image_search_bad_pixels_via_noise(), xsh_image_stats_on_rectangle(), xsh_imagelist_collapse_sigclip_iter_create(), xsh_matrix_product_normal_create(), xsh_merge_ord_with_tag(), xsh_poisson_random(), xsh_rectify_orders(), xsh_SAanneal(), xsh_SAmelt(), xsh_skycorr_sample_continuum(), xsh_sort_double_pairs(), xsh_spline_hermite(), xsh_spline_hermite_table(), xsh_table_column_clip(), xsh_tools_sort_double(), xsh_tools_sort_float(), xsh_tools_sort_int(), xsh_tools_tchebitchev_poly_eval(), xsh_util_apply_response(), xsh_util_bpmap2rp(), xsh_util_bpmap_coadd(), xsh_util_compute_response(), xsh_util_ima_arith(), xsh_util_ima_shift(), and zeroscenterfind().
| int nb_extensions |
Definition at line 129 of file xsh_detmon_lg.c.
| int niter |
Definition at line 82 of file xsh_detmon_lg.c.
Referenced by compute_specres(), test_mem(), test_spectrum_detect_lines(), xsh_array_clip_mean(), xsh_array_clip_median(), xsh_array_clip_poly1d(), xsh_detect_continuum(), xsh_detect_raw_data_outliers_1d(), xsh_detect_raw_data_outliers_1d_slice(), xsh_detmon_compute_badpixmap(), xsh_detmon_lg_fill_parlist(), xsh_find_cosmics(), xsh_image_create_model_image(), xsh_imagelist_collapse_sigclip_iter_create(), xsh_linetilt_list_save(), xsh_localize_obj_auto(), xsh_opt_extract_orders(), xsh_optextract_produce_model(), and xsh_table_column_clip().
| int nx |
Definition at line 113 of file xsh_detmon_lg.c.
Referenced by chunk_coadd(), compute_specres(), create_frame(), create_order_image(), detect_centroid(), fill_img(), flag_noisy_pixels(), get_average_qc_from_raws(), get_lambda(), irplib_fit_imagelist_polynomial(), irplib_fit_imagelist_residual(), main(), make_data_cube(), mkHeader(), set_masterdark_qc(), setHeader(), xsh_badpixel_flag_rejected(), xsh_badpixelmap_fill_bp_pattern_holes(), xsh_badpixelmap_flag_saturated_pixels(), xsh_badpixelmap_image_coadd(), xsh_bpmap_bitwise_to_flag(), xsh_bpmap_collapse_bpmap_create(), xsh_bpmap_collapse_mean(), xsh_bpmap_collapse_median(), xsh_bpmap_count(), xsh_bpmap_mask_bad_pixel(), xsh_build_ifu_cube(), xsh_code_is_in_qual(), xsh_collapse_errs(), xsh_compute_linearity(), xsh_compute_noise_map(), xsh_convert_xy_to_ws(), xsh_crea_grid_from_mask(), xsh_create_blaze(), xsh_create_master_dark_bpmap(), xsh_create_master_flat_with_mask(), xsh_detect_continuum(), xsh_detect_edges(), xsh_detmon_autocorrelate(), xsh_detmon_image_correlate(), xsh_detmon_lg_check_defaults(), xsh_detmon_load_frameset_window(), xsh_dispersol_list_to_slitmap(), xsh_dispersol_list_to_wavemap(), xsh_edge_check(), xsh_eval_y_avg_chunk(), xsh_fill_bkg_mask_range(), xsh_fit_gaussian(), xsh_fit_imagelist_polynomial(), xsh_fixed_pattern_noise_bias(), xsh_flag_ima_bad_pix(), xsh_follow_arclines(), xsh_frame_image_get_step(), xsh_frameset_add(), xsh_get_sky_edges_min_max_and_size(), xsh_ifu_trace_object_calibrate(), xsh_image_3d_get_size_x(), xsh_image_3d_insert(), xsh_image_3d_new(), xsh_image_clean_badpixel(), xsh_image_clean_mask_pixs(), xsh_image_create_gaussian_image(), xsh_image_create_model_image(), xsh_image_div_by_fct(), xsh_image_divide_1D(), xsh_image_extract_optimal(), xsh_image_extract_standard(), xsh_image_fill_noise_uniform(), xsh_image_filter_mode(), xsh_image_filter_wrapper(), xsh_image_find_barycenter(), xsh_image_fit_spline(), xsh_image_flag_bp(), xsh_image_gaussian_fit_y(), xsh_image_local_cold_pixs(), xsh_image_local_hot_pixs(), xsh_image_mult_by_fct(), xsh_image_warp_polynomial_scale(), xsh_imagelist_collapse_sigclip_iter_create(), xsh_interpolate_linear(), xsh_ksigma_clip(), xsh_normalize_spectrum_image(), xsh_opt_extract_orders(), xsh_optextract_produce_model(), xsh_order_table_from_fmtchk(), xsh_pre_3d_new(), xsh_pre_data_window_median_flux_pa(), xsh_pre_median_mean_stdev(), xsh_pre_median_mean_stdev_window(), xsh_pre_new(), xsh_pre_subsample(), xsh_qc_flats_raw(), xsh_qual_to_cpl_mask(), xsh_rec_list_rectify(), xsh_remove_cr(), xsh_remove_crh_single(), xsh_subtract_sky_at_pix(), xsh_subtract_sky_at_pix2(), xsh_subtract_sky_on_obj_at_pix(), xsh_test_create_bias_image(), xsh_test_create_frame(), xsh_util_ima_rebin(), xsh_wavecal_list_pupulate(), xsh_wavelist_subtract_sky(), xsh_wavemap_lambda_range(), xsh_wavemap_list_full_sky_save(), xsh_wavemap_list_new(), xsh_wavemap_list_save(), and xsh_wavemap_list_save2().
| int ny |
Definition at line 114 of file xsh_detmon_lg.c.
Referenced by chunk_coadd(), compute_specres(), create_frame(), create_order_image(), detect_centroid(), fill_img(), flag_noisy_pixels(), get_average_qc_from_raws(), get_lambda(), irplib_fit_imagelist_polynomial(), main(), make_data_cube(), mkHeader(), set_masterdark_qc(), setHeader(), xsh_badpixel_flag_rejected(), xsh_badpixelmap_fill_bp_pattern_holes(), xsh_badpixelmap_flag_saturated_pixels(), xsh_badpixelmap_image_coadd(), xsh_bpmap_bitwise_to_flag(), xsh_bpmap_collapse_bpmap_create(), xsh_bpmap_collapse_mean(), xsh_bpmap_collapse_median(), xsh_bpmap_count(), xsh_bpmap_mask_bad_pixel(), xsh_build_ifu_cube(), xsh_code_is_in_qual(), xsh_collapse_errs(), xsh_compute_linearity(), xsh_compute_noise_map(), xsh_crea_grid_from_mask(), xsh_create_blaze(), xsh_create_master_dark_bpmap(), xsh_create_master_flat_with_mask(), xsh_detect_max_y(), xsh_detect_order_edge(), xsh_detmon_autocorrelate(), xsh_detmon_image_correlate(), xsh_detmon_lg_check_defaults(), xsh_detmon_load_frameset_window(), xsh_dispersol_list_to_slitmap(), xsh_dispersol_list_to_wavemap(), xsh_eval_y_avg_chunk(), xsh_fit_imagelist_polynomial(), xsh_fixed_pattern_noise_bias(), xsh_flag_ima_bad_pix(), xsh_follow_arclines(), xsh_frameset_add(), xsh_ifu_trace_object_calibrate(), xsh_image_3d_get_size_y(), xsh_image_3d_insert(), xsh_image_3d_new(), xsh_image_clean_badpixel(), xsh_image_clean_mask_pixs(), xsh_image_create_gaussian_image(), xsh_image_create_model_image(), xsh_image_div_by_fct(), xsh_image_divide_1D(), xsh_image_extract_optimal(), xsh_image_extract_standard(), xsh_image_fill_noise_uniform(), xsh_image_filter_mode(), xsh_image_filter_wrapper(), xsh_image_find_barycenter(), xsh_image_fit_spline(), xsh_image_flag_bp(), xsh_image_gaussian_fit_y(), xsh_image_local_cold_pixs(), xsh_image_local_hot_pixs(), xsh_image_mult_by_fct(), xsh_image_warp_polynomial_scale(), xsh_imagelist_collapse_sigclip_iter_create(), xsh_interpolate_linear(), xsh_ksigma_clip(), xsh_model_reduce(), xsh_normalize_spectrum_image(), xsh_opt_extract_orders(), xsh_order_list_save(), xsh_order_list_verify(), xsh_order_table_from_fmtchk(), xsh_pre_3d_new(), xsh_pre_data_window_median_flux_pa(), xsh_pre_median_mean_stdev(), xsh_pre_median_mean_stdev_window(), xsh_pre_new(), xsh_pre_subsample(), xsh_qc_flats_raw(), xsh_qual_to_cpl_mask(), xsh_rec_list_rectify(), xsh_remove_cr(), xsh_remove_crh_single(), xsh_test_create_bias_image(), xsh_test_create_frame(), xsh_util_ima_rebin(), xsh_wavelist_subtract_sky(), xsh_wavemap_lambda_range(), xsh_wavemap_list_full_sky_save(), xsh_wavemap_list_save(), and xsh_wavemap_list_save2().
| int order |
Definition at line 80 of file xsh_detmon_lg.c.
Referenced by add_to_order_list(), analyse_extraction(), create_rectify_nod_list(), cumulate_qc_parameter(), esp_fit_lcont(), fill_rectified(), get_meas_coordinates(), lambda_fit(), main(), save_centers(), theo_tab_filter(), xsh_afcthetab_create(), xsh_bspline_fit_smooth(), xsh_bspline_fit_smooth_data(), xsh_bspline_fit_smooth_data2(), xsh_cube_trace_fit(), xsh_detect_arclines(), xsh_detect_arclines_dan(), xsh_detect_outliers_thres_new(), xsh_detect_raw_data_outliers_1d(), xsh_detect_raw_data_outliers_1d_slice(), xsh_detmon_check_order(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lg_lineff(), xsh_detmon_lg_reduce_all(), xsh_detmon_lin(), xsh_extract_clean_with_tag(), xsh_extract_with_tag(), xsh_fit_gaussian(), xsh_fit_spline1(), xsh_fit_spline2(), xsh_flexcor(), xsh_follow_arclines(), xsh_get_sky_edges_min_max_and_size(), xsh_linetilt_is_duplicate(), xsh_model2tab(), xsh_model_fill_fit(), xsh_model_fill_fit_bfit(), xsh_model_fill_fit_slice(), xsh_model_fill_fit_slice_bfit(), xsh_model_fill_obj(), xsh_model_to_table(), xsh_normalize_spectrum_image(), xsh_obj_fit_dump(), xsh_order_edge_list_fit(), xsh_order_list_fit(), xsh_predict_qc(), xsh_rec_list1D_save_as_tab(), xsh_rec_list_duplicate(), xsh_rec_list_frame_invert(), xsh_rec_list_load(), xsh_rec_list_load_eso(), xsh_rec_list_load_eso_1d(), xsh_rec_list_save(), xsh_rec_list_save2(), xsh_rec_list_save_table(), xsh_rectify_orders(), xsh_resid_tab_create(), xsh_resid_tab_create_not_flagged(), xsh_resid_tab_load(), xsh_resid_tab_log(), xsh_resid_tab_save(), xsh_shift(), xsh_spectrum_load_order(), xsh_spectrum_save_order(), xsh_star_flux_list_save_order(), xsh_the_map_set_arcline(), xsh_util_multiply_by_response_ord(), xsh_wavecal_list_pupulate(), xsh_wavelist_subtract_sky(), xsh_wavemap_lambda_range(), xsh_wavemap_list_build_sky(), xsh_wavemap_list_new(), xsh_wavemap_list_object_image_save(), xsh_wavemap_list_rms_sky_image_save(), xsh_wavemap_list_save(), xsh_wavemap_list_save2(), xsh_wavemap_list_save4debug(), xsh_wavemap_list_save_poly(), xsh_wavemap_list_sky_image_save(), xsh_wavesol_compute(), xsh_wavesol_eval_polx(), xsh_wavesol_eval_poly(), xsh_wavesol_residual(), and xsh_wavesol_trace().
| cpl_boolean pafgen |
Definition at line 124 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| const char* pafname |
Definition at line 125 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| cpl_boolean pix2pix |
Definition at line 120 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int ref_level |
Definition at line 89 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist(), xsh_detmon_lg_lineff(), and xsh_detmon_lin().
| cpl_boolean rescale |
Definition at line 119 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist(), xsh_frame_pre_subsample(), and xsh_pre_subsample().
| double saturation_limit |
Definition at line 137 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_check_saturation_on_pair().
| cpl_boolean split_coeffs |
Definition at line 139 of file xsh_detmon_lg.c.
| int threshold |
Definition at line 90 of file xsh_detmon_lg.c.
Referenced by HandleOptions(), xsh_compute_absorp(), xsh_detect_edges(), xsh_fit_gaussian(), xsh_localize_obj_auto(), xsh_molecfit_correct(), xsh_pre_divide(), xsh_pre_multiply(), and xsh_spectrum_find_brightest().
| int threshold_max |
Definition at line 84 of file xsh_detmon_lg.c.
| int threshold_min |
Definition at line 83 of file xsh_detmon_lg.c.
| double tolerance |
Definition at line 123 of file xsh_detmon_lg.c.
Referenced by xsh_cfg_recover_pattern_match(), xsh_create_master_dark2(), xsh_detmon_check_order(), xsh_detmon_gain(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lg_find_dits(), xsh_detmon_lg_find_dits_ndits(), xsh_detmon_lin(), xsh_detmon_pair_extract_next(), xsh_gain(), xsh_irplib_imagelist_get_clean_mean_levels(), xsh_irplib_mkmaster_mean(), xsh_irplib_mkmaster_median(), xsh_ksigma_clip(), and xsh_table_select_matching_waves().
| int urx |
Definition at line 87 of file xsh_detmon_lg.c.
Referenced by calc_curve_qc(), expand_region(), set_masterbias_qc_structure_region(), set_masterbias_qc_xsh_structure_region(), xsh_combine_flats(), xsh_compute_flat_edges(), xsh_compute_ron(), xsh_cube_qc_trace_window(), xsh_detmon_check_saturation_on_pair(), xsh_detmon_compute_badpixmap(), xsh_detmon_fpn_compute(), xsh_detmon_gain(), xsh_detmon_gain_prepare_table(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lin(), xsh_detmon_lin_table_fill_row(), xsh_detmon_load_frameset_window(), xsh_detmon_opt_contamination(), xsh_detmon_subtract_create_window(), xsh_detmon_subtracted_avg(), xsh_edge_check(), xsh_gain(), xsh_get_master_dark_nir_via_noise(), xsh_ifu_trace_object_calibrate(), xsh_image_find_barycenter(), xsh_image_fit_gaussian_max_pos_x_window(), xsh_image_search_bad_pixels_via_noise(), xsh_image_stats_on_rectangle(), xsh_ksigma_clip(), xsh_pre_median_mean_stdev_window(), and xsh_util_ronbias().
| int urx1 |
Definition at line 95 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int urx2 |
Definition at line 99 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int urx3 |
Definition at line 103 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int urx4 |
Definition at line 107 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int urx5 |
Definition at line 111 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int ury |
Definition at line 88 of file xsh_detmon_lg.c.
Referenced by calc_curve_qc(), expand_region(), set_masterbias_qc_structure_region(), set_masterbias_qc_xsh_structure_region(), xsh_combine_flats(), xsh_compute_ron(), xsh_detmon_check_saturation_on_pair(), xsh_detmon_compute_badpixmap(), xsh_detmon_fpn_compute(), xsh_detmon_gain(), xsh_detmon_gain_prepare_table(), xsh_detmon_gain_table_fill_row(), xsh_detmon_lg_fill_parlist(), xsh_detmon_lin(), xsh_detmon_lin_table_fill_row(), xsh_detmon_load_frameset_window(), xsh_detmon_opt_contamination(), xsh_detmon_subtract_create_window(), xsh_detmon_subtracted_avg(), xsh_gain(), xsh_get_master_dark_nir_via_noise(), xsh_ifu_trace_object_calibrate(), xsh_image_find_barycenter(), xsh_image_fit_gaussian_max_pos_y_window(), xsh_image_qc_trace_window(), xsh_image_search_bad_pixels_via_noise(), xsh_image_stats_on_rectangle(), xsh_ksigma_clip(), xsh_pre_median_mean_stdev_window(), and xsh_util_ronbias().
| int ury1 |
Definition at line 96 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int ury2 |
Definition at line 100 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int ury3 |
Definition at line 104 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int ury4 |
Definition at line 108 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| int ury5 |
Definition at line 112 of file xsh_detmon_lg.c.
Referenced by xsh_detmon_lg_fill_parlist().
| cpl_boolean wholechip |
Definition at line 115 of file xsh_detmon_lg.c.
| struct { ... } xsh_detmon_lg_config |
Referenced by irplib_load_fset_wrp(), irplib_load_fset_wrp_ext(), xsh_detmon_compute_badpixmap(), xsh_detmon_fpn_compute(), xsh_detmon_lg(), xsh_detmon_lg_check_defaults(), xsh_detmon_lg_core(), xsh_detmon_lg_extract_extention_header(), xsh_detmon_lg_fits_coeffs_and_bpm2chip(), 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_rescale(), xsh_detmon_lg_retrieve_parlist(), xsh_detmon_lg_save(), xsh_detmon_lg_save_cube(), xsh_detmon_lg_save_plane(), xsh_detmon_lg_set_paf_name_and_header(), xsh_detmon_lg_set_paf_name_and_header_ext(), xsh_detmon_lg_split_onoff(), and xsh_detmon_opt_contamination().