.TH VMSPFLAT "7" "3.2.3" "vmspflat" "vimos recipes" .SH NAME vmspflat \- Build master flat field from a set of raw MOS flat fields. .SH SYNOPSIS esorex .B vmspflat [OPTIONS] FILE.sof .SH DESCRIPTION This recipe is used to create the MOS normalised master flat field from a set of MOS flat field exposures. A _not_ normalised master flat field is also required by the recipe vmspcaldisp to determine the spectral curvature model. The recipe vmspflat does compute its own curvature model, but this is generally incompatible with the wavelength calibration and the optical distortion models computed by vmspcaldisp. For this reason this curvature model is just used internally in the process of flat field normalisation, where the compatibility with the Y component of the optical distortion model is irrelevant. .PP Input files: DO category: Type: Explanation: Required: MOS_SCREEN_FLAT Raw Flat field exposures Y MASTER_BIAS Calib Master bias Y MASTER_DARK Calib Master dark . .PP GRISM_TABLE Calib Grism table Y CCD_TABLE Calib Bad pixel table . .PP Output files: DO category: Data type: Explanation: MOS_MASTER_SCREEN_FLAT FITS image Master flat field MOS_COMBINED_SCREEN_FLAT FITS image Combined flat field (none) PAF Distortion models At least one raw flat field exposure should be present in the input SOF. The acquisition of input flat fields may be done using different mask shutter settings (to avoid contamination between different spectral orders in LR grisms used with multiplexed masks. The vmspflat recipe will properly combine all the input frames according to a specified method. .PP The bad pixel table needs to be specified only if the cleaning of bad pixels is requested. .PP The grism table contains necessary information to control the way spectra are extracted, and the determination of the spectral distortion models. The vmspflat recipe gets from the grism table the wavelength that should be used as reference (header entry PRO WLEN CEN), and the spectrum extension in CCD pixels above and below the position of the reference wavelength (header entries PRO SPECT LLEN LO and PRO SPECT LLEN HI). .PP The PAF file just contains the curvature and the optical distortion models computed in the process of spectra normalisation. Such models are available just for debug purposes, and are not to be used in further data reduction steps. .SH OPTIONS .TP \fB\-\-AllowSingleFrames\fR \fI\fR Frame combination method is ignored. (bool; default: True). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.stacking.singleframes\fR [default = \fITrue\fR]. .TP \fB\-\-BiasMethod\fR \fI\fR Bias removal method. (str; default: \'Zmaster\'). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.bias.removing.method\fR [default = \fIZmaster\fR]. .TP \fB\-\-StackMethod\fR \fI\fR Frames combination method. (str; default: \'Average\'). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.stacking.method\fR [default = \fIAverage\fR]. .TP \fB\-\-KSigmaLow\fR \fI\fR Low threshold for K\-sigma clipping method. (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.stacking.ksigma.low\fR [default = \fI5.0\fR]. .TP \fB\-\-KSigmaHigh\fR \fI\fR High threshold for K\-sigma clipping method. (float; default: 5.0). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.stacking.ksigma.high\fR [default = \fI5.0\fR]. .TP \fB\-\-MinRejection\fR \fI\fR Number of lowest rejected values for rejection method (int; default: 1). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.stacking.minmax.minimum\fR [default = \fI1\fR]. .TP \fB\-\-MaxRejection\fR \fI\fR Number of highest rejected values for rejection method (int; default: 1). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.stacking.minmax.maximum\fR [default = \fI1\fR]. .TP \fB\-\-Fuzz\fR \fI\fR Extra pixels from expected position of spectrum edge in spectral extraction. (int; default: 5). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.extraction.fuzz\fR [default = \fI5\fR]. .TP \fB\-\-FlatMethod\fR \fI\fR Flat field trends removal method. (str; default: \'Median\'). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.flat.removing.trend\fR [default = \fIMedian\fR]. .TP \fB\-\-PolyOrderX\fR \fI\fR Degree of polynomial used for fitting the flat spectrum along X. (int; default: 3). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.flat.removing.orderx\fR [default = \fI3\fR]. .TP \fB\-\-PolyOrderY\fR \fI\fR Degree of polynomial used for fitting the flat spectrum along Y. (int; default: 8). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.flat.removing.ordery\fR [default = \fI8\fR]. .TP \fB\-\-SmoothBoxSize\fR \fI\fR Size of running box used for smoothing along the dispersion direction (currently unused). (int; default: 11). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.flat.removing.boxsize\fR [default = \fI11\fR]. .TP \fB\-\-CleanBadPixel\fR \fI\fR Bad pixel correction on master flat. (bool; default: False). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.badpixel.clean\fR [default = \fIFalse\fR]. .TP \fB\-\-CleanCosmic\fR \fI\fR Cosmic ray events cleaning from raw flats. (bool; default: False). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.cosmics.clean\fR [default = \fIFalse\fR]. .TP \fB\-\-ComputeQC\fR \fI\fR Compute QC1 parameters. (bool; default: True). The full name of this option for the EsoRex configuration file is \fBvimos.Parameters.quality.enable\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 vimos pipeline can be downloaded as a PDF file using the following URL: .IP .B ftp://ftp.eso.org/pub/dfs/pipelines/vimos/vimos\-pipeline\-manual\-6.9.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 vimos pipeline are .IR vmbias (7), .IR vmdark (7), .IR vmdet (7), .IR vmifucalib (7), .IR vmifucombine (7), .IR vmifucombinecube (7), .IR vmifuscience (7), .IR vmifustandard (7), .IR vmimcalphot (7), .IR vmimflatscreen (7), .IR vmimflatsky (7), .IR vmimobsjitter (7), .IR vmimobsstare (7), .IR vmimpreimaging (7), .IR vmimstandard (7), .IR vmmoscalib (7), .IR vmmoscombine (7), .IR vmmosobsjitter (7), .IR vmmosobsstare (7), .IR vmmosscience (7), .IR vmmosstandard (7), .IR vmspcaldisp (7), .IR vmspphot (7) .SH VERSION vmspflat 3.2.3 .SH AUTHOR ESO VIMOS Pipeline Team and VIMOS Consortium .SH BUG REPORTS Please report any problems to usd\-help@eso.org. Alternatively, you may send a report to the ESO User Support Department . .SH LICENSE This file is part of the VIMOS Instrument Pipeline Copyright (C) 2002\-2005 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 02110\-1301 USA