FORS_SPEC_MFLAT(7)
β¨ fors_spec_mflat β the manual, but make it cute β¨
okay bestie, sit down, hydrate, because this is FORS_SPEC_MFLAT(7), a page straight outta the fors recipes collection, and it is lowkey doing the most important flat-fielding work in the whole pipeline. no cap. π
πΈ NAME πΈ
fors_spec_mflat β computes the master spectroscopic flat, and it removes the bias first, because we do things in order around here π
π¦ SYNOPSIS π¦
esorex fors_spec_mflat [OPTIONS] FILE.sof
π DESCRIPTION π
so this recipe's whole vibe is: take the master bias (the one that the fors_bias recipe already cooked up), and subtract it from a whole set of raw flat field frames. that's the job. main character energy only. β¨
here's the tea, step by step:
- the input raw frames get summed together
- the master bias frame gets rescaled to match
- then that rescaled bias gets subtracted from the summed result
- the overscan regions, if present, get used to compensate for variations of the bias level between the master bias and the input raw frames
- after all that, the overscan regions get trimmed from the result π§
also a tiny glossary moment: in the table below, the MXU acronym can alternatively be read as MOS and LSS. same energy, different letters. iykyk.
π₯ Input files π₯
- DO category:
SCREEN_FLAT_MXUβ Type: Raw β Explanation: raw data frame β Required: Y β - DO category:
SLIT_LOCATION_MXUβ Type: Calib β Explanation: slits positions on CCD β Required: Y β - DO category:
CURV_COEFF_MXUβ Type: Calib β Explanation: slits tracing fits β Required: Y β - DO category:
DISP_COEFF_MXUβ Type: Calib β Explanation: wavelength calibration β Required: Y β - DO category:
MASTER_BIASβ Type: Calib β Explanation: master bias frame β Required: Y β
(they're all required, bestie. every single one. bring the whole friend group or don't come at all π«Ά)
π€ Output files π€
- DO category:
MASTER_SCREEN_FLAT_MXUβ Data type: FITS image β Explanation: bias subtracted sum frame π
π OPTIONS π
seven options. iconic. let's get into it:
--smooth_sed <float>β smoothing size for each flat sed. it's a float, and the default is0.0. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.smooth_sed [default = 0.0]. β¨--stack_method <str>β frames combination method. it's a str, and the default isΒ΄sumΒ΄. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.stack_method [default = sum]. π--klow <float>β low threshold in the ksigma method. float, default3.0. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.klow [default = 3.0]. π¦--khigh <float>β high threshold in the ksigma method. float, default3.0. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.khigh [default = 3.0]. π¦--kiter <int>β max number of iterations in the ksigma method. int, default999. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.kiter [default = 999]. π₯--nonlinear_level <float>β the level above which the detector is not linear. float, default50000.0. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.nonlinear_level [default = 50000.0]. β--max_nonlinear_ratio <float>β maximum allowed ratio of non-linear pixels per slit. float, default0.2. the full name of this option for the EsoRex configuration file isfors.fors_spec_mflat.max_nonlinear_ratio [default = 0.2]. π
note that it's 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's 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 β okay brace yourself, it's a long guest list:
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_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_spec_mflat 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>. they're literally the same address but go off, tell them twice, they love that π
π LICENSE π
this file is currently part of the FORS Instrument Pipeline Copyright (C) 2002-2011 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.
okay that's the whole page, no skips, no skimming, every last flag accounted for π version 5.5.7 of fors_spec_mflat, page FORS_SPEC_MFLAT(7), straight from the fors recipes. go forth and flatten those spectra, bestie, you've got this πΈβ¨π
π¦ 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