.TH SINFO_REC_DISTORTION "7" "3.1.0" "sinfo_rec_distortion" "sinfo recipes" .SH NAME sinfo_rec_distortion \- Finds optical distortions and slitlets distances .SH SYNOPSIS esorex .B sinfo_rec_distortion [OPTIONS] FILE.sof .SH DESCRIPTION This recipe determines the optical distortions and the slitlets distances. .PP Necessary input are: Several (usually 75) raw frames classified as FIBRE_NS Standard (an \'ON\' and an \'OFF\') flat frames having classified as FLAT_NS Standard (an \'ON\' and an \'OFF\') arc lamp frames having classified as WAVE_NS A corresponding (band) reference arc line list classified as REF_LINE_ARC A reference table with data reduction parameters classified as DRS_SETUP_WAVE. .PP Default output are (with their PRO.CATG) A master flat: MASTER_FLAT_LAMP A Bad pixel map: BP_MAP_DI A fake\-off fibre stacked frame: FIBRE_NS_STACKED_OFF A fake\-on fibre stacked frame: FIBRE_NS_STACKED_ON A fake on\-off fibre stacked frame: FIBRE_NS_STACKED A table with optical distortion coefficients: DISTORTION A distortion corrected frame: FIBRE_NS_STACKED_DIST A temporary frame: MASTER_SLIT A table with the slitlets distances: SLITLETS_DISTANCE .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 (int; 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 (int; 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) (int; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.product.density\fR [default = \fI2\fR]. .TP \fB\-\-lamp_flats\-lo_rej\fR \fI\fR lower rejection: percentage of rejected low intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.low_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-lamp_flats\-hi_rej\fR \fI\fR high rejection: percentage of rejected high intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.high_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-lamp_flats\-interpol_index\fR \fI\fR Interpolation index switch: indicator if the bad pixels of the flatfield should be interpolated (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.interpol_index\fR [default = \fIFalse\fR]. .TP \fB\-\-lamp_flats\-max_rad\fR \fI\fR Max Rad: maximal pixel distance from bad pixel to take valid pixels (int; default: 4). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.max_rad\fR [default = \fI4\fR]. .TP \fB\-\-lamp_flats\-bad_ind\fR \fI\fR indicator if a bad pixel mask should be generated or not (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.bad_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-lamp_flats\-sigma_factor\fR \fI\fR Sigma Factor: factor of the sigma noise limit; to remove the column intensity tilt only pixels which lie within a defined noise limit are used to fit a straight line (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.sigma_factor\fR [default = \fI5.0\fR]. .TP \fB\-\-lamp_flats\-factor\fR \fI\fR Factor: if |pixel \- median| > factor * standard deviation \-> then the pixel value is replaced by the median of the 8 nearest neighbors (float; default: 3.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.factor\fR [default = \fI3.0\fR]. .TP \fB\-\-lamp_flats\-iterations\fR \fI\fR Iterations: number of iterations to of median filtering to find bad pixel clusters (int; default: 8). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.iterations\fR [default = \fI8\fR]. .TP \fB\-\-lamp_flats\-bad_lo_rej\fR \fI\fR low rejection: Percentage for bad pixel low rejection (float; default: 10.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.bad_low_rejection\fR [default = \fI10.0\fR]. .TP \fB\-\-lamp_flats\-bad_hi_rej\fR \fI\fR high rejection: Percentage for bad pixel high rejection (float; default: 10.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.bad_high_rejection\fR [default = \fI10.0\fR]. .TP \fB\-\-lamp_flats\-llx\fR \fI\fR Lower Lext X corner (int; default: 1350). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.llx\fR [default = \fI1350\fR]. .TP \fB\-\-lamp_flats\-lly\fR \fI\fR Lower Lext Y corner (int; default: 1000). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.lly\fR [default = \fI1000\fR]. .TP \fB\-\-lamp_flats\-rrx\fR \fI\fR Upper right X corner (int; default: 1390). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.urx\fR [default = \fI1390\fR]. .TP \fB\-\-lamp_flats\-ury\fR \fI\fR Upper right Y corner (int; default: 1200). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.ury\fR [default = \fI1200\fR]. .TP \fB\-\-lamp_flats\-tresh_ind\fR \fI\fR Treshold index: (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.thresh_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-lamp_flats\-mean_factor\fR \fI\fR Mean Factor: factor to the clean standard deviation to define the threshold deviation from the clean mean (float; default: 10.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.mean_factor\fR [default = \fI10.0\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_xmin1\fR \fI\fR qc_fpn_xmin1 (int; default: 512). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_xmin1\fR [default = \fI512\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_xmax1\fR \fI\fR qc_fpn_xmax1 (int; default: 1536). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_xmax1\fR [default = \fI1536\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_ymin1\fR \fI\fR qc_fpn_ymin1 (int; default: 512). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_ymin1\fR [default = \fI512\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_ymax1\fR \fI\fR qc_fpn_ymax1 (int; default: 1536). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_ymax1\fR [default = \fI1536\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_xmin2\fR \fI\fR qc_fpn_xmin2 (int; default: 1350). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_xmin2\fR [default = \fI1350\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_xmax2\fR \fI\fR qc_fpn_xmax2 (int; default: 1390). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_xmax2\fR [default = \fI1390\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_ymin2\fR \fI\fR qc_fpn_ymin2 (int; default: 1000). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_ymin2\fR [default = \fI1000\fR]. .TP \fB\-\-lamp_flats\-qc_fpn_ymax2\fR \fI\fR qc_fpn_ymax2 (int; default: 1200). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_fpn_ymax2\fR [default = \fI1200\fR]. .TP \fB\-\-lamp_flats\-qc_thresh_min\fR \fI\fR qc_thresh_min (int; default: 0). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_thresh_min\fR [default = \fI0\fR]. .TP \fB\-\-lamp_flats\-qc_thresh_max\fR \fI\fR qc_thresh_max (int; default: 49000). The full name of this option for the EsoRex configuration file is \fBsinfoni.lamp_flats.qc_thresh_max\fR [default = \fI49000\fR]. .TP \fB\-\-bp\-method\fR \fI\fR Data reduction method: (str; default: \'Normal\'). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp.method\fR [default = \fINormal\fR]. .TP \fB\-\-bp_dist\-s_factor\fR \fI\fR Threshold Sigma Factor: to remove the column intensity tilt only pixels which lie within a defined noiselimit are used to fit a straight line (float; default: 2.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.sigma_factor\fR [default = \fI2.0\fR]. .TP \fB\-\-bp_dist\-method_ind\fR \fI\fR Bad pixel Method Index1: median of nearest neighbors,2: absolute distances check, 3: mean of nearest spectral neighbors (int; default: 1). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.method_index\fR [default = \fI1\fR]. .TP \fB\-\-bp_dist\-fct\fR \fI\fR Factor: if |pixel \- sinfo_median| > factor * standard deviation \-> then the pixel value is replaced by the median of the 8 nearest neighbors (float; default: 999.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.factor\fR [default = \fI999.0\fR]. .TP \fB\-\-bp_dist\-it\fR \fI\fR Iterations: number of iterations to of median filtering to find bad pixel clusters (int; default: 8). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.iterations\fR [default = \fI8\fR]. .TP \fB\-\-bp_dist\-lo_rej\fR \fI\fR low_rejection: percentage of rejected low intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.low_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-bp_dist\-hi_rej\fR \fI\fR high_rejection: percentage of rejected high intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.high_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-bp_dist\-llx\fR \fI\fR llx: to compute image statistics on a rectangularzone of the image the coordinates of the rectangle are needed:lower left x coordinate (int; default: 1350). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.llx\fR [default = \fI1350\fR]. .TP \fB\-\-bp_dist\-lly\fR \fI\fR lly: to compute image statistics on a rectangularzone of the image the coordinates of the rectangle are needed:lower left y coordinate (int; default: 1000). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.lly\fR [default = \fI1000\fR]. .TP \fB\-\-bp_dist\-urx\fR \fI\fR urx: to compute image statistics on a rectangularzone of the image the coordinates of the rectangle are needed:upper right x coordinate (int; default: 1390). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.urx\fR [default = \fI1390\fR]. .TP \fB\-\-bp_dist\-ury\fR \fI\fR ury: to compute image statistics on a rectangularzone of the image the coordinates of the rectangle are needed:upper right y coordinate (int; default: 1200). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.ury\fR [default = \fI1200\fR]. .TP \fB\-\-bp_dist\-thr_ind\fR \fI\fR Threshold Index: indicator that indicates if the values beyond a threshold deviation from the mean are flagged as bad pixels (bool; default: True). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.threshold_index\fR [default = \fITrue\fR]. .TP \fB\-\-bp_dist\-mean_fct\fR \fI\fR Mean Factor: factor to the clean standard deviation to define the threshold deviation from the clean mean (float; default: 999.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.mean_factor\fR [default = \fI999.0\fR]. .TP \fB\-\-bp_dist\-min_cut\fR \fI\fR the minimum value of real data. For J band data taken after 31/01/2018 the default is 0.05. (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.min_cut\fR [default = \fI0.1\fR]. .TP \fB\-\-bp_dist\-max_cut\fR \fI\fR the maximum value of real data (float; default: 50000.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.bp_dist.max_cut\fR [default = \fI50000.0\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). (int; 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 (int; 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) (int; 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: (int; 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 (int; 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 (int; 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 (int; 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\-\-dist\-calib_indicator\fR \fI\fR Calib Indicator: FALSE: if the dispersion relation is already known, the routine can jump to the 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.distortion.calib_indicator\fR [default = \fITrue\fR]. .TP \fB\-\-dist\-min_diff_mean_med_col_int\fR \fI\fR Minimum Of Difference: minimum difference of mean and median column intensity to carry out the cross correlation (float; default: 10.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.min_diff_mean_med_col_int\fR [default = \fI10.0\fR]. .TP \fB\-\-dist\-hw\fR \fI\fR Half Width: half width of a box within which the line must be placed (int; default: 7). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.half_width\fR [default = \fI7\fR]. .TP \fB\-\-dist\-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.distortion.sigma\fR [default = \fI2.0\fR]. .TP \fB\-\-dist\-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.distortion.fwhm\fR [default = \fI2.83\fR]. .TP \fB\-\-dist\-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.distortion.min_amplitude\fR [default = \fI5.0\fR]. .TP \fB\-\-dist\-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.distortion.max_residual\fR [default = \fI0.5\fR]. .TP \fB\-\-dist\-n_a_coeffs\fR \fI\fR Number of A coefficients: number of polynomial coefficients for the dispersion relation (int; default: 4). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.n_a_coefficients\fR [default = \fI4\fR]. .TP \fB\-\-dist\-n_b_coeffs\fR \fI\fR Number of B coefficients: number of polynomial coefficients for the polynomial fit of the dispersion coefficients (int; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.n_b_coefficients\fR [default = \fI2\fR]. .TP \fB\-\-dist\-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.distortion.sigma_factor\fR [default = \fI1.5\fR]. .TP \fB\-\-dist\-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.distortion.write_coeffs_ind\fR [default = \fITrue\fR]. .TP \fB\-\-dist\-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.distortion.write_par_ind\fR [default = \fITrue\fR]. .TP \fB\-\-dist\-pixel_dist\fR \fI\fR Minimal Slitlets\'s Distance in spectral direction (int; default: 15). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.pixel_dist\fR [default = \fI15\fR]. .TP \fB\-\-dist\-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.distortion.pixel_tol\fR [default = \fI5.0\fR]. .TP \fB\-\-dist\-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.distortion.wave_map_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-dist\-mag_factor\fR \fI\fR Magnificator Factor: magnifying factor for the number of pixels in the columns needed for FFT (int; default: 8). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.mag_factor\fR [default = \fI8\fR]. .TP \fB\-\-dist\-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.distortion.slit_pos_indicator\fR [default = \fITrue\fR]. .TP \fB\-\-dist\-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.distortion.fit_boltz_indicator\fR [default = \fITrue\fR]. .TP \fB\-\-dist\-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.distortion.fit_edge_indicator\fR [default = \fIFalse\fR]. .TP \fB\-\-dist\-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.distortion.estimate_indicator\fR [default = \fIFalse\fR]. .TP \fB\-\-dist\-box_len\fR \fI\fR Box Length: pixel length of the row box within which the fit is carried out (int; default: 32). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.box_length\fR [default = \fI32\fR]. .TP \fB\-\-dist\-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.distortion.y_box\fR [default = \fI5.0\fR]. .TP \fB\-\-dist\-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.distortion.diff_tol\fR [default = \fI2.0\fR]. .TP \fB\-\-dist\-qc_thresh_min\fR \fI\fR qc_thresh_min (int; default: 0). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.qc_thresh_min\fR [default = \fI0\fR]. .TP \fB\-\-dist\-qc_thresh_max\fR \fI\fR qc_thresh_max (int; default: 49000). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.qc_thresh_max\fR [default = \fI49000\fR]. .TP \fB\-\-ns\-lo_rejection\fR \fI\fR lower rejection: percentage of rejected low intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.lower_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-ns\-hi_rejection\fR \fI\fR higher rejection: percentage of rejected high intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.higher_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-ns\-mask_ind\fR \fI\fR Mask Index: indicator if a bad pixel mask is applied or not (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.mask_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-ns\-gauss_ind\fR \fI\fR Gauss Index: (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.gauss_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-ns\-khw\fR \fI\fR Kernel Half Width kernel half width of the Gaussian response function (int; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.kernel_half_width\fR [default = \fI2\fR]. .TP \fB\-\-ns\-hw\fR \fI\fR Half Width (int; default: 4). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.ns_half_width\fR [default = \fI4\fR]. .TP \fB\-\-ns\-fwhm\fR \fI\fR FWHM (float; default: 2.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.ns_fwhm\fR [default = \fI2.0\fR]. .TP \fB\-\-ns\-min_diff\fR \fI\fR Minimum of Difference (float; default: 1.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.min_diff\fR [default = \fI1.0\fR]. .TP \fB\-\-ns\-dev_tol\fR \fI\fR Dev Tol (float; default: 20.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.dev_tol\fR [default = \fI20.0\fR]. .TP \fB\-\-arcs_thresh_factor\fR \fI\fR arcs threshold factor. median_value(image)+ kappa*sigma is the minimum intensity threshold of accepted imagepixels (float; default: 0.33333). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.arcs_thresh_factor\fR [default = \fI0.33333\fR]. .TP \fB\-\-arcs_min_arclen_factor\fR \fI\fR factor which sets minimum arc length (1.0\-2) (float; default: 1.19). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.arcs_min_arclen_factor\fR [default = \fI1.19\fR]. .TP \fB\-\-arcs_window_size\fR \fI\fR Size of window for low pass fileter used inan horizzontal low pass filter to remove unwanted arcs (5\-64) (int; default: 14). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.arcs_window_size\fR [default = \fI14\fR]. .TP \fB\-\-smooth_rad\fR \fI\fR Size of smoothing factor (1\-11) used to prevent for possible intensity drops from detector electronics on fibre illuminated slitlets (1\-11) (int; default: 3). The full name of this option for the EsoRex configuration file is \fBsinfoni.distortion.smooth_rad\fR [default = \fI3\fR]. .TP \fB\-\-ns\-lo_rej\fR \fI\fR lower rejection: percentage of rejected low intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.low_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-ns\-hi_rej\fR \fI\fR higher rejection: percentage of rejected high intensity pixels before averaging (float; default: 0.1). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.high_rejection\fR [default = \fI0.1\fR]. .TP \fB\-\-ns\-mask_ind\fR \fI\fR Mask Index: indicator if a bad pixel mask is applied or not (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.mask_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-ns\-gauss_ind\fR \fI\fR Gauss Index: (bool; default: False). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.gauss_ind\fR [default = \fIFalse\fR]. .TP \fB\-\-ns\-khw\fR \fI\fR Kernel Half Width kernel half width of the Gaussian response function (int; default: 2). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.kernel_half_width\fR [default = \fI2\fR]. .TP \fB\-\-ns\-hw\fR \fI\fR Half Width (int; default: 4). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.half_width\fR [default = \fI4\fR]. .TP \fB\-\-ns\-fwhm\fR \fI\fR FWHM (float; default: 2.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.fwhm\fR [default = \fI2.0\fR]. .TP \fB\-\-ns\-min_diff\fR \fI\fR Minimum of Difference (float; default: 1.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.min_diff\fR [default = \fI1.0\fR]. .TP \fB\-\-ns\-dev_tol\fR \fI\fR Dev Tol (float; default: 20.0). The full name of this option for the EsoRex configuration file is \fBsinfoni.north_south_test.dev_tol\fR [default = \fI20.0\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 \fBhttps://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 \fBhttps://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_jitter (7), .IR sinfo_rec_mdark (7), .IR sinfo_rec_mflat (7), .IR sinfo_rec_pupil (7), .IR sinfo_rec_wavecal (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_distortion 3.1.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