Scroll to navigation



uves_cal_cd_align - Measures the reproducability of the cross disperser positioning


esorex uves_cal_cd_align [OPTIONS] FILE.sof


Given two input frames (CD_ALIGN_xxx where xxx = BLUE or RED) which contain only one echelle order, this recipe measures the shift in the cross-dispersion direction of that order. For RED input frames, only the lower chip is processed.

The recipe produces a CD_ALIGN_TABLE_xxxx (with xxxx = BLUE or REDL) with columns X: Column number YCENi: Centroid from Gaussian fit (for i = 1,2) SIGMAi: Stdev from Gaussian fit BACKi: Constant background from Gaussian fit NORMi: Normalization constant from Gaussian fit YDIFF: Difference YCEN2 - YCEN1 of centroid positions

and the QC-parameters ESO.QC.YDIFF(AVG|MED|RMS), which are the average, median and root-mean-square of the y-shift, respectively.


Whether or not to save intermediate results to local directory (bool; default: False). The full name of this option for the EsoRex configuration file is uves.debug [default = False].
Any plots produced by the recipe are redirected to the command specified by this parameter. The plotting command must contain the substring ´gnuplot´ and must be able to parse gnuplot syntax on its standard input. Valid examples of such a command may include ´gnuplot -persist´ and ´cat > mygnuplot$$.gp´. A finer control of the plotting options can be obtained by writing an executable script, e.g., that executes gnuplot after setting the desired gnuplot options (e.g. set terminal pslatex color). To turn off plotting, set this parameter to ´no´ (str; default: ´no´). The full name of this option for the EsoRex configuration file is uves.plotter [default = no].
For RED arm data process the redl, redu, or both chip(s) (str; default: ´both´). The full name of this option for the EsoRex configuration file is uves.process_chip [default = both].
Step size in pixels (int; default: 100). The full name of this option for the EsoRex configuration file is uves_cal_cd_align.steps [default = 100].
The half window height used for Gaussian fitting (int; default: 50). The full name of this option for the EsoRex configuration file is uves_cal_cd_align.window [default = 50].
Exclude a border region of this size (pixels) (int; default: 200). The full name of this option for the EsoRex configuration file is uves_cal_cd_align.xborder [default = 200].

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.


The full documentation for the uves pipeline can be downloaded as a PDF file using the following URL:

An overview over the existing ESO pipelines can be found on the web page

Basic documentation about the EsoRex program can be found at the esorex (1) man page.

It is possible to call the pipelines from python using the python-cpl package. See for further information.

The other recipes of the uves pipeline are flames_cal_mkmaster(7), flames_cal_orderpos(7), flames_cal_predict(7), flames_cal_prep_sff_ofpos(7), flames_cal_wavecal(7), flames_obs_redchain(7), flames_obs_scired(7), flames_utl_unpack(7), uves_cal_mbias(7), uves_cal_mdark(7), uves_cal_mflat(7), uves_cal_mflat_combine(7), uves_cal_mkmaster(7), uves_cal_orderpos(7), uves_cal_predict(7), uves_cal_response(7), uves_cal_tflat(7), uves_cal_wavecal(7), uves_obs_redchain(7), uves_obs_scired(7), uves_utl_ima_arith(7), uves_utl_remove_crh_single(7)


uves_cal_cd_align 6.1.8


Jonas M. Larsen <>


Please report any problems to Alternatively, you may send a report to the ESO User Support Department <>.


This file is part of the FLAMES/UVES Pipeline Copyright (C) 2004, 2005, 2006, 2007 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA

6.1.8 uves_cal_cd_align