Functions | |
| static void | scired_qclog (const cpl_table *info_tbl, const uves_propertylist *raw_header, const cpl_image *raw_image, double slit, cpl_table *qclog) |
| compute science QC | |
| static void | tflat_qclog (const cpl_image *ima, const uves_propertylist *raw_header, cpl_table *qclog) |
| compute tflat QC | |
| int | uves_scired_define_parameters_body (cpl_parameterlist *parameters, const char *recipe_id) |
| Setup the recipe options. | |
| static cpl_frame ** | set_all_raw_none (cpl_frameset *frames) |
| Change tag of RAW frames to NONE. | |
| static cpl_error_code | uves_scired_process_chip (const cpl_image *raw_image, const uves_propertylist *raw_header, const uves_propertylist *rotated_header, const cpl_image *master_bias, const cpl_image *master_dark, const uves_propertylist *mdark_header, const cpl_image *master_flat, const uves_propertylist *mflat_header, const cpl_table *ordertable, const polynomial *order_locations, const cpl_table *linetable[3], const uves_propertylist *linetable_header[3], const polynomial *dispersion_relation[3], const cpl_image *response_curve, const cpl_table *master_response, const uves_propertylist *response_curve_header, const cpl_table *atm_extinction, enum uves_chip chip, bool DEBUG, const cpl_parameterlist *parameters, const char *recipe_id, cpl_image **x2d, uves_propertylist **x2d_header, cpl_image **fx2d, cpl_image **background, cpl_image **flatfielded_variance, uves_propertylist **flatfielded_variance_header, cpl_image **resampled_science, cpl_image **resampled_mf, cpl_image **rebinned_science, uves_propertylist **rebinned_header, cpl_image **merged_sky, cpl_image **merged_science, uves_propertylist **merged_header, cpl_image **reduced_science, cpl_image **reduced_science_error, cpl_table **cosmic_mask, cpl_image **fluxcal_science, cpl_image **fluxcal_error, uves_propertylist **fluxcal_header, cpl_table **info_tbl, double *extraction_slit, cpl_table **order_trace) |
| Reduce one chip of a UVES science frame. | |
| void | uves_reduce_scired (cpl_frameset *frames, const cpl_parameterlist *parameters, const char *recipe_id, const char *starttime) |
| Get the command line options and execute the data reduction. | |
Variables | |
| const char *const | uves_scired_desc_short = "Reduces a science frame" |
| const char *const | uves_scired_desc |
|
||||||||||||||||||||||||
|
compute science QC
Definition at line 1891 of file uves_reduce_scired.c. References check_nomsg, uves_qclog_add_sci(), and uves_qclog_add_string(). Referenced by uves_reduce_scired(). |
|
||||||||||||||||
|
compute tflat QC
Definition at line 1926 of file uves_reduce_scired.c. References assure_mem, check, check_nomsg, uves_max_int(), uves_min_int(), uves_pfits_get_exptime(), uves_pfits_get_insmode(), uves_pfits_get_inspath(), uves_qclog_add_double(), uves_qclog_add_string(), and uves_remove_string_prefix(). Referenced by uves_reduce_scired(). |
|
||||||||||||
|
Setup the recipe options.
Definition at line 235 of file uves_reduce_scired.c. |
|
|
Change tag of RAW frames to NONE.
Definition at line 268 of file uves_reduce_scired.c. Referenced by uves_reduce_scired(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Reduce one chip of a UVES science frame.
uves_reduce) and, if a response curve if provided, corrects for the instrument response (by moving the science spectrum to the top of the atmosphere (see uves_normalize_spectrum) and multiplying be the response function).
Definition at line 368 of file uves_reduce_scired.c. References check, uves_msg, uves_normalize_spectrum(), uves_pfits_get_cdelt1(), uves_pfits_get_crval1(), uves_reduce(), and uves_spline_hermite_table(). Referenced by uves_reduce_scired(). |
|
||||||||||||||||||||
|
Get the command line options and execute the data reduction.
Definition at line 642 of file uves_reduce_scired.c. References blue, check, check_nomsg, scired_qclog(), set_all_raw_none(), tflat_qclog(), uves_chip_get_first(), uves_chip_get_index(), uves_chip_get_next(), UVES_CHIP_INVALID, uves_chip_tostring_upper(), uves_msg, uves_msg_debug, uves_msg_low, uves_msg_warning, uves_pfits_get_binx(), uves_pfits_get_biny(), uves_pfits_get_chipid(), uves_pfits_set_bunit(), uves_polynomial_delete(), uves_polynomial_delete_const(), uves_qclog_delete(), uves_qclog_init(), and uves_scired_process_chip(). |
1.4.6