.TH FORS_SUBTRACT_SKY "7" "5.5.7" "fors_subtract_sky" "fors recipes" .SH NAME fors_subtract_sky \- Subtract sky from scientific spectra .SH SYNOPSIS esorex .B fors_subtract_sky [OPTIONS] FILE.sof .SH DESCRIPTION This recipe is used to subtract the sky emission from unrebinned slit spectra. This is obtained by robust fitting (i.e., excluding the signal from possible point\-like objects in slit) of the emission along the CCD columns within each spectrum). This method doesn\'t work if extended objects are in slit (it really destroys the object spectra), and is not applicable to LSS data. The input scientific frames are produced by the recipes fors_remove_bias and fors_flatfield. .PP This recipe cannot be applied to LSS or long\-slit like data (MOS/MXU with all slits at the same offset). No automatic recipe is available for this. .PP Please refer to the FORS Pipeline User\'s Manual for more details. .PP In the table below the MXU acronym can be alternatively read as MOS, and SCI as STD. .PP Input files: DO category: Type: Explanation: Required: SCIENCE_UNBIAS_MXU or SCIENCE_UNFLAT_MXU or STANDARD_UNBIAS_MXU or STANDARD_UNFLAT_MXU Calib Frame with sky lines Y CURV_COEFF_MXU Calib Spectral curvature Y SLIT_LOCATION_MXU Calib Slit location on CCD Y GRISM_TABLE Calib Grism table . .PP Output files: DO category: Data type: Explanation: UNMAPPED_SCI_MXU or UNMAPPED_STD_MXU FITS image Sky subtracted scientific frame UNMAPPED_SKY_SCI_MXU or UNMAPPED_SKY_STD_MXU FITS image Subtracted sky frame .SH OPTIONS .TP \fB\-\-dispersion\fR \fI\fR Expected spectral dispersion (Angstrom/pixel) (float; default: 0.0). The full name of this option for the EsoRex configuration file is \fBfors.fors_subtract_sky.dispersion\fR [default = \fI0.0\fR]. .TP \fB\-\-startwavelength\fR \fI\fR Start wavelength in spectral extraction (float; default: 0.0). The full name of this option for the EsoRex configuration file is \fBfors.fors_subtract_sky.startwavelength\fR [default = \fI0.0\fR]. .TP \fB\-\-endwavelength\fR \fI\fR End wavelength in spectral extraction (float; default: 0.0). The full name of this option for the EsoRex configuration file is \fBfors.fors_subtract_sky.endwavelength\fR [default = \fI0.0\fR]. .TP \fB\-\-cosmics\fR \fI\fR Eliminate cosmic rays hits (bool; default: False). The full name of this option for the EsoRex configuration file is \fBfors.fors_subtract_sky.cosmics\fR [default = \fIFalse\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 fors pipeline can be downloaded as a PDF file using the following URL: .IP .B ftp://ftp.eso.org/pub/dfs/pipelines/fors/fors\-pipeline\-manual\-4.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 fors pipeline are .IR fors_align_sky (7), .IR fors_align_sky_lss (7), .IR fors_bias (7), .IR fors_calib (7), .IR fors_config (7), .IR fors_dark (7), .IR fors_detect_objects (7), .IR fors_detect_spectra (7), .IR fors_extract (7), .IR fors_extract_objects (7), .IR fors_extract_slits (7), .IR fors_flatfield (7), .IR fors_img_science (7), .IR fors_img_screen_flat (7), .IR fors_img_sky_flat (7), .IR fors_normalise_flat (7), .IR fors_photometry (7), .IR fors_pmos_calib (7), .IR fors_pmos_extract (7), .IR fors_pmos_science (7), .IR fors_remove_bias (7), .IR fors_resample (7), .IR fors_science (7), .IR fors_spec_mflat (7), .IR fors_subtract_sky_lss (7), .IR fors_sumflux (7), .IR fors_trace_flat (7), .IR fors_wave_calib (7), .IR fors_wave_calib_lss (7), .IR fors_zeropoint (7) .SH VERSION fors_subtract_sky 5.5.7 .SH AUTHOR Carlo Izzo .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 currently part of the FORS Instrument Pipeline Copyright (C) 2002\-2010 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