FORS_NORMALISE_FLAT(7)
π FORS_NORMALISE_FLAT(7) β the fors recipes glow-up
okay bestie, welcome to FORS_NORMALISE_FLAT(7), part of the fors recipes crew β¨ this is the page where we make your master flat field frame look right. no cap.
β¨ NAME β¨
fors_normalise_flat β Normalise master flat spectrum π
πΈ SYNOPSIS πΈ
esorex fors_normalise_flat [OPTIONS] FILE.sof
π¦ DESCRIPTION π¦
so what this recipe DOES is it takes a master flat field frame and normalises it by dividing it by its own large scale illumination trend. that's it, that's the whole vibe. π
and the cute part? it works for generic multi-slit (MOS/MXU) data and for long slit exposures (either LSS, or LSS-like MOS/MXU) β even though, bestie, lowkey different normalisation methods get applied in those different cases. π
the input master flat field image is the product of the recipe fors_flat. the input spectral curvature table, product of the recipe fors_detect_spectra, is only required in the case of multi-slit data. noted. π
multi-slit data: the flat field spectra get spatially rectified, heavily smoothed, and then mapped back on the CCD. then the master flat image is divided by its smoothed counterpart. the smoothing may be obtained either by applying a running median filter of specified sizes, or by polynomial fitting along the dispersion direction β performed independently for each row of the spatially remapped spectra. pick your fighter. π₯
long-slit data: the smoothing can still be obtained either by applying a running median filter or by polynomial fitting, but (plot twist) the polynomial fitting will be performed along the spatial direction, for each column of the spectrum. π
in the table below the MXU acronym can be alternatively read as MOS or LSS. iykyk π«
π Input files:
- DO category:
MASTER_SCREEN_FLAT_MXUβ Type: Calib β Explanation: Master flat frame β Required: Y - DO category:
DISP_COEFF_MXUβ Type: Calib β Explanation: Wavelength calibration β Required: Y - DO category:
CURV_COEFF_MXUβ Type: Calib β Explanation: Spectral curvature β Required: . - DO category:
SLIT_LOCATION_MXUβ Type: Calib β Explanation: Slit detection β Required: . - DO category:
GRISM_TABLEβ Type: Calib β Explanation: Grism table β Required: Y
π Output files:
- DO category:
MASTER_NORM_FLAT_MXUβ Data type: FITS image β Explanation: Normalised flat field
π 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_normalise_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_normalise_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_normalise_flat.endwavelength[default =0.0].--spa_polydegree <int>β Polynomial degree for the flat field fitting along spatial direction (int; default:-1). The full name of this option for the EsoRex configuration file isfors.fors_normalise_flat.spa_polydegree[default =-1].--sradius <int>β Smooth box radius for flat field along spatial direction (int; default:10). The full name of this option for the EsoRex configuration file isfors.fors_normalise_flat.sradius[default =10].--disp_nknots <int>β Number of knots in flat field fitting splines along dispersion direction (int; default:-1). The full name of this option for the EsoRex configuration file isfors.fors_normalise_flat.disp_nknots[default =-1].--dradius <int>β Smooth box radius (median) for flat field along dispersion direction (int; default:10). The full name of this option for the EsoRex configuration file isfors.fors_normalise_flat.dradius[default =10].--dradius_aver <int>β Smooth box radius (average) for flat field along dispersion direction (performed after median smoothing) (int; default:10). The full name of this option for the EsoRex configuration file isfors.fors_normalise_flat.dradius_aver[default =10].--splfit_threshold <float>β Threshold percentage for flat spline fittingwith respect to the maximum (float; default:0.01). The full name of this option for the EsoRex configuration file isfors.fors_normalise_flat.splfit_threshold[default =0.01].
ok bestie note this: 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_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_normalise_flat 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 got you, bestie. π«Ά
π 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. π (yes this part is serious, fr fr)
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_normalise_flat version 5.5.7, served fresh from the fors recipes section of the manual. go normalise something iconic. periodt. ππ¦π
π¦ 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