.TH SINFO_REC_WAVECAL "7" "2.9.0" "sinfo_rec_wavecal" "sinfo recipes" .SH NAME sinfo_rec_wavecal \- Wavelength calibration and slitpos determination .SH SYNOPSIS esorex .B sinfo_rec_wavecal [OPTIONS] FILE.sof .SH DESCRIPTION This recipe performs wavelength calibration. .PP The input files are on/off arc lamp frames with tag WAVE_LAMP Master calibration frame input is: A corresponding (band) reference line table with tag REF_LINE_ARC A corresponding (band) distortion table with tag DISTORTION A corresponding (band,preoptic) master flat with tag MASTER_FLAT_LAMP A corresponding (band,preoptics) master bad pixel map with tag MASTER_BP_MAP If wcal\-estimate_ind=TRUE, a corresponding (band,preoptics) slitlet position guess table SLIT_POS_GUESS (for example a copy of the SLIT_POS product) If wcal\-calib_indicator=FALSE, a corresponding (band,preoptics) parabolic fit coefficients table WAVE_COEF_SLIT If sinfoni.wavecal.slitpos_boostrap_switch=FALSE (wcal\-calib\-slitpos_bootstrap=0), a corresponding (band,preoptics) slitlets position table with tag SLIT_POS The main products are: The master flat field corrected for distortions (PRO.CATG=MFLAT_STACKED_DIST) The arc lamp frames stacked (PRO.CATG=WAVE_LAMP_STACKED) The wavelength map (PRO.CATG=WAVE_MAP) The slitlet position table (PRO.CATG=SLIT_POS) A parabolic fit coefficients table (PRO.CATG=WAVE_COEF_SLIT) Parameters relative to arc lamp line fit: (PRO.CATG=WAVE_FIT_PARAMS) .SH OPTIONS .TP \fB\-\-gen\-overpar\fR \fI\fR Overwrite DRS ini parameters: (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.general.overwrite_parameters\fR [default = \fITrue\fR]. .TP \fB\-\-lc_sw\fR \fI\fR Correct for bad lines introduced by instrument software: (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.general.lc_sw\fR [default = \fIFalse\fR]. .TP \fB\-\-lc_kappa\fR \fI\fR Kappa sigma value (long; default: 18). The full name of this option for the EsoRex configuration file is \fBsinfoni.general.lc_kappa\fR [default = \fI18\fR]. .TP \fB\-\-lc_filt_rad\fR \fI\fR Filtering radii applied during median filter. Should be small (long; default: 3). The full name of this option for the EsoRex configuration file is \fBsinfoni.general.lc_filt_rad\fR [default = \fI3\fR]. .TP \fB\-\-product\-density\fR \fI\fR Density of pipeline products: 0 (low), 1 (low+skycor), 2 (med\-QC), 3 (high\-debug+skycor) (long; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.product.density\fR [default = \fI2\fR]. .TP \fB\-\-stack\-lo_rej\fR \fI\fR lower rejection (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.low_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-stack\-hi_rej\fR \fI\fR higher rejection (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.high_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-stack\-flat_ind\fR \fI\fR Flat Index: (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.flat_index\fR [default = \fITrue\fR]. .TP \fB\-\-stack\-mflat_norm_smooth\fR \fI\fR Normalize master flat to its smoothed value (to remove lamp response curve). 0 (no smooth). 1 (apply fft filter along y).2 (apply running median filter along y). (long; default: 0). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.mflat_norm_smooth\fR [default = \fI0\fR]. .TP \fB\-\-stack\-mflat_smooth_rad\fR \fI\fR Normalization smoothing radii (long; default: 16). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.mflat_smooth_rad\fR [default = \fI16\fR]. .TP \fB\-\-stack\-mask_ind\fR \fI\fR BP Mask Interpolation Switch: indicates if the bad pixel mask should be applied (1) or not (0) (long; default: 1). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.mask_index\fR [default = \fI1\fR]. .TP \fB\-\-stack\-ind_ind\fR \fI\fR indicates if the bad pixels should be indicated (yes) or interpolated (no) (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.ind_index\fR [default = \fIFalse\fR]. .TP \fB\-\-stack\-mask_rad\fR \fI\fR Max distance bad\-good pix: (long; default: 4). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.mask_rad\fR [default = \fI4\fR]. .TP \fB\-\-stack\-gauss_ind\fR \fI\fR Gaussian Convolution Switch: (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.gauss_index\fR [default = \fIFalse\fR]. .TP \fB\-\-stack\-khw\fR \fI\fR Kernel Half Width (long; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.kernel_half_width\fR [default = \fI2\fR]. .TP \fB\-\-stack\-warpfix_ind\fR \fI\fR Warp Fix Index: (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.warpfix_ind\fR [default = \fITrue\fR]. .TP \fB\-\-stack\-warpfix_kernel\fR \fI\fR Warpfix kernel: (str; default: \'tanh\'). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.warpfix_kernel\fR [default = \fItanh\fR]. .TP \fB\-\-stack\-qc_thresh_min\fR \fI\fR qc_thresh_min (long; default: 0). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.qc_thresh_min\fR [default = \fI0\fR]. .TP \fB\-\-stack\-qc_thresh_max\fR \fI\fR qc_thresh_max (long; default: 49000). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.qc_thresh_max\fR [default = \fI49000\fR]. .TP \fB\-\-stack\-sub_raw_sky\fR \fI\fR indicates if the raw sky frame should be subtracted (TRUE) or (FALSE) (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.stacked.sub_raw_sky\fR [default = \fITrue\fR]. .TP \fB\-\-wcal\-slitpos_bootstrap\fR \fI\fR Switch to get a new slitpos without a reference: (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.slitpos_boostrap\fR [default = \fIFalse\fR]. .TP \fB\-\-wcal\-calib_indicator\fR \fI\fR Calib Indicator: FALSE: if the dispersion relation is already known, the routine can jump to the sinfo_waveMap section TRUE: if the dispersion relation must first be determined (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.calib_indicator\fR [default = \fITrue\fR]. .TP \fB\-\-wcal\-min_diff\fR \fI\fR Minimum Of Difference: minimum difference of mean and sinfo_median column intensity to carry out the cross sinfo_correlation (float; default: 1.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.min_diff\fR [default = \fI1.0\fR]. .TP \fB\-\-wcal\-hw\fR \fI\fR Half Width: half width of a box within which the line must be placed (long; default: 7). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.half_width\fR [default = \fI7\fR]. .TP \fB\-\-wcal\-sigma\fR \fI\fR Sigma: sigma of Gaussian which is convolved with the artificial spectrum generated using the line list (float; default: 2.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.sigma\fR [default = \fI2.0\fR]. .TP \fB\-\-wcal\-fwhm\fR \fI\fR FWHM: initial guess value for the fwhm of the Gaussian used for the line fit (float; default: 2.83). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.fwhm\fR [default = \fI2.83\fR]. .TP \fB\-\-wcal\-min_amplitude\fR \fI\fR Minimum Of Amplitude: of the Gaussian to do the fit (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.min_amplitude\fR [default = \fI5.0\fR]. .TP \fB\-\-wcal\-max_residual\fR \fI\fR Maximum Residuals value: beyond this value the fit is rejected (float; default: 0.5). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.max_residual\fR [default = \fI0.5\fR]. .TP \fB\-\-wcal\-n_a_coeffs\fR \fI\fR Number of A coefficients: number of polynomial coefficients for the dispersion relation (long; default: 4). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.n_a_coefficients\fR [default = \fI4\fR]. .TP \fB\-\-wcal\-n_b_coeffs\fR \fI\fR Number of B coefficients: number of polynomial coefficients for the polynomial fit of the dispersion coefficients (long; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.n_b_coefficients\fR [default = \fI2\fR]. .TP \fB\-\-wcal\-sigma_factor\fR \fI\fR Sigma Factor: Factor of the standard deviation of the polynomial coefficients of the dispersion relation beyond which the coefficients are not used for the fit (float; default: 1.5). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.sigma_factor\fR [default = \fI1.5\fR]. .TP \fB\-\-wcal\-wcoeff_ind\fR \fI\fR Write Coefficients Index: indicates if the coefficients should be written into a file or not (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.write_coeffs_ind\fR [default = \fITrue\fR]. .TP \fB\-\-wcal\-par_ind\fR \fI\fR Write Parameter Index: indicates if the fit parameters should be written into a file or not (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.write_par_ind\fR [default = \fITrue\fR]. .TP \fB\-\-wcal\-pixel_dist\fR \fI\fR Minimal Slitlets\'s Distance in spectral direction (long; default: 15). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.pixel_dist\fR [default = \fI15\fR]. .TP \fB\-\-wcal\-pixel_tol\fR \fI\fR Pixel Tolerance: allowed pixel position tolerance between estimated and fitted line position (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.pixel_tol\fR [default = \fI5.0\fR]. .TP \fB\-\-wcal\-wave_map_ind\fR \fI\fR Wavelength Map Indicator: indicates if the wavelength calibration map should be generated (TRUE) or not (FALSE) (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.wave_map_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-wcal\-mag_factor\fR \fI\fR Magnificator Factor: magnifying factor for the number of pixels in the columns needed for FFT (long; default: 8). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.mag_factor\fR [default = \fI8\fR]. .TP \fB\-\-wcal\-slit_pos_ind\fR \fI\fR Slit Position Indicator: indicates if the fits of the slitlet edge positions should be carried through or not (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.slit_pos_indicator\fR [default = \fITrue\fR]. .TP \fB\-\-wcal\-fit_boltz_ind\fR \fI\fR Fit Boltzmann Indicator: indicates if the fits of the slitlet edge positions is carried trough by using a Boltzmann function as model function (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.fit_boltz_indicator\fR [default = \fITrue\fR]. .TP \fB\-\-wcal\-fit_edge_ind\fR \fI\fR Fit Edge Indicator: indicates if the fits of the slitlet edge positions is carried through by using a simple edge function as model function (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.fit_edge_indicator\fR [default = \fIFalse\fR]. .TP \fB\-\-wcal\-estimate_ind\fR \fI\fR Estimate Indicator: indicates if the fits of the slitlet edge positions is carried through by using a list of estimated guess positions in a file (TRUE)or if the initial positions are calculated automatically (FALSE). The estimation case is more stable (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.estimate_indicator\fR [default = \fIFalse\fR]. .TP \fB\-\-wcal\-box_len\fR \fI\fR Box Length: pixel length of the row box within which the fit is carried out (long; default: 32). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.box_length\fR [default = \fI32\fR]. .TP \fB\-\-wcal\-y_box\fR \fI\fR Y Box: half width of a small box in spectral direction within which the maximal intensity pixel is searched (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.y_box\fR [default = \fI5.0\fR]. .TP \fB\-\-wcal\-diff_toll\fR \fI\fR Difference Tolearance: maximal tolerable difference of the resulting fit positions of the slitlet edges with respect to the expected positions (float; default: 2.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.diff_tol\fR [default = \fI2.0\fR]. .TP \fB\-\-wcal\-qc_thresh_min\fR \fI\fR qc_thresh_min (long; default: 0). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.qc_thresh_min\fR [default = \fI0\fR]. .TP \fB\-\-wcal\-qc_thresh_max\fR \fI\fR qc_thresh_max (long; default: 49000). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.qc_thresh_max\fR [default = \fI49000\fR]. .TP \fB\-\-wcal\-no_coeffs\fR \fI\fR number of coefficients for the polynomial interpolation (long; default: 3). The full name of this option for the EsoRex configuration file is \fBsinfoni.wavecal.n_coeffs\fR [default = \fI3\fR]. .PP Note that it is possible to create a configuration file containing these options, along with suitable default values. Please refer to the details provided by the 'esorex \-\-help' command. .SH SEE ALSO The full documentation for the sinfo pipeline can be downloaded as a PDF file using the following URL: .IP .B ftp://ftp.eso.org/pub/dfs/pipelines/sinfoni/sinfo\-pipeline\-manual\-19.0.pdf .PP An overview over the existing ESO pipelines can be found on the web page \fBhttp://www.eso.org/sci/software/pipelines/\fR. .PP Basic documentation about the EsoRex program can be found at the esorex (1) man page. .PP It is possible to call the pipelines from python using the python\-cpl package. See \fBhttp://packages.python.org/python\-cpl/index.html\fR for further information. .PP The other recipes of the sinfo pipeline are .IR sinfo_rec_detlin (7), .IR sinfo_rec_distortion (7), .IR sinfo_rec_jitter (7), .IR sinfo_rec_mdark (7), .IR sinfo_rec_mflat (7), .IR sinfo_rec_pupil (7), .IR sinfo_utl_bp_mask_add (7), .IR sinfo_utl_cube2ima (7), .IR sinfo_utl_cube2spectrum (7), .IR sinfo_utl_cube_arith (7), .IR sinfo_utl_cube_combine (7), .IR sinfo_utl_cube_create (7), .IR sinfo_utl_ima_arith (7), .IR sinfo_utl_ima_line_corr (7), .IR sinfo_utl_line_oh_select (7), .IR sinfo_utl_skycor (7), .IR sinfo_utl_skymap (7), .IR sinfo_utl_spectrum_divide_by_blackbody (7), .IR sinfo_utl_spectrum_wavelength_shift (7) .SH VERSION sinfo_rec_wavecal 2.9.0 .SH AUTHOR Andrea Modigliani .SH BUG REPORTS Please report any problems to Andrea.Modigliani@eso.org. Alternatively, you may send a report to the ESO User Support Department . .SH LICENSE This file is part of the SINFONI Instrument Pipeline Copyright (C) 2002,2003 European Southern Observatory This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111\-1307 USA