FORS_SUBTRACT_SKY(7)
β¨ fors_subtract_sky β¨
okay bestie, gather round, because this is the fors_subtract_sky page and it's lowkey iconic π
π NAME π
fors_subtract_sky β subtract sky from scientific spectra π§
π SYNOPSIS π
esorex fors_subtract_sky [OPTIONS] FILE.sof
π DESCRIPTION π
so basically, this recipe subtracts the sky emission from unrebinned slit spectra. how? by robust fitting along the CCD columns within each spectrum β meaning it fits the emission and deliberately excludes the signal from possible point-like objects in the slit (that's the "robust" part, she's not naive). π«Ά
β οΈ fr fr, listen up: this method does NOT work if extended objects are in the slit β it really destroys the object spectra. Not being dramatic. That's the manpage talking. And it is not applicable to LSS data. π
The input scientific frames are produced by the recipes fors_remove_bias and fors_flatfield. β¨
Also β and this is important β this recipe cannot be applied to LSS or long-slit-like data (that's MOS/MXU with all slits at the same offset). And nope, there is no automatic recipe available for this. You're on your own, bestie. π
Please refer to the FORS Pipeline User's Manual for more details. π
In the table below, the MXU acronym can alternatively be read as MOS, and SCI as STD. (iykyk)
π₯ Input files
SCIENCE_UNBIAS_MXUorSCIENCE_UNFLAT_MXUorSTANDARD_UNBIAS_MXUorSTANDARD_UNFLAT_MXUβ Type:Calibβ Frame with sky lines β Required: Y βCURV_COEFF_MXUβ Type:Calibβ Spectral curvature β Required: Y βSLIT_LOCATION_MXUβ Type:Calibβ Slit location on CCD β Required: Y βGRISM_TABLEβ Type:Calibβ Grism table β Required:.(so, optional vibes)
π€ Output files
UNMAPPED_SCI_MXUorUNMAPPED_STD_MXUβ Data type:FITS imageβ Sky subtracted scientific frame πUNMAPPED_SKY_SCI_MXUorUNMAPPED_SKY_STD_MXUβ Data type:FITS imageβ Subtracted sky frame π
β¨ OPTIONS β¨
--dispersion <float>β Expected spectral dispersion, in Angstrom/pixel (float; default:0.0). The full name of this option for the EsoRex configuration file isfors.fors_subtract_sky.dispersion[default =0.0]. π₯--startwavelength <float>β Start wavelength in spectral extraction (float; default:0.0). The full name of this option for the EsoRex configuration file isfors.fors_subtract_sky.startwavelength[default =0.0]. π--endwavelength <float>β End wavelength in spectral extraction (float; default:0.0). The full name of this option for the EsoRex configuration file isfors.fors_subtract_sky.endwavelength[default =0.0]. πΈ--cosmics <bool>β Eliminate cosmic ray hits (bool; default:False). The full name of this option for the EsoRex configuration file isfors.fors_subtract_sky.cosmics[default =False]. β
π‘ 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.
π SEE ALSO π
The full documentation for the fors pipeline can be downloaded as a PDF file using the following URL:
ftp://ftp.eso.org/pub/dfs/pipelines/fors/fors-pipeline-manual-4.9.pdf
An overview over the existing ESO pipelines can be found on the web page https://www.eso.org/sci/software/pipelines/.
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 https://packages.python.org/python-cpl/index.html for further information. π
The other recipes of the fors pipeline are β and yes, we're listing all of them, no skipping, periodt:
fors_align_sky(7)fors_align_sky_lss(7)fors_bias(7)fors_calib(7)fors_config(7)fors_dark(7)fors_detect_objects(7)fors_detect_spectra(7)fors_extract(7)fors_extract_objects(7)fors_extract_slits(7)fors_flatfield(7)fors_img_science(7)fors_img_screen_flat(7)fors_img_sky_flat(7)fors_normalise_flat(7)fors_photometry(7)fors_pmos_calib(7)fors_pmos_extract(7)fors_pmos_science(7)fors_remove_bias(7)fors_resample(7)fors_science(7)fors_spec_mflat(7)fors_subtract_sky_lss(7)fors_sumflux(7)fors_trace_flat(7)fors_wave_calib(7)fors_wave_calib_lss(7)fors_zeropoint(7)
π¦ VERSION π¦
fors_subtract_sky 5.5.7
π AUTHOR π
Carlo Izzo <usd-help@eso.org> π
π BUG REPORTS π
Please report any problems to usd-help@eso.org. Alternatively, you may send a report to the ESO User Support Department <usd-help@eso.org>. (same inbox, two ways to slide in, we love efficiency π«Ά)
π 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.
and that's the whole page bestie, no cap β fors_subtract_sky version 5.5.7, straight from the fors recipes manual, mwah π
π¦ where this page comes from
- ubuntu jammy: cpl-plugin-fors-doc 5.5.7+dfsg-2build1 Β· GPL-v2+
- ubuntu noble: cpl-plugin-fors-doc 5.5.7+dfsg-2build1 Β· GPL-v2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms