/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_create_wavemap.c File Reference

#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_pfits_qc.h>
#include <xsh_utils.h>
#include <xsh_data_order.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_data_pre.h>
#include <xsh_data_instrument.h>
#include <xsh_data_wavesol.h>
#include <xsh_data_resid_tab.h>
#include <xsh_data_wavemap.h>
#include <xsh_data_spectralformat.h>
#include <xsh_model_io.h>
#include <xsh_model_kernel.h>
#include <cpl.h>

Go to the source code of this file.

Functions

void xsh_create_map (cpl_frame *dispsol_frame, cpl_frame *ordertab_frame, cpl_frame *pre_frame, xsh_instrument *instrument, cpl_frame **wavemap_frame, cpl_frame **slitmap_frame, const char *rec_prefix)
void xsh_create_model_map (cpl_frame *model_frame, xsh_instrument *instrument, const char *wtag, const char *stag, cpl_frame **wavemap_frame, cpl_frame **slitmap_frame, const int save_tmp)
cpl_frame * xsh_create_poly_wavemap (cpl_frame *pre_frame, cpl_frame *wave_tab_2d_frame, cpl_frame *order_tab_frame, cpl_frame *spectral_format_frame, xsh_dispersol_param *dispsol_par, xsh_instrument *instrument, const char *wm_tag, cpl_frame **dispersol_frame, cpl_frame **slitmap_frame)
cpl_frame * xsh_create_dispersol_physmod (cpl_frame *pre_frame, cpl_frame *order_tab_frame, cpl_frame *mod_cfg_frame, cpl_frame *wave_map_frame, cpl_frame *slit_map_frame, xsh_dispersol_param *dispsol_param, cpl_frame *spectral_format_frame, xsh_instrument *instrument, const int clean_tmp)
cpl_error_code xsh_wavemap_qc (cpl_frame *frm_map, const cpl_frame *frm_tab)
 Monitor Flux level along the orders traces given by an input table.
cpl_error_code xsh_wavetab_qc (cpl_frame *frm_tab, const int is_poly)
 Monitor min/max/med/avg distance between detected lines on each ordee.

Function Documentation

cpl_frame* xsh_create_dispersol_physmod ( cpl_frame *  pre_frame,
cpl_frame *  order_tab_frame,
cpl_frame *  mod_cfg_frame,
cpl_frame *  wave_map_frame,
cpl_frame *  slit_map_frame,
xsh_dispersol_param dispsol_param,
cpl_frame *  spectral_format_frame,
xsh_instrument instrument,
const int  clean_tmp 
)
void xsh_create_map ( cpl_frame *  dispsol_frame,
cpl_frame *  ordertab_frame,
cpl_frame *  pre_frame,
xsh_instrument instrument,
cpl_frame **  wavemap_frame,
cpl_frame **  slitmap_frame,
const char *  rec_prefix 
)
void xsh_create_model_map ( cpl_frame *  model_frame,
xsh_instrument instrument,
const char *  wtag,
const char *  stag,
cpl_frame **  wavemap_frame,
cpl_frame **  slitmap_frame,
const int  save_tmp 
)
cpl_frame* xsh_create_poly_wavemap ( cpl_frame *  pre_frame,
cpl_frame *  wave_tab_2d_frame,
cpl_frame *  order_tab_frame,
cpl_frame *  spectral_format_frame,
xsh_dispersol_param dispsol_par,
xsh_instrument instrument,
const char *  wm_tag,
cpl_frame **  dispersol_frame,
cpl_frame **  slitmap_frame 
)
cpl_error_code xsh_wavemap_qc ( cpl_frame *  frm_map,
const cpl_frame *  frm_tab 
)

Monitor Flux level along the orders traces given by an input table.

Parameters:
frm_map The input frame image whose flux is to be monitored
frm_tab input frame table with order traces
Returns:
The input frame image FITS header is updated with flux level QC parameters

Definition at line 565 of file xsh_create_wavemap.c.

References check, XSH_ASSURE_NOT_NULL, xsh_free_image(), xsh_free_propertylist(), xsh_free_table(), XSH_QC_WMAP_WAVEC, and xsh_update_pheader_in_image_multi().

Referenced by xsh_2dmap().

cpl_error_code xsh_wavetab_qc ( cpl_frame *  frm_tab,
const int  is_poly 
)

Monitor min/max/med/avg distance between detected lines on each ordee.

Parameters:
frm_tab input frame table with order traces
is_poly data reduction method
Returns:
The input frame image FITS header is updated with flux level QC parameters

Definition at line 643 of file xsh_create_wavemap.c.

References check, XSH_ASSURE_NOT_NULL, xsh_free_propertylist(), xsh_free_table(), xsh_free_vector(), xsh_msg_warning, XSH_QC_LINE_DIFAVG, XSH_QC_LINE_DIFAVG_C, XSH_QC_LINE_DIFMAX, XSH_QC_LINE_DIFMAX_C, XSH_QC_LINE_DIFMAX_ORD, XSH_QC_LINE_DIFMED, XSH_QC_LINE_DIFMED_C, XSH_QC_LINE_DIFMIN, XSH_QC_LINE_DIFMIN_C, and XSH_QC_LINE_DIFMIN_ORD.

Referenced by xsh_2dmap(), and xsh_predict().


Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1