FORS_TRACE_FLAT(7)
π¦ FORS_TRACE_FLAT(7) π¦
okay bestie come CLOSE, this is the section 7 man page for fors_trace_flat from the fors recipes collection and it's lowkey a whole journey π. it's about figuring out how the spectral curvature behaves in your MOS/MXU flat fields. strap in, we're doing science.
β¨ NAME β¨
fors_trace_flat β Determine spectral curvature model π
π SYNOPSIS π
esorex fors_trace_flat [OPTIONS] FILE.sof
π DESCRIPTION π
okay so this recipe's whole job is to trace the edges of your MOS/MXU flat field slit spectra and then work out the spectral curvature solution. the input master flat field image β which is the product of the recipe fors_flat β is expected to be oriented with the dispersion direction going horizontal, and the red wavelengths chillin' on the right side. π₯
the input slits location table? that should be the product of the recipe fors_detect_spectra. no substitutions, bestie.
here's the actual pipeline of what happens, step by step, no cap:
- the input master flat image gets shifted one pixel down and then subtracted from the original image. what you're left with is a vertical gradient map. π
- next, the negative values get forced positive, so now you've got an absolute gradient map.
- that map goes through a horizontal median filter.
- after that, the gradient peaks get traced, starting from the slits positions listed in the input slits location table.
- the number of pixels to the left and to the right of the reference pixel is trivially derived from the specified spectral range and the spectral dispersion.
the output spectral curvature table contains the coefficients of the polynomial fitting of the found traces. meanwhile the output trace table contains the traced spectral edges positions in CCD (Y) coordinates for each spectrum, plus their comparison with their modeling. a spatial map is also created, where each CCD pixel gets assigned the value of the spatial coordinate along the slit (in pixel). for more deets please refer to the FORS Pipeline UserΒ΄s Manual. π
ngl, specifying an input GRISM_TABLE will set some of the recipe configuration parameters to default values valid for a particular grism. so like, it changes stuff behind your back (helpfully).
again, see the pipeline manual for more details. i'm not gonna lie to you, the manual is the main character here.
in the table below, the MXU acronym can alternatively be read as MOS. iykyk π«Ά
Input files:
- DO category:
MASTER_SCREEN_FLAT_MXUβ Type: Calib β Explanation: Master flat frame β Required: Y - DO category:
SLIT_LOCATION_DETECT_MXUβ Type: Calib β Explanation: Slits location β Required: Y - DO category:
GRISM_TABLEβ Type: Calib β Explanation: Grism table β Required: .
Output files:
- DO category:
CURV_TRACES_MXUβ Data type: FITS table β Explanation: Flat field tracings - DO category:
CURV_COEFF_MXUβ Data type: FITS table β Explanation: Spectral curvature table - DO category:
SPATIAL_MAP_MXUβ Data type: FITS image β Explanation: Map of spatial coordinate
π OPTIONS π
--dispersion <float>β Expected spectral dispersion (Angstrom/pixel) (float; default: 0.0). the full name of this option for the EsoRex configuration file isfors.fors_trace_flat.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_trace_flat.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_trace_flat.endwavelength[default = 0.0].--cdegree <int>β Degree of spectral curvature polynomial (int; default: 0). the full name of this option for the EsoRex configuration file isfors.fors_trace_flat.cdegree[default = 0].--cmode <int>β Interpolation mode of curvature solution applicable to MOS-like data (0= no interpolation,1= fill gaps,2= global model) (int; default: 1). the full name of this option for the EsoRex configuration file isfors.fors_trace_flat.cmode[default = 1].
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 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(7), fors_subtract_sky_lss(7), fors_sumflux(7), fors_wave_calib(7), fors_wave_calib_lss(7), fors_zeropoint(7) β the whole friend group, literally. π
β VERSION β
fors_trace_flat 5.5.7
π«Ά AUTHOR π«Ά
Carlo Izzo <usd-help@eso.org> β iconic of them, fr fr.
π 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>. don't be shy, they want to hear it. π
π 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 π β this was fors_trace_flat version 5.5.7 (the FORS_TRACE_FLAT(7) of it all), dated in the manual footer as 5.5.7. go trace 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