.TH UVES_CAL_MDARK "7" "6.1.8" "uves_cal_mdark" "uves recipes" .na .SH NAME uves_cal_mdark \- Creates the master dark frame .SH SYNOPSIS esorex .B uves_cal_mdark [OPTIONS] FILE.sof .SH DESCRIPTION This recipe creates a master dark frame by taking the median of all input frames which should have identical exposure times. Symbolically, masterdark = median( dark_i ) \- masterbias The input dark frames must have same tag and size and must be either (P)DARK_BLUE or (P)DARK_RED. Also, a master bias (MASTER_BIAS_xxxx) must be provided for each chip (xxxx = BLUE, REDL, REDU). .PP On blue input the recipe computes one master dark frame; on red input the recipe produces a master dark frame for each chip (MASTER_(P)DARK_xxxx). .PP .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\-\-khigh\fR \fI\fR Kappa used to clip high level values, when method is set to \'mean\' (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.khigh\fR [default = \fI5.0\fR]. .TP \fB\-\-khigh\fR \fI\fR Kappa used to clip high level values, when method is set to \'mean\' (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.khigh\fR [default = \fI5.0\fR]. .TP \fB\-\-klow\fR \fI\fR Kappa used to clip low level values, when method is set to \'mean\' (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.klow\fR [default = \fI5.0\fR]. .TP \fB\-\-klow\fR \fI\fR Kappa used to clip low level values, when method is set to \'mean\' (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.klow\fR [default = \fI5.0\fR]. .TP \fB\-\-niter\fR \fI\fR Number of kappa sigma iterations, when method is set to \'mean\' (int; default: 5). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.niter\fR [default = \fI5\fR]. .TP \fB\-\-niter\fR \fI\fR Number of kappa sigma iterations, when method is set to \'mean\' (int; default: 5). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.niter\fR [default = \fI5\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\-\-qc_dark.reg.border_x\fR \fI\fR X distance between the left hand side of the detector and the left hand side of the region [pix] (int; default: 100). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.border_x\fR [default = \fI100\fR]. .TP \fB\-\-qc_dark.reg.border_y\fR \fI\fR X distance between the left hand side of the detector and the left hand side of the region [pix] (int; default: 100). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.border_y\fR [default = \fI100\fR]. .TP \fB\-\-qc_dark.reg.box_sx\fR \fI\fR Region X size [pix] (int; default: 100). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.box_sx\fR [default = \fI100\fR]. .TP \fB\-\-qc_dark.reg.box_sy\fR \fI\fR Region Y size [pix] (int; default: 100). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.box_sy\fR [default = \fI100\fR]. .TP \fB\-\-qc_dark.reg.num_x\fR \fI\fR Number of regions along the X axis (where mean/med/rms are computed). (int; default: 4). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.num_x\fR [default = \fI4\fR]. .TP \fB\-\-qc_dark.reg.num_y\fR \fI\fR Number of regions along the Y axis(where mean/med/rms are computed). (int; default: 4). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.num_y\fR [default = \fI4\fR]. .TP \fB\-\-qc_dark.reg.when\fR \fI\fR When QC analysis is performed. 0: on each raw frame or 1: on the master frame (int; default: 0). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.qc_dark.reg.when\fR [default = \fI0\fR]. .TP \fB\-\-stack_method\fR \fI\fR Method used to build master frame (str; default: \'median\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.stack_method\fR [default = \fImedian\fR]. .TP \fB\-\-stack_method\fR \fI\fR Method used to build master frame (str; default: \'median\'). The full name of this option for the EsoRex configuration file is \fBuves_cal_mdark.stack_method\fR [default = \fImedian\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.8.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_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_response (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_mdark 6.1.8 .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