FORS_EXTRACT(7)
π FORS_EXTRACT π
okay bestie, this is the manual for fors_extract β the Extraction of scientific spectra recipe from the fors pipeline. yes it's a man page in section 7. yes you're gonna understand it. let's go π¦
β¨ NAME β¨
fors_extract β Extraction of scientific spectra
π SYNOPSIS π
esorex fors_extract [OPTIONS] FILE.sof
πΈ DESCRIPTION πΈ
So basically this recipe is the one that reduces your scientific spectra using the global distortion table that the fors_calib recipe made for you. The spectra get bias subtracted, flat fielded (but only if you specified a normalised flat field, no cap), and remapped so the optical distortions just... vanish. β¨ And the wavelength calibration can optionally get an upgrade using a bunch of sky lines β and here's the tea: if you don't specify a sky lines catalog of wavelengths, it just uses an internal one instead. iykyk.
If the alignment to the sky lines does get performed, then the applied dispersion coefficient table is upgraded and saved to disk, and a new CCD wavelengths map is created. slay.
This recipe accepts both FORS1 and FORS2 frames, iconic of it honestly. You may also specify a grism table β which typically depends on the instrument mode, and in particular on the grism used. That table contains a default recipe parameter setting to control the way spectra are extracted for a specific instrument mode, because that's how it's used for automatic runs of the pipeline on Paranal and in Garching. If you do specify this table, it will modify the default recipe parameter setting β with the exception of those parameters which have been explicitly modifyed on the command line π. If a grism table is not specified, then the input recipe parameter values will always be read from the command line, or from an esorex configuration file if present, or from their generic default values (which are rarely meaningful, bestie, like... not it).
In the table below the MXU acronym can be read alternatively as MOS and LSS, depending on the instrument mode of the input data. Either a scientific or a standard star exposure can be specified in input (not both, pick a lane π ).
π₯ Input files π₯
SCIENCE_MXUβ DO category:SCIENCE_MXU, Type: Raw, Explanation: Scientific exposure, Required: Y- or
STANDARD_MXUβ DO category:STANDARD_MXU, Type: Raw, Explanation: Standard star exposure, Required: Y MASTER_BIASβ DO category:MASTER_BIAS, Type: Calib, Explanation: Master bias, Required: YGRISM_TABLEβ DO category:GRISM_TABLE, Type: Calib, Explanation: Grism table, Required: .MASTER_SKYLINECATβ DO category:MASTER_SKYLINECAT, Type: Calib, Explanation: Sky lines catalog, Required: .MASTER_NORM_FLAT_MXUβ DO category:MASTER_NORM_FLAT_MXU, Type: Calib, Explanation: Normalised flat field, Required: .MASTER_DISTORTION_TABLEβ DO category:MASTER_DISTORTION_TABLE, Type: Calib, Explanation: Global distortion model, Required: .- or, in case of LSS-like MOS/MXU data:
MASTER_NORM_FLAT_LONG_MXUβ DO category:MASTER_NORM_FLAT_LONG_MXU, Type: Calib, Explanation: Normalised flat field, Required: .
π€ Output files π€
REDUCED_SCI_MXUβ Data type: FITS image, Explanation: Extracted scientific spectraREDUCED_SKY_SCI_MXUβ Data type: FITS image, Explanation: Extracted sky spectraREDUCED_ERROR_SCI_MXUβ Data type: FITS image, Explanation: Errors on extracted spectraUNMAPPED_SCI_MXUβ Data type: FITS image, Explanation: Sky subtracted scientific spectraMAPPED_SCI_MXUβ Data type: FITS image, Explanation: Rectified scientific spectraMAPPED_ALL_SCI_MXUβ Data type: FITS image, Explanation: Rectified science spectra with skyMAPPED_SKY_SCI_MXUβ Data type: FITS image, Explanation: Rectified sky spectraUNMAPPED_SKY_SCI_MXUβ Data type: FITS image, Explanation: Sky on CCDGLOBAL_SKY_SPECTRUM_MXUβ Data type: FITS table, Explanation: Global sky spectrumOBJECT_TABLE_SCI_MXUβ Data type: FITS table, Explanation: Positions of detected objects
Only if the sky-alignment of the wavelength solution is requested:
SKY_SHIFTS_LONG_SCI_MXUβ Data type: FITS table, Explanation: Sky lines offsets (LSS-like data)- or
SKY_SHIFTS_SLIT_SCI_MXUβ Data type: FITS table, Explanation: Sky lines offsets (MOS-like data) DISP_COEFF_SCI_MXUβ Data type: FITS table, Explanation: Upgraded dispersion coefficientsWAVELENGTH_MAP_SCI_MXUβ Data type: FITS image, Explanation: Upgraded wavelength map
π OPTIONS π
--dispersion <float>β Resampling step (Angstrom/pixel) (float; default: 0.0). The full name of this option for the EsoRex configuration file isfors.fors_extract.dispersion [default = 0.0].--skyalign <int>β Polynomial order for sky lines alignment, or-1to avoid alignment (int; default: 0). The full name of this option for the EsoRex configuration file isfors.fors_extract.skyalign [default = 0].--wcolumn <str>β Name of sky line catalog table column with wavelengths (str; default: Β΄WLENΒ΄). The full name of this option for the EsoRex configuration file isfors.fors_extract.wcolumn [default = WLEN].--startwavelength <float>β Start wavelength in spectral extraction (float; default: 0.0). The full name of this option for the EsoRex configuration file isfors.fors_extract.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_extract.endwavelength [default = 0.0].--flux <bool>β Apply flux conservation (bool; default: True). The full name of this option for the EsoRex configuration file isfors.fors_extract.flux [default = True].--flatfield <bool>β Apply flat field (bool; default: False). The full name of this option for the EsoRex configuration file isfors.fors_extract.flatfield [default = False].--skyglobal <bool>β Subtract global sky spectrum from CCD (bool; default: False). The full name of this option for the EsoRex configuration file isfors.fors_extract.skyglobal [default = False].--skymedian <bool>β Sky subtraction from extracted slit spectra (bool; default: False). The full name of this option for the EsoRex configuration file isfors.fors_extract.skymedian [default = False].--skylocal <bool>β Sky subtraction from CCD slit spectra (bool; default: True). The full name of this option for the EsoRex configuration file isfors.fors_extract.skylocal [default = True].--cosmics <bool>β Eliminate cosmic rays hits (only if global sky subtraction is also requested) (bool; default: False). The full name of this option for the EsoRex configuration file isfors.fors_extract.cosmics [default = False].--slit_margin <int>β Number of pixels to exclude at each slit in object detection and extraction (int; default: 3). The full name of this option for the EsoRex configuration file isfors.fors_extract.slit_margin [default = 3].--ext_radius <int>β Maximum extraction radius for detected objects (pixel) (int; default: 6). The full name of this option for the EsoRex configuration file isfors.fors_extract.ext_radius [default = 6].--cont_radius <int>β Minimum distance at which two objects of equal luminosity do not contaminate each other (pixel) (int; default: 0). The full name of this option for the EsoRex configuration file isfors.fors_extract.cont_radius [default = 0].--ext_mode <int>β Object extraction method: 0 = aperture, 1 = Horne optimal extraction (int; default: 1). The full name of this option for the EsoRex configuration file isfors.fors_extract.ext_mode [default = 1].--time_normalise <bool>β Normalise output spectra by the exposure time (bool; default: True). The full name of this option for the EsoRex configuration file isfors.fors_extract.time_normalise [default = True].
heads up bestie π«Ά 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, every single one, 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_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(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_extract 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>.
π 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 thing, bestie π this was fors_extract, version 5.5.7, page FORS_EXTRACT(7), from the fors recipes collection β go forth and extract some spectra, you absolute main character π§β¨
π¦ 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