FORS_PMOS_EXTRACT(7)

πŸ“¦ version 5.5.7, in ubuntu jammy, ubuntu noble

πŸ’– fors_pmos_extract πŸ’–

okay bestie, welcome to the FORS recipe corner of the group chat β€” this one is fors_pmos_extract, a section 7 (7 = "recipes, not commands") manual page from the fors recipes collection. grab a boba, we're extracting spectra 🌈


✨ NAME ✨

fors_pmos_extract β€” extraction of scientific spectra πŸ¦‹


🌸 SYNOPSIS 🌸

esorex fors_pmos_extract [OPTIONS] FILE.sof

that's it, that's the whole vibe check πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so this recipe is the one that reduces your scientific spectra, using the extraction mask and the products that the recipe fors_mpol_calib made for you. like, it takes those and then does the whole glow-up: the spectra get bias subtracted, flat fielded (but ONLY if a normalised flat field is specified β€” no flat, no flat-fielding, that's the rule ✨), and remapped so the optical distortions are gone. bye distortion πŸ‘‹

and then β€” optional slay β€” the wavelength calibration can be upgraded using a bunch of sky lines. if you don't specify a sky lines catalog of wavelengths, it just uses an internal one instead. convenient πŸ’œ

if the alignment to the sky lines does happen, then the input dispersion coefficients table gets upgraded and saved to disk, AND a brand new CCD wavelengths map is created. two for one, we love to see it 🫢

this recipe accepts both FORS1 and FORS2 frames. you may also specify a grism table (which typically depends on the instrument mode, and in particular on the grism used β€” iykyk). that table contains a default recipe parameter setting that controls the way spectra get extracted for a specific instrument mode, exactly as it's used for automatic runs of the pipeline on Paranal and in Garching. and if you DO specify this table, it will modify the default recipe parameter setting β€” with the exception of those parameters which have been explicitly modified on the command line. those ones stay yours, bestie, nobody touches them. but if a grism table is NOT specified, the input recipe parameters values will always be read from the command line, or from an esorex configuration file if one is present, or from their generic default values (which are, and I'm quoting the lore here, rarely meaningful πŸ’€).

either a scientific exposure or a standard star exposure can be specified in input. dealer's choice 🌟

oh and heads up: the acronym SCI on products should be read as STD in the case of standard stars observations. just a little rename, no biggie.

πŸ“₯ Input files

  • SCIENCE_PMOS or STANDARD_PMOS β€” Raw β€” Scientific exposure or Standard star exposure β€” Required: Y
  • MASTER_BIAS β€” Calib β€” Master bias β€” Required: Y
  • GRISM_TABLE β€” Calib β€” Grism table β€” Required: .
  • MASTER_SKYLINECAT β€” Calib β€” Sky lines catalog β€” Required: .
  • MASTER_NORM_FLAT_PMOS β€” Calib β€” Normalised flat field β€” Required: .
  • DISP_COEFF_PMOS β€” Calib β€” Inverse dispersion β€” Required: Y
  • CURV_COEFF_PMOS β€” Calib β€” Spectral curvature β€” Required: Y
  • SLIT_LOCATION_PMOS β€” Calib β€” Slits positions table β€” Required: Y
  • RETARDER_WAVEPLATE_CHROMATISM β€” Calib β€” Chromatism correction β€” Required: .

(quick legend so you're not lost: Y = yes you need it, . = optional, she's optional, she's flexible πŸ’…)

πŸ“€ Output files

  • REDUCED_SCI_PMOS β€” FITS image β€” Extracted scientific spectra
  • REDUCED_SKY_SCI_PMOS β€” FITS image β€” Extracted sky spectra
  • REDUCED_ERROR_SCI_PMOS β€” FITS image β€” Errors on extracted spectra
  • REDUCED_SCI_X_PMOS β€” FITS image β€” X Stokes parameter (and L)
  • REDUCED_ERROR_X_PMOS β€” FITS image β€” Error on X Stokes parameter
  • REDUCED_NUL_X_PMOS β€” FITS image β€” Null parameter for X
  • REDUCED_POL_ANGLE_PMOS β€” FITS image β€” Direction of linear polarization
  • REDUCED_POL_ANGLE_ERROR_PMOS β€” FITS image β€” Error on polarization direction
  • UNMAPPED_SCI_PMOS β€” FITS image β€” Sky subtracted scientific spectra
  • MAPPED_SCI_PMOS β€” FITS image β€” Rectified scientific spectra
  • MAPPED_ALL_SCI_PMOS β€” FITS image β€” Rectified science spectra with sky
  • MAPPED_SKY_SCI_PMOS β€” FITS image β€” Rectified sky spectra
  • UNMAPPED_SKY_SCI_PMOS β€” FITS image β€” Sky on CCD
  • GLOBAL_SKY_SPECTRUM_PMOS β€” FITS table β€” Global sky spectrum
  • OBJECT_TABLE_SCI_PMOS β€” FITS table β€” Positions of detected objects
  • OBJECT_TABLE_POL_SCI_PMOS β€” FITS table β€” Positions of real objects

and ONLY if the sky-alignment of the wavelength solution is requested, you ALSO get these two bonus icons πŸ‘‘:

  • DISP_COEFF_SCI_PMOS β€” FITS table β€” Upgraded dispersion coefficients
  • WAVELENGTH_MAP_SCI_PMOS β€” FITS image β€” Upgraded wavelength map

πŸ’… OPTIONS πŸ’…

every single one, no skips, no cuts, we're eating the whole plate πŸ“

  • --dispersion <float> β€” Resampling step, in Angstrom/pixel. it's a float, default is 0.0. the full name of this option for the EsoRex configuration file is fors.fors_pmos_extract.dispersion [default = 0.0].
  • --skyalign <int> β€” Polynomial order for sky lines alignment, or -1 to avoid alignment entirely. int, default 0. full config name: fors.fors_pmos_extract.skyalign [default = 0].
  • --wcolumn <str> β€” Name of the sky line catalog table column that holds the wavelengths. str, default Β΄WLENΒ΄. full config name: fors.fors_pmos_extract.wcolumn [default = WLEN].
  • --startwavelength <float> β€” Start wavelength in spectral extraction. float, default 0.0. full config name: fors.fors_pmos_extract.startwavelength [default = 0.0].
  • --endwavelength <float> β€” End wavelength in spectral extraction. float, default 0.0. full config name: fors.fors_pmos_extract.endwavelength [default = 0.0].
  • --flux <bool> β€” Apply flux conservation. bool, default True. full config name: fors.fors_pmos_extract.flux [default = True].
  • --flatfield <bool> β€” Apply flat field. bool, default False. full config name: fors.fors_pmos_extract.flatfield [default = False].
  • --skyglobal <bool> β€” Subtract global sky spectrum from CCD. bool, default False. full config name: fors.fors_pmos_extract.skyglobal [default = False].
  • --skymedian <bool> β€” Sky subtraction from extracted slit spectra. bool, default False. full config name: fors.fors_pmos_extract.skymedian [default = False].
  • --skylocal <bool> β€” Sky subtraction from CCD slit spectra. bool, default True. full config name: fors.fors_pmos_extract.skylocal [default = True].
  • --cosmics <bool> β€” Eliminate cosmic rays hits β€” but note: only if global sky subtraction is also requested. bool, default False. full config name: fors.fors_pmos_extract.cosmics [default = False].
  • --slit_margin <int> β€” Number of pixels to exclude at each slit in object detection and extraction. int, default 3. full config name: fors.fors_pmos_extract.slit_margin [default = 3].
  • --ext_radius <int> β€” Maximum extraction radius for detected objects, in pixels. int, default 6. full config name: fors.fors_pmos_extract.ext_radius [default = 6].
  • --cont_radius <int> β€” Minimum distance at which two objects of equal luminosity do not contaminate each other, in pixels. int, default 0. full config name: fors.fors_pmos_extract.cont_radius [default = 0].
  • --ext_mode <int> β€” Object extraction method: 0 = aperture, 1 = Horne optimal extraction. int, default 1. full config name: fors.fors_pmos_extract.ext_mode [default = 1].
  • --time_normalise <bool> β€” Normalise output spectra by the exposure time. bool, default True. full config name: fors.fors_pmos_extract.time_normalise [default = True].
  • --chromatism <bool> β€” Chromatism correction to polarization angles. bool, default True. full config name: fors.fors_pmos_extract.chromatism [default = True].
  • --check <bool> β€” Create intermediate products. bool, default False. full config name: fors.fors_pmos_extract.check [default = False].
πŸ“ and psst β€” 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. it's giving self-care, honestly.

πŸ¦‹ SEE ALSO πŸ¦‹

the full documentation for the fors pipeline can be downloaded as a PDF file using this 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 also possible to call the pipelines from python using the python-cpl package. see https://packages.python.org/python-cpl/index.html for further information.

and the other recipes of the fors pipeline β€” the whole friend group, honestly, they're all iconic β€” 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_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_pmos_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>. they will help, fr fr 🫢


πŸ“œ 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, no cap 🧚 this was fors_pmos_extract, version 5.5.7, living in section 7 of the fors recipes collection β€” go extract something gorgeous πŸŒΈπŸ’œ

πŸ“¦ where this page comes from