|
X-shooter Pipeline Reference Manual 3.8.15
|
Functions | |
| static void | add_noisy_pixel_to_ascii_file (int x, int y) |
| static int | flag_noisy_pixels (cpl_imagelist *raws, cpl_image *bpmap, cpl_image *noisymap, int nx, int ny, xsh_clipping_param *noise_clipping, xsh_instrument *inst) |
| static void | set_pickup_noise_pixels_qc (cpl_propertylist *header, int nbad, xsh_instrument *instrument) |
| cpl_frame * | xsh_compute_noise_map (cpl_imagelist *dataList, cpl_frame *medFrame, xsh_clipping_param *noise_clipping, xsh_instrument *instr, cpl_frame **noisyFrame) |
|
static |
Definition at line 67 of file xsh_compute_noise_map.c.
Referenced by flag_noisy_pixels().
|
static |
Flag the noisy pixels and add to the bad pixel map
| raws | List of dark images |
| bpmap | Bad pixel map |
| nx | X size |
| ny | Y size |
| noise_clipping | Clipping parameters structure |
< Array of pointers to the images
< Median of the sigmas
< Average of the sigmas
< Array of the Sigmas per pixel (all pixels)
< Same as Stackv, but without bad pixels
Definition at line 92 of file xsh_compute_noise_map.c.
References add_noisy_pixel_to_ascii_file(), assure, xsh_instrument::decode_bp, max, nx, ny, QFLAG_ELECTRONIC_PICKUP, sigma, xsh_clipping_param::sigma, xsh_bpmap_set_bad_pixel(), xsh_debug_level_get(), XSH_DEBUG_LEVEL_LOW, XSH_FREE, XSH_MALLOC, xsh_msg, xsh_msg_dbg_low, xsh_msg_dbg_medium, and xsh_tools_get_median_double().
Referenced by xsh_compute_noise_map().
|
static |
Definition at line 289 of file xsh_compute_noise_map.c.
References instrument, xsh_pfits_set_qc(), and XSH_QC_BP_MAP_PICKUP_NOISE_PIX.
Referenced by xsh_compute_noise_map().
| cpl_frame * xsh_compute_noise_map | ( | cpl_imagelist * | dataList, |
| cpl_frame * | medFrame, | ||
| xsh_clipping_param * | noise_clipping, | ||
| xsh_instrument * | instr, | ||
| cpl_frame ** | noisyFrame | ||
| ) |
Calculates the noisy bad pixel map from dark frames (equal exposures)
| dataList | List of images (from remove_crh_multiple) |
| medFrame | Median Frame (PRE format) created by xsh_remove_crh_multi |
| noise_clipping | Noise clipping parameters pointer |
| instr | Pointer to instrument description structure |
Definition at line 307 of file xsh_compute_noise_map.c.
References binx, biny, check, xsh_pre::data, xsh_pre::data_header, xsh_instrument::decode_bp, xsh_pre::errs, xsh_pre::errs_header, flag_noisy_pixels(), xsh_clipping_param::niter, xsh_pre::nx, nx, xsh_pre::ny, ny, xsh_pre::qual_header, set_pickup_noise_pixels_qc(), xsh_add_temporary_file(), XSH_ARM_NIR, XSH_ASSURE_NOT_NULL, XSH_BP_MAP_PN, xsh_frame_product(), xsh_free_image(), xsh_free_propertylist(), XSH_GET_TAG_FROM_ARM, xsh_instrument_arm_tostring(), xsh_instrument_get_arm(), xsh_msg, xsh_pfits_get_binx(), xsh_pfits_get_biny(), xsh_pfits_set_extname(), xsh_pfits_set_qc_nhpix(), XSH_PRE_DATA_BPP, xsh_pre_free(), xsh_pre_get_qual(), xsh_pre_load(), and xsh_set_image_cpl_bpmap().
Referenced by main(), and xsh_get_master_dark_nir_via_noise().