.TH UVES_CAL_RESPONSE "7" "6.1.3" "uves_cal_response" "uves recipes" .na .SH NAME uves_cal_response \- Determines response function and quantum efficiency .SH SYNOPSIS esorex .B uves_cal_response [OPTIONS] FILE.sof .SH DESCRIPTION This recipe reduces a standard star frame (STANDARD_xxx or STANDARD_xxx, where xxx = BLUE, RED) using a combination (depending on recipe parameters and provided input frames) of the steps: \- bias subtraction, \- dark subtraction, \- background subtraction, \- extraction/cosmic ray removal, \- flat\-field correction, \- wavelength rebinning, \- sky subtraction, \- order merging. .PP Expected input for this recipe is an raw std star frame, STANDARD_xxx or order table(s) for each chip, ORDER_TABLE_xxxx (where xxxx=BLUE, REDL, REDU), line table(s) for each chip, LINE_TABLE_xxxx, a master bias frame, MASTER_BIAS_xxxx, a master flat, MASTER_FLAT_xxxx, a reference standard star flux table, FLUX_STD_TABLE, a table describing the atmospheric extintion, EXTCOEFF_TABLE, and the catalog indicating points to fit the response, RESP_FIT_POINTS_CATALOG. .PP Two reductions are performed, the first using optimal extraction (used to compute the instrument response function), the second using linear extraction (used to get the Quantum Detection Efficiency) For each chip (xxxx = BLUE, REDL, REDU) the recipe produces INSTR_RESPONSE_FINE_xxxx Response curve RED_STD_xxxx Reduced spectrum EFFICIENCY_TABLE_xxxx Efficiency table BKG_STD_xxxx The subtracted background .SH OPTIONS .TP \fB\-\-debug\fR \fI\fR 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 \fBuves.debug\fR [default = \fIFalse\fR]. .TP \fB\-\-efficiency.reduce.best\fR \fI\fR (optimal extraction only) If false (fastest), the spectrum is extracted only once. If true (best), the spectrum is extracted twice, the second time using improved variance estimates based on the first iteration. Better variance estimates slightly improve the obtained signal to noise but at the cost of increased execution time (bool; default: True). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.efficiency.reduce.best\fR [default = \fITrue\fR]. .TP \fB\-\-efficiency.reduce.extract.method\fR \fI\fR Extraction method. (str; default: \'linear\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.efficiency.reduce.extract.method\fR [default = \fIlinear\fR]. .TP \fB\-\-efficiency.reduce.ffmethod\fR \fI\fR Flat\-fielding method. If set to \'pixel\', flat\-fielding is done in pixel\-pixel space (before extraction); if set to \'extract\', flat\- fielding is performed in pixel\-order space (i.e. after extraction). If set to \'no\', no flat\-field correction is done. (str; default: \'no\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.efficiency.reduce.ffmethod\fR [default = \fIno\fR]. .TP \fB\-\-efficiency.reduce.merge\fR \fI\fR Order merging method. If \'optimal\', the flux in the overlapping region is set to the (optimally computed, using the uncertainties) average of single order spectra. If \'sum\', the flux in the overlapping region is computed as the sum of the single order spectra.If \'noappend\' the spectrum is simply rebinned but not merged.If flat\-fielding is done, method \'optimal\' is recommended, otherwise \'sum\'. (str; default: \'sum\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.efficiency.reduce.merge\fR [default = \fIsum\fR]. .TP \fB\-\-paccuracy\fR \fI\fR The pointing accuracy (in arcseconds) used to identify the observed star with a catalogue star. If the angular separation is less than this number, the identification is made. (float; default: 60.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.efficiency.paccuracy\fR [default = \fI60.0\fR]. .TP \fB\-\-plotter\fR \fI\fR 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. my_gnuplot.pl, 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 \fBuves.plotter\fR [default = \fIno\fR]. .TP \fB\-\-process_chip\fR \fI\fR 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 \fBuves.process_chip\fR [default = \fIboth\fR]. .TP \fB\-\-reduce.backsub.mmethod\fR \fI\fR Background measuring method. If equal to \'median\' the background is sampled using the median of a subwindow. If \'minimum\', the subwindow minimum value is used. If \'no\', no background subtraction is done. (str; default: \'median\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.backsub.mmethod\fR [default = \fImedian\fR]. .TP \fB\-\-reduce.backsub.npoints\fR \fI\fR This is the number of columns in interorder space used to sample the background. (int; default: 82). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.backsub.npoints\fR [default = \fI82\fR]. .TP \fB\-\-reduce.backsub.radiusy\fR \fI\fR The height (in pixels) of the background sampling window is (2*radiusy + 1). This parameter is not corrected for binning. (int; default: 2). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.backsub.radiusy\fR [default = \fI2\fR]. .TP \fB\-\-reduce.backsub.sdegree\fR \fI\fR Degree of interpolating splines. Currently only degree = 1 is supported (int; default: 1). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.backsub.sdegree\fR [default = \fI1\fR]. .TP \fB\-\-reduce.backsub.smoothx\fR \fI\fR If spline interpolation is used to measure the background, the x\-radius of the post\-smoothing window is (smoothx * image_width). Here, \'image_width\' is the image width after binning. If negative, the default values are used: (25.0/4096) for blue flat\-field frames, (50.0/4096) for red flat\-field frames, (300.0/4096) for blue science frames and (300.0/4096) for red science frames. (float; default: \-1.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.backsub.smoothx\fR [default = \fI\-1.0\fR]. .TP \fB\-\-reduce.backsub.smoothy\fR \fI\fR If spline interpolation is used to measure the background, the y\-radius of the post\-smoothing window is (smoothy * image_height). Here, \'image_height\' is the image height after binning. If negative, the default values are used: (100.0/2048) for blue flat\-field frames, (300.0/2048) for red flat\-field frames, (200.0/2048) for blue science frames and (500.0/2048) for red science frames. (float; default: \-1.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.backsub.smoothy\fR [default = \fI\-1.0\fR]. .TP \fB\-\-reduce.extract.best\fR \fI\fR (optimal extraction only) If false (fastest), the spectrum is extracted only once. If true (best), the spectrum is extracted twice, the second time using improved variance estimates based on the first iteration. Better variance estimates slightly improve the obtained signal to noise but at the cost of increased execution time (bool; default: True). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.best\fR [default = \fITrue\fR]. .TP \fB\-\-reduce.extract.chunk\fR \fI\fR In optimal extraction mode, the chunk size (in pixels) used for fitting the analytical profile (a fit of the analytical profile to single bins would suffer from low statistics). (int; default: 32). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.chunk\fR [default = \fI32\fR]. .TP \fB\-\-reduce.extract.kappa\fR \fI\fR In optimal extraction mode, this is the threshold for bad (i.e. hot/cold) pixel rejection. If a pixel deviates more than kappa*sigma (where sigma is the uncertainty of the pixel flux) from the inferred spatial profile, its weight is set to zero. Range: [\-1,100]. If this parameter is negative, no rejection is performed. (float; default: 10.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.kappa\fR [default = \fI10.0\fR]. .TP \fB\-\-reduce.extract.method\fR \fI\fR Extraction method. (2d/optimal not supported by uves_cal_wavecal, weighted supported only by uves_cal_wavecal, 2d not supported by uves_cal_response) (str; default: \'optimal\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.method\fR [default = \fIoptimal\fR]. .TP \fB\-\-reduce.extract.oversample\fR \fI\fR The oversampling factor used for the virtual resampling algorithm. If negative, the value 5 is used for S/N <=200, and the value 10 is used if the estimated S/N is > 200 (int; default: \-1). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.oversample\fR [default = \fI\-1\fR]. .TP \fB\-\-reduce.extract.profile\fR \fI\fR In optimal extraction mode, the kind of profile to use. \'gauss\' gives a Gaussian profile, \'moffat\' gives a Moffat profile with beta=4 and a possible linear sky contribution. \'virtual\' uses a virtual resampling algorithm (i.e. measures and uses the actual object profile). \'constant\' assumes a constant spatial profile and allows optimal extraction of wavelength calibration frames. \'auto\' will automatically select the best method based on the estimated S/N of the object. For low S/N, \'moffat\' or \'gauss\' are recommended (for robustness). For high S/N, \'virtual\' is recommended (for accuracy). In the case of virtual resampling, a precise determination of the order positions is required; therefore the order\-definition is repeated using the (assumed non\-low S/N) science frame (str; default: \'auto\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.profile\fR [default = \fIauto\fR]. .TP \fB\-\-reduce.extract.skymethod\fR \fI\fR In optimal extraction mode, the sky subtraction method to use. \'median\' estimates the sky as the median of pixels along the slit (ignoring pixels close to the object), whereas \'optimal\' does a chi square minimization along the slit to obtain the best combined object and sky levels. The optimal method gives the most accurate sky determination but is also a bit slower than the median method (str; default: \'optimal\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.extract.skymethod\fR [default = \fIoptimal\fR]. .TP \fB\-\-reduce.ffmethod\fR \fI\fR Flat\-fielding method. If set to \'pixel\', flat\-fielding is done in pixel\-pixel space (before extraction); if set to \'extract\', flat\- fielding is performed in pixel\-order space (i.e. after extraction). If set to \'no\', no flat\-field correction is done (str; default: \'extract\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.ffmethod\fR [default = \fIextract\fR]. .TP \fB\-\-reduce.merge\fR \fI\fR Order merging method. If \'optimal\', the flux in the overlapping region is set to the (optimally computed, using the uncertainties) average of single order spectra. If \'sum\', the flux in the overlapping region is computed as the sum of the single order spectra. If \'noappend\' the spectrum is simply rebinned but not merged.If flat\-fielding is done, method \'optimal\' is recommended, otherwise \'sum\'. (str; default: \'optimal\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.merge\fR [default = \fIoptimal\fR]. .TP \fB\-\-reduce.merge_delt1\fR \fI\fR Order merging left hand (short wavelength) cut. To reduce the amount of order overlapping regions we allow to cut short and long wavelength ranges. This may reduce the ripple possibly introduced by the order merging. Suggested values are: 10 (W<=390), 12 (390\fR Order merging right hand (long wavelength) cut. To reduce the amount of order overlapping regions we allow to cut short and long wavelength ranges. This may reduce the ripple possibly introduced by the order merging. Suggested values is 4 (float; default: 0.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.merge_delt2\fR [default = \fI0.0\fR]. .TP \fB\-\-reduce.objoffset\fR \fI\fR Offset (in pixels) of extraction slit with respect to center of order. This parameter applies to linear/average/optimal extraction. For linear/average extraction, if the related parameter objslit is negative, the offset is automatically determined by measuring the actual object position. (float; default: 0.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.objoffset\fR [default = \fI0.0\fR]. .TP \fB\-\-reduce.objslit\fR \fI\fR Object window size (in pixels). This must be less than the total slit length. If negative, the default value (half of full slit length) is used. The upper and lower sky windows are defined as the part of the full slit (if any) outside the object window. The center of the object window is determined by the offset parameter. This parameter does not apply to optimal extraction. (float; default: \-1.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.objslit\fR [default = \fI\-1.0\fR]. .TP \fB\-\-reduce.rebin.scale\fR \fI\fR Whether or not to multiply by the factor dx/dlambda (pixels per wavelength) during the rebinning. This option is disabled as default in concordance with the method used in the MIDAS pipeline. This option should be set to true to convert the observed flux (in pixel\-space) to a flux per wavelength (in wavelength\-space). (bool; default: False). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.rebin.scale\fR [default = \fIFalse\fR]. .TP \fB\-\-reduce.rebin.wavestep\fR \fI\fR The bin size used for REDU data (in w.l.u.) in wavelength space. If negative, a step size of 2/3 * ( average pixel size ) is used. (float; default: \-1.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.rebin.wavestep\fR [default = \fI\-1.0\fR]. .TP \fB\-\-reduce.rebin.wavestep_redu\fR \fI\fR The bin size used for REDU data (in w.l.u.) in wavelength space. If negative, a step size of 2/3 * ( average pixel size ) is used. (float; default: \-1.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.rebin.wavestep_redu\fR [default = \fI\-1.0\fR]. .TP \fB\-\-reduce.skysub\fR \fI\fR Do sky\-subtraction (only applicable to linear and average extractions)? (bool; default: True). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.skysub\fR [default = \fITrue\fR]. .TP \fB\-\-reduce.slitlength\fR \fI\fR Extraction slit length (in pixels). If negative, the value inferred from the raw frame header is used (float; default: \-1.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.slitlength\fR [default = \fI\-1.0\fR]. .TP \fB\-\-reduce.tiltcorr\fR \fI\fR If enabled (recommended), the provided dispersion solutions obtained at different slit positions are interpolated linearly at the actually measured position of the object/sky. Line tilt correction is currently not supported for 2d extraction, in which case the dispersion solution obtained at the middle of the slit is always used. (bool; default: True). The full name of this option for the EsoRex configuration file is \fBuves_cal_response.reduce.tiltcorr\fR [default = \fITrue\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 uves pipeline can be downloaded as a PDF file using the following URL: .IP .B ftp://ftp.eso.org/pub/dfs/pipelines/uves/uves\-pipeline\-manual\-6.1.3.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 uves pipeline are .IR flames_cal_mkmaster (7), .IR flames_cal_orderpos (7), .IR flames_cal_predict (7), .IR flames_cal_prep_sff_ofpos (7), .IR flames_cal_wavecal (7), .IR flames_obs_redchain (7), .IR flames_obs_scired (7), .IR flames_utl_unpack (7), .IR uves_cal_cd_align (7), .IR uves_cal_mbias (7), .IR uves_cal_mdark (7), .IR uves_cal_mflat (7), .IR uves_cal_mflat_combine (7), .IR uves_cal_mkmaster (7), .IR uves_cal_orderpos (7), .IR uves_cal_predict (7), .IR uves_cal_tflat (7), .IR uves_cal_wavecal (7), .IR uves_obs_redchain (7), .IR uves_obs_scired (7), .IR uves_utl_ima_arith (7), .IR uves_utl_remove_crh_single (7) .SH VERSION uves_cal_response 6.1.3 .SH AUTHOR Jonas M. Larsen .SH BUG REPORTS Please report any problems to cpl@eso.org. Alternatively, you may send a report to the ESO User Support Department . .SH LICENSE 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