|
X-shooter Pipeline Reference Manual 3.8.15
|
Macros | |
| #define | MODULE_ID "XSH_DETECT_CONTINUUM" |
Functions | |
| static void | verify_order_table (cpl_frame *result) |
| int | main (void) |
Variables | |
| static const double | poly0_coeff [] |
| Unit test of XSH_DETECT_CONTINUUM. | |
| static const double | step = 40. |
| static int | nx = 400 |
| static int | ny = 400 |
| static int | starty = 10 |
| static int | endy = 380 |
| static int | dimension = 1 |
| static int | degree = 2 |
| static int | width = 10 |
| static int | norder = 3 |
| static double | exptime = 1. |
| static const char * | img_name = "dtc_img.fits" |
| static const char * | tbl_name = "dtc_tbl.fits" |
| static const char * | dtc_pre_name = "dtc_img_pre.fits" |
| #define MODULE_ID "XSH_DETECT_CONTINUUM" |
Definition at line 55 of file test-xsh_detect_continuum.c.
| int main | ( | void | ) |
Definition at line 112 of file test-xsh_detect_continuum.c.
References add_to_order_list(), check, check_msg, create_order_image(), create_order_list(), degree, dimension, dtc_pre_name, endy, exptime, xsh_detect_continuum_param::fit_threshold, xsh_detect_continuum_param::fit_window, xsh_clipping_param::frac, img_name, instrument, mkHeader(), MODULE_ID, xsh_clipping_param::niter, norder, nx, ny, XSH_INSTRCONFIG::orders, poly0_coeff, xsh_detect_continuum_param::poly_degree, xsh_detect_continuum_param::poly_step, xsh_instrument::recipe_id, xsh_clipping_param::res_max, xsh_detect_continuum_param::running_window, xsh_detect_continuum_param::search_window, xsh_clipping_param::sigma, starty, step, tbl_name, TESTS_CLEAN_WORKSPACE, TESTS_INIT, TESTS_INIT_WORKSPACE, verify_order_table(), width, XSH_ARM_VIS, XSH_DEBUG_LEVEL_LOW, xsh_debug_level_set(), xsh_detect_continuum(), xsh_error_dump, xsh_free_frame(), xsh_free_image(), xsh_free_polynomial(), xsh_free_propertylist(), xsh_instrument_free(), xsh_instrument_get_config(), xsh_instrument_new(), xsh_instrument_set_arm(), xsh_instrument_set_lamp(), xsh_instrument_set_mode(), xsh_instrument_set_recipe_id(), XSH_LAMP_UNDEFINED, XSH_MODE_SLIT, xsh_msg, xsh_order_list_dump(), xsh_order_list_free(), xsh_order_list_save(), xsh_pre_create(), xsh_pre_free(), xsh_pre_save(), and xsh_test_create_bias_image().
|
static |
Definition at line 87 of file test-xsh_detect_continuum.c.
References assure, check, QC_ORD_ORDERPOS_RESIDAVG, xsh_free_propertylist(), xsh_get_property_value(), and xsh_msg.
Referenced by main().
|
static |
Definition at line 80 of file test-xsh_detect_continuum.c.
Referenced by derivative_cpl_polynomial(), fit_order_edge_list(), fit_order_list(), main(), xsh_detect_continuum(), xsh_order_list_dump(), xsh_order_table_from_fmtchk(), xsh_polynomial_add_2d(), xsh_polynomial_collapse(), xsh_polynomial_convert_to_table(), xsh_polynomial_derivative_2d(), xsh_polynomial_fit_1d_create(), xsh_polynomial_fit_2d_create(), xsh_polynomial_get_coeff_1d(), and xsh_vector_fit_slope().
|
static |
Definition at line 80 of file test-xsh_detect_continuum.c.
Referenced by derivative_cpl_polynomial(), main(), xsh_polynomial_collapse(), xsh_polynomial_derivative(), xsh_polynomial_duplicate(), xsh_polynomial_get_coeff_1d(), and xsh_polynomial_get_coeff_2d().
|
static |
Definition at line 85 of file test-xsh_detect_continuum.c.
Referenced by main().
|
static |
Definition at line 79 of file test-xsh_detect_continuum.c.
Referenced by add_to_order_list(), main(), xsh_cfg_recover_measure_line_xy(), xsh_crea_grid_from_mask(), xsh_create_master_flat_with_mask(), xsh_dispersol_list_to_slitmap(), xsh_dispersol_list_to_wavemap(), xsh_model_reduce(), xsh_order_list_save(), xsh_wavemap_lambda_range(), and xsh_wavemap_list_new().
|
static |
Definition at line 82 of file test-xsh_detect_continuum.c.
Referenced by do_compute(), irplib_pfits_get_exptime(), main(), mkHeader(), setHeader(), xsh_2dmap(), xsh_add_product_image(), xsh_add_product_orders_spectrum(), xsh_add_product_pre(), xsh_add_product_spectrum(), xsh_calculate_exptime(), xsh_compute_response(), xsh_compute_response_ord(), xsh_create_master_dark(), xsh_detmon_check_order(), xsh_efficiency_compute(), xsh_frame_sci_get_gain_airmass_exptime_naxis1_biny(), xsh_get_std_obs_values(), xsh_linetilt_list_save(), xsh_mdark_measure_fpn(), xsh_normalize_spectrum(), xsh_normalize_spectrum_image(), xsh_normalize_spectrum_image_slice(), xsh_normalize_spectrum_ord(), xsh_obs_std_correct(), xsh_predict(), xsh_respon_slit_nod(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_response_calculate(), xsh_sdp_spectrum_create(), xsh_spectrum_correct(), xsh_subtract_dark(), xsh_table_select_matching_waves(), xsh_util_compute_response(), xsh_util_efficiency(), xsh_util_efficiency2d(), xsh_util_integrate(), xsh_utils_compute_airm(), xsh_utils_compute_airm_eff(), xsh_utils_efficiency(), xsh_utils_efficiency_internal(), xsh_wavecal_qclog_compute(), xsh_wavecal_qclog_element(), and xsh_wavecal_qclog_intmon().
|
static |
Definition at line 83 of file test-xsh_detect_continuum.c.
Referenced by main().
|
static |
Definition at line 81 of file test-xsh_detect_continuum.c.
Referenced by create_order_list(), main(), and xsh_order_list_save().
|
static |
Definition at line 78 of file test-xsh_detect_continuum.c.
Referenced by main().
|
static |
Definition at line 78 of file test-xsh_detect_continuum.c.
Referenced by main().
|
static |
Unit test of XSH_DETECT_CONTINUUM.
Test the Data Reduction Library function XSH_DETECT_CONTINUUM
Definition at line 74 of file test-xsh_detect_continuum.c.
Referenced by main().
|
static |
Definition at line 79 of file test-xsh_detect_continuum.c.
Referenced by add_to_order_list(), main(), xsh_cfg_recover_measure_line_xy(), xsh_crea_grid_from_mask(), xsh_create_master_flat_with_mask(), xsh_detect_continuum(), xsh_dispersol_list_to_slitmap(), xsh_dispersol_list_to_wavemap(), xsh_model_reduce(), xsh_order_list_save(), xsh_wavemap_lambda_range(), and xsh_wavemap_list_new().
|
static |
Definition at line 76 of file test-xsh_detect_continuum.c.
Referenced by adjust_lambdas(), create_rectify_nod_list(), find_lambda_idx(), find_lambda_idx_limit(), main(), test_combine_ima_gauss(), test_combine_ima_gauss2(), test_combine_ima_gauss3(), test_combine_ima_uniform2(), xsh_detect_continuum(), xsh_function1d_xcorrelate(), xsh_function1d_xcorrelate2(), and xsh_vector_integrate().
|
static |
Definition at line 84 of file test-xsh_detect_continuum.c.
Referenced by main().
|
static |
Definition at line 80 of file test-xsh_detect_continuum.c.
Referenced by main(), set_qc_parameters(), xsh_follow_arclines(), xsh_generate_tanh_kernel(), xsh_image_create_gaussian_image(), xsh_image_gaussian_fit_y(), xsh_localize_ifu_slitlet(), and xsh_localize_obj_auto().