FORS_SCIENCE(7)
π FORS_SCIENCE π β the fors recipes girlies π
ok bestie sit DOWN because we're doing the scientific spectra extraction recipe and it's lowkey a whole journey. this is fors_science, one of the fors recipes, and she's the one who takes your raw science frames and turns them into actual spectra. main character energy fr.
β¨ NAME β¨
fors_science β Extraction of scientific spectra π¦
β¨ SYNOPSIS β¨
esorex fors_science [OPTIONS] FILE.sof
β¨ DESCRIPTION β¨
okay so this recipe reduces your scientific spectra using the extraction mask plus all the products that the recipe fors_calib made for you. the spectra get bias subtracted, flat fielded (but only if you hand over a normalised flat field, no flat no fielding π
) and then remapped so those optical distortions are just⦠gone. not me eliminating distortion, it's giving glow-up.
the wavelength calibration can optionally be upgraded using a bunch of sky lines: if you don't specify a sky lines catalog of wavelengths, an internal one gets used instead. iykyk.
if the alignment to the sky lines actually happens, then the input dispersion coefficients table gets upgraded and saved to disk, and a brand new CCD wavelengths map is created. obsessed.
this recipe accepts both FORS1 and FORS2 frames, no discrimination here π«Ά. you may also specify a grism table (typically it depends on the instrument mode, and especially on the grism used): this table contains a default recipe parameter setting that controls the way spectra are extracted for a specific instrument mode, as it's used for automatic runs of the pipeline on Paranal and in Garching. if this table IS specified, it will modify the default recipe parameter setting β with the exception of those parameters which have been explicitly modifyed on the command line, those stay yours bestie. if a grism table is NOT specified, 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 (and those are rarely meaningful, ngl π).
in the table below the MXU acronym can be read alternatively as MOS and LSS, depending on the instrument mode of the input data. the acronym SCI on products should be read STD in case of standard stars observations. A CURV_COEFF table is not (yet) expected for LSS data. β¨
either a scientific or a standard star exposure can be specified in input.
only in case of a standard star exposure input, the atmospheric extinction table and a table with the physical fluxes of the observed standard star must be specified in input, and a spectro-photometric table is created in output. this table can then be input again to this recipe, always with an atmospheric extinction table, and if a photometric calibration is requested then flux calibrated spectra (in units of erg/cm/cm/s/Angstrom) are also written in output. periodt. π
πΈ Input files πΈ
SCIENCE_MXUorSTANDARD_MXUβ Raw β Scientific exposure / Standard star exposure β Required: YMASTER_BIASβ Calib β Master bias β Required: YGRISM_TABLEβ Calib β Grism table β Required:.MASTER_SKYLINECATβ Calib β Sky lines catalog β Required:.MASTER_NORM_FLAT_MXUβ Calib β Normalised flat field β Required:.DISP_COEFF_MXUβ Calib β Inverse dispersion β Required: YCURV_COEFF_MXUβ Calib β Spectral curvature β Required: YSLIT_LOCATION_MXUβ Calib β Slits positions table β Required: YFLAT_SED_MXUβ Calib β Slits dispersion profile β Required:.
or, in case of LSS-like MOS/MXU data,
MASTER_NORM_FLAT_LONG_MXUβ Calib β Normalised flat field β Required:.DISP_COEFF_LONG_MXUβ Calib β Inverse dispersion β Required: YSLIT_LOCATION_LONG_MXUβ Calib β Slits positions table β Required: YGLOBAL_DISTORTION_TABLEβ Calib β Global distortion β Required:.
in case STANDARD_MXU is specified in input,
EXTINCT_TABLEβ Calib β Atmospheric extinction β Required: YSTD_FLUX_TABLEβ Calib β Standard star flux β Required: YTELLURIC_CONTAMINATIONβ Calib β Telluric regions list β Required:.
the following input files are mandatory if photometric calibrated spectra are desired:
EXTINCT_TABLEβ Calib β Atmospheric extinction β Required: YSPECPHOT_TABLEβ Calib β Response curves β Required: Y
if requested for standard star data, the SPECPHOT_TABLE can be dropped: in this case the correction is applied using the SPECPHOT_TABLE produced in the same run. iconic behaviour honestly π
πΈ Output files πΈ
REDUCED_SCI_MXUβ FITS image β Extracted scientific spectraREDUCED_SKY_SCI_MXUβ FITS image β Extracted sky spectraREDUCED_ERROR_SCI_MXUβ FITS image β Errors on extracted spectraUNMAPPED_SCI_MXUβ FITS image β Sky subtracted scientific spectraMAPPED_SCI_MXUβ FITS image β Rectified scientific spectraMAPPED_ALL_SCI_MXUβ FITS image β Rectified science spectra with skyMAPPED_SKY_SCI_MXUβ FITS image β Rectified sky spectraUNMAPPED_SKY_SCI_MXUβ FITS image β Sky on CCDOBJECT_TABLE_SCI_MXUβ FITS table β Positions of detected objects
only if the global sky subtraction is requested:
GLOBAL_SKY_SPECTRUM_MXUβ FITS table β Global sky spectrum
only if the sky-alignment of the wavelength solution is requested:
SKY_SHIFTS_LONG_SCI_MXUβ FITS table β Sky lines offsets (LSS-like data)- or
SKY_SHIFTS_SLIT_SCI_MXUβ FITS table β Sky lines offsets (MOS-like data) DISP_COEFF_SCI_MXUβ FITS table β Upgraded dispersion coefficientsWAVELENGTH_MAP_SCI_MXUβ FITS image β Upgraded wavelength map
only if a STANDARD_MXU is specified in input:
SPECPHOT_TABLEβ FITS table β Efficiency and response curves
only if a photometric calibration was requested:
REDUCED_FLUX_SCI_MXUβ FITS image β Flux calibrated scientific spectraREDUCED_FLUX_ERROR_SCI_MXUβ FITS image β Errors on flux calibrated spectraMAPPED_FLUX_SCI_MXUβ FITS image β Flux calibrated slit spectra
β¨ OPTIONS β¨
--skyalign <int>β Polynomial order for sky lines alignment, or-1to avoid alignment (int; default:-1). the full name of this option for the EsoRex configuration file isfors.fors_science.skyalign[default =-1].--flatfield <bool>β Apply flat field (bool; default:True). the full name of this option for the EsoRex configuration file isfors.fors_science.flatfield[default =True].--skyglobal <bool>β Subtract global sky spectrum from CCD (bool; default:False). the full name of this option for the EsoRex configuration file isfors.fors_science.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_science.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_science.skylocal[default =True].--cosmics <bool>β Eliminate cosmic rays hits, only if either global or local (not for LSS) sky subtraction is also requested. (bool; default:False). the full name of this option for the EsoRex configuration file isfors.fors_science.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_science.slit_margin[default =3].--ext_radius <int>β Maximum extraction radius for detected objects (unbinned pixel) (int; default:12). the full name of this option for the EsoRex configuration file isfors.fors_science.ext_radius[default =12].--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_science.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_science.ext_mode[default =1].--resp_fit_nknots <int>β Number of knots in spline fitting of the instrument response. (-1: No fitting.-2: Read from grism table) (int; default:-2). the full name of this option for the EsoRex configuration file isfors.fors_science.resp_fit_nknots[default =-2].--resp_fit_degree <int>β Degree of polynomial in fitting of the instrument response. (-1: No fitting.-2: Read from grism table) (int; default:-2). the full name of this option for the EsoRex configuration file isfors.fors_science.resp_fit_degree[default =-2].--resp_ignore_mode <str>β Types of lines/regions to ignore in response. Valid ones arestellar_absorption,telluricandcommand_line(from parameterresp_ignore_lines) (str; default:stellar_absorption,telluric,command_line). the full name of this option for the EsoRex configuration file isfors.fors_science.resp_ignore_mode[default =stellar_absorption,telluric,command_line].--resp_ignore_points <str>β Extra lines/regions to ignore in response. Use a comma separated list of values. A range can be specified like4500.0-4600.0(str; default: ``). the full name of this option for the EsoRex configuration file isfors.fors_science.resp_ignore_points[default = ].--resp_use_flat_sed <str>β Use the flat SED to normalise the observed spectra. Value aretrue,false,grism_table. (str; default:grism_table). the full name of this option for the EsoRex configuration file isfors.fors_science.resp_use_flat_sed[default =grism_table].--nonlinear_level <float>β Level above which the detector is not linear (float; default:60000.0). the full name of this option for the EsoRex configuration file isfors.fors_science.nonlinear_level[default =60000.0].--generate_idp <bool>β Set toTRUEto request IDP generation (bool; default:True). the full name of this option for the EsoRex configuration file isfors.fors_science.generate_idp[default =True].
π«Ά heads up bestie: 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.
and that's part 1, don't go anywhereβ¦ π
β¨ SEE ALSO β¨
okay bestie, if you want the full tea on the whole fors pipeline, you can literally download the entire manual as a PDF from this URL right here:
ftp://ftp.eso.org/pub/dfs/pipelines/fors/fors-pipeline-manual-4.9.pdf
and if you wanna see the whole family tree of ESO pipelines that already exist, the overview is living on this web page:
https://www.eso.org/sci/software/pipelines/
need the basics on EsoRex itself? it's all in the esorex(1) man page, go look π
and YES you can call the pipelines from python using the python-cpl package β the way that's such a slay. more info here: https://packages.python.org/python-cpl/index.html
and now, the moment you've been waiting for β the whole fors recipe squad π every single sibling, no one left out:
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_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)
like, that's a whole friend group fr fr π«Ά
πΈ VERSION πΈ
fors_science 5.5.7
π AUTHOR π
Carlo Izzo <usd-help@eso.org> β iconic, we stan π
π¨ BUG REPORTS π¨
found a problem? spill it. report it to usd-help@eso.org. alternatively, you can also send a report to the ESO User Support Department <usd-help@eso.org>.
(yeah it's the same address both times, that's just how it is bestie, no notes π)
π 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 bestie, go forth and reduce some science data π β¨
and yeah, the footer says this page is fors_science, version 5.5.7, dated FORS_SCIENCE(7) β so basically this manual is serving version 5.5.7 energy, periodt ππ¦
byeeee, have the best night reducing frames π
π¦ 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