---
name: "vmmosstandard"
section: "7"
platform: "linux"
package: "cpl-plugin-vimos-doc"
version: "3.2.3+dfsg-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/vmmosstandard"
---

# vmmosstandard(7)

Reduce a MOS standard star exposure.

## NAME

vmmosstandard - Reduce a MOS standard star exposure.

## SYNOPSIS

esorex **vmmosstandard** \[OPTIONS\] FILE.sof

## DESCRIPTION

This recipe is used to calibrate and extract a standard star spectrum obtained in MOS mode, and compare it with a catalog spectrum to obtain the efficiency and the response curves.

Input files:

  DO category:               Type:      Explanation:         Required:\
   MOS\_STANDARD               Raw        Science exposure        Y\
   MASTER\_BIAS                Calib      Master bias             Y\
   EXTINCT\_TABLE              Calib      Atmospheric extinction  Y\
   STD\_FLUX\_TABLE             Calib      Standard star fluxes    Y\
   MASTER\_DARK                Calib      Master dark             .

  MOS\_MASTER\_SCREEN\_FLAT     Calib      Normalised flat field   .

  EXTRACT\_TABLE              Calib      Extraction table        .

  GRISM\_TABLE                Calib      Grism table             Y\
   CCD\_TABLE                  Calib      Bad pixel table         .

Output files:

  DO category:               Data type: Explanation:\
   MOS\_STANDARD\_REDUCED       FITS image Extracted spectrum\
   MOS\_STANDARD\_EXTRACTED     FITS image Sky subtracted slit spectra\
   MOS\_STANDARD\_SKY           FITS image Sky slit spectra\
   MOS\_STANDARD\_SKY\_EXTRACTED FITS image Extracted sky spectrum\
   OBJECT\_TABLE               FITS table Objects spectra identification\
   WINDOW\_TABLE               FITS table Objects positions in slit\
   MOS\_SPECPHOT\_TABLE         FITS table Efficiency and response curves

The standard star spectrum is calibrated and extracted as described for the recipe vmmosobsstare. The extracted spectrum is compared to catalog fluxes of the same star to obtain the efficiency curve and the response curve to use for flux calibration. For this comparison the extracted spectrum is converted into electrons/sec/Angstrom. The catalog fluxes, as well as the atmospheric extinction factors, are remapped to the same wavelength bins of the extracted spectrum. After removing the effect of the atmospheric extinction (i.e., correcting the extracted spectrum to airmass zero), the response curve is derived as the ratio between the catalog spectrum and the calibrated spectrum.

The efficiency curve is obtained by dividing the extracted spectrum in electrons/sec/Angstrom by the the catalog fluxes converted from erg/cm/cm/s/Angstrom to photons/s/Angstrom (at 100% efficiency each photon would correspond to one electron).

For more details, please refer to the VIMOS Pipeline User´s Guide.

## OPTIONS

- **--BiasMethod** *\<str\>*

  Bias removal method. (str; default: ´Zmaster´). The full name of this option for the EsoRex configuration file is **vimos.Parameters.bias.removing.method** \[default = *Zmaster*\].

- **--SkyMethod** *\<str\>*

  Sky level determination method. (str; default: ´Median´). The full name of this option for the EsoRex configuration file is **vimos.Parameters.sky.method** \[default = *Median*\].

- **--PolyOrder** *\<int\>*

  Degree of polynomial used when the SkyMethod is set to Fit. (int; default: 0). The full name of this option for the EsoRex configuration file is **vimos.Parameters.sky.order** \[default = *0*\].

- **--SkyKSigmaLow** *\<float\>*

  Low threshold for K-sigma rejection in sky fitting. (float; default: 3.0). The full name of this option for the EsoRex configuration file is **vimos.Parameters.sky.ksigma.low** \[default = *3.0*\].

- **--SkyKSigmaHigh** *\<float\>*

  High threshold for K-sigma rejection in sky fitting. (float; default: 3.0). The full name of this option for the EsoRex configuration file is **vimos.Parameters.sky.ksigma.high** \[default = *3.0*\].

- **--Fuzz** *\<int\>*

  Extra pixels from expected position of spectrum edge in extraction. (int; default: 5). The full name of this option for the EsoRex configuration file is **vimos.Parameters.extraction.fuzz** \[default = *5*\].

- **--SlitMargin** *\<int\>*

  Number of excluded pixels at slit ends in object search or in sky level determination. (int; default: 2). The full name of this option for the EsoRex configuration file is **vimos.Parameters.detection.exclude** \[default = *2*\].

- **--LineWidth** *\<int\>*

  Size of spectrum to extract around any skyline. (int; default: 16). The full name of this option for the EsoRex configuration file is **vimos.Parameters.sky.linewidth** \[default = *16*\].

- **--DetectionLevel** *\<float\>*

  Object detection level in units of sigma. (float; default: 10.0). The full name of this option for the EsoRex configuration file is **vimos.Parameters.detection.sigma** \[default = *10.0*\].

- **--WatershedLevels** *\<int\>*

  Number of levels in the watershed method in object detection. (int; default: 32). The full name of this option for the EsoRex configuration file is **vimos.Parameters.detection.levels** \[default = *32*\].

- **--WatershedFraction** *\<float\>*

  Flux fraction to use in watershed. (float; default: 0.01). The full name of this option for the EsoRex configuration file is **vimos.Parameters.detection.fraction** \[default = *0.01*\].

- **--MinObjectSize** *\<int\>*

  Minimal size for an object candidate to be considered an object. (int; default: 2). The full name of this option for the EsoRex configuration file is **vimos.Parameters.detection.minsize** \[default = *2*\].

- **--MaxObjectSize** *\<int\>*

  Maximal size for an object candidate for not trying deblend into sub- objects. (int; default: 7). The full name of this option for the EsoRex configuration file is **vimos.Parameters.detection.maxsize** \[default = *7*\].

- **--CleanBadPixel** *\<bool\>*

  Bad pixel correction on MOS science exposure. (bool; default: True). The full name of this option for the EsoRex configuration file is **vimos.Parameters.badpixel.clean** \[default = *True*\].

- **--HorneExtraction** *\<bool\>*

  Use 1D Horne extraction. (bool; default: False). The full name of this option for the EsoRex configuration file is **vimos.Parameters.extraction.optimal** \[default = *False*\].

- **--ModelSlit** *\<bool\>*

  Model wavelength solution within each slit. (bool; default: True). The full name of this option for the EsoRex configuration file is **vimos.Parameters.slit.model** \[default = *True*\].

- **--ModelSlitOrder** *\<int\>*

  Order of polynomial for wavelength solution modeling within each slit. (int; default: 0). The full name of this option for the EsoRex configuration file is **vimos.Parameters.slit.order** \[default = *0*\].

- **--UseSkylines** *\<bool\>*

  Use sky lines to refine the wavelength calibration (bool; default: True). The full name of this option for the EsoRex configuration file is **vimos.Parameters.sky.align** \[default = *True*\].

- **--ResponseOrder** *\<int\>*

  Order of the polynomial used to smooth the instrument response curve. (int; default: 5). The full name of this option for the EsoRex configuration file is **vimos.Parameters.response.order** \[default = *5*\].

- **--ReduceAnyFrame** *\<bool\>*

  Reduce any frame. (bool; default: False). The full name of this option for the EsoRex configuration file is **vimos.Parameters.reduceall** \[default = *False*\].

- **--ComputeQC** *\<bool\>*

  Compute QC1 parameters (bool; default: True). The full name of this option for the EsoRex configuration file is **vimos.Parameters.quality.enable** \[default = *True*\].

- **--SelectSlit** *\<int\>*

  Slit containing the standard star. (int; default: 0). The full name of this option for the EsoRex configuration file is **vimos.Parameters.slit.select** \[default = *0*\].

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.

## SEE ALSO

The full documentation for the vimos pipeline can be downloaded as  a PDF file using the following URL:

-

  **ftp://ftp.eso.org/pub/dfs/pipelines/vimos/vimos-pipeline-manual-6.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 vimos pipeline are [*vmbias*(7)](/vmbias/7.md), [*vmdark*(7)](/vmdark/7.md), [*vmdet*(7)](/vmdet/7.md), [*vmifucalib*(7)](/vmifucalib/7.md), [*vmifucombine*(7)](/vmifucombine/7.md), [*vmifucombinecube*(7)](/vmifucombinecube/7.md), [*vmifuscience*(7)](/vmifuscience/7.md), [*vmifustandard*(7)](/vmifustandard/7.md), [*vmimcalphot*(7)](/vmimcalphot/7.md), [*vmimflatscreen*(7)](/vmimflatscreen/7.md), [*vmimflatsky*(7)](/vmimflatsky/7.md), [*vmimobsjitter*(7)](/vmimobsjitter/7.md), [*vmimobsstare*(7)](/vmimobsstare/7.md), [*vmimpreimaging*(7)](/vmimpreimaging/7.md), [*vmimstandard*(7)](/vmimstandard/7.md), [*vmmoscalib*(7)](/vmmoscalib/7.md), [*vmmoscombine*(7)](/vmmoscombine/7.md), [*vmmosobsjitter*(7)](/vmmosobsjitter/7.md), [*vmmosobsstare*(7)](/vmmosobsstare/7.md), [*vmmosscience*(7)](/vmmosscience/7.md), [*vmspcaldisp*(7)](/vmspcaldisp/7.md), [*vmspflat*(7)](/vmspflat/7.md), [*vmspphot*(7)](/vmspphot/7.md)

## VERSION

vmmosstandard 3.2.3

## AUTHOR

ESO VIMOS Pipeline Team \<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\>.

## LICENSE

This file is part of the VIMOS Instrument Pipeline Copyright (C) 2002-2005 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
