FORS_PMOS_EXTRACT(7)
π 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_PMOSorSTANDARD_PMOSβ Raw β Scientific exposure or 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_PMOSβ Calib β Normalised flat field β Required:.DISP_COEFF_PMOSβ Calib β Inverse dispersion β Required: YCURV_COEFF_PMOSβ Calib β Spectral curvature β Required: YSLIT_LOCATION_PMOSβ Calib β Slits positions table β Required: YRETARDER_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 spectraREDUCED_SKY_SCI_PMOSβ FITS image β Extracted sky spectraREDUCED_ERROR_SCI_PMOSβ FITS image β Errors on extracted spectraREDUCED_SCI_X_PMOSβ FITS image β X Stokes parameter (and L)REDUCED_ERROR_X_PMOSβ FITS image β Error on X Stokes parameterREDUCED_NUL_X_PMOSβ FITS image β Null parameter for XREDUCED_POL_ANGLE_PMOSβ FITS image β Direction of linear polarizationREDUCED_POL_ANGLE_ERROR_PMOSβ FITS image β Error on polarization directionUNMAPPED_SCI_PMOSβ FITS image β Sky subtracted scientific spectraMAPPED_SCI_PMOSβ FITS image β Rectified scientific spectraMAPPED_ALL_SCI_PMOSβ FITS image β Rectified science spectra with skyMAPPED_SKY_SCI_PMOSβ FITS image β Rectified sky spectraUNMAPPED_SKY_SCI_PMOSβ FITS image β Sky on CCDGLOBAL_SKY_SPECTRUM_PMOSβ FITS table β Global sky spectrumOBJECT_TABLE_SCI_PMOSβ FITS table β Positions of detected objectsOBJECT_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 coefficientsWAVELENGTH_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 is0.0. the full name of this option for the EsoRex configuration file isfors.fors_pmos_extract.dispersion[default =0.0].--skyalign<int>β Polynomial order for sky lines alignment, or-1to avoid alignment entirely. int, default0. 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, default0.0. full config name:fors.fors_pmos_extract.startwavelength[default =0.0].--endwavelength<float>β End wavelength in spectral extraction. float, default0.0. full config name:fors.fors_pmos_extract.endwavelength[default =0.0].--flux<bool>β Apply flux conservation. bool, defaultTrue. full config name:fors.fors_pmos_extract.flux[default =True].--flatfield<bool>β Apply flat field. bool, defaultFalse. full config name:fors.fors_pmos_extract.flatfield[default =False].--skyglobal<bool>β Subtract global sky spectrum from CCD. bool, defaultFalse. full config name:fors.fors_pmos_extract.skyglobal[default =False].--skymedian<bool>β Sky subtraction from extracted slit spectra. bool, defaultFalse. full config name:fors.fors_pmos_extract.skymedian[default =False].--skylocal<bool>β Sky subtraction from CCD slit spectra. bool, defaultTrue. 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, defaultFalse. 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, default3. full config name:fors.fors_pmos_extract.slit_margin[default =3].--ext_radius<int>β Maximum extraction radius for detected objects, in pixels. int, default6. 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, default0. full config name:fors.fors_pmos_extract.cont_radius[default =0].--ext_mode<int>β Object extraction method:0= aperture,1= Horne optimal extraction. int, default1. full config name:fors.fors_pmos_extract.ext_mode[default =1].--time_normalise<bool>β Normalise output spectra by the exposure time. bool, defaultTrue. full config name:fors.fors_pmos_extract.time_normalise[default =True].--chromatism<bool>β Chromatism correction to polarization angles. bool, defaultTrue. full config name:fors.fors_pmos_extract.chromatism[default =True].--check<bool>β Create intermediate products. bool, defaultFalse. 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
- 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