FORS_SUBTRACT_SKY(7)

πŸ“¦ version 5.5.7, in ubuntu jammy, ubuntu noble

✨ 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_MXU or SCIENCE_UNFLAT_MXU or STANDARD_UNBIAS_MXU or STANDARD_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_MXU or UNMAPPED_STD_MXU β€” Data type: FITS image β€” Sky subtracted scientific frame 🌟
  • UNMAPPED_SKY_SCI_MXU or UNMAPPED_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 is fors.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 is fors.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 is fors.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 is fors.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