---
name: "sinfo_rec_mdark"
section: "7"
platform: "linux"
package: "cpl-plugin-sinfo-doc"
version: "2.5.2+dfsg-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/sinfo_rec_mdark"
---

# sinfo\_rec\_mdark(7)

Master dark and hot pixels mask generation.

## NAME

sinfo\_rec\_mdark - Master dark and hot pixels mask generation.

## SYNOPSIS

esorex **sinfo\_rec\_mdark** \[OPTIONS\] FILE.sof

## DESCRIPTION

This recipe perform raw sinfo\_dark data reduction.

The input files are raw sinfo\_dark images Their associated tags should be DARK.

The output are a master sinfo\_dark (PRO.CATG=MASTER\_DARK) and a hot pixels bad pixel map (PRO.CATG=BP\_MAP\_HP)

## OPTIONS

- **--gen-overpar** *\<bool\>*

  Overwrite DRS ini parameters:  (bool; default: True). The full name of this option for the EsoRex configuration file is **sinfoni.general.overwrite\_parameters** \[default = *True*\].

- **--lc\_sw** *\<bool\>*

  Correct for bad lines introduced by instrument software:  (bool; default: False). The full name of this option for the EsoRex configuration file is **sinfoni.general.lc\_sw** \[default = *False*\].

- **--lc\_kappa** *\<long\>*

  Kappa sigma value (long; default: 18). The full name of this option for the EsoRex configuration file is **sinfoni.general.lc\_kappa** \[default = *18*\].

- **--lc\_filt\_rad** *\<long\>*

  Filtering radii applied during median filter. Should be small (long; default: 3). The full name of this option for the EsoRex configuration file is **sinfoni.general.lc\_filt\_rad** \[default = *3*\].

- **--bp\_noise-thresh\_sigma\_fct** *\<float\>*

  Threshold Sigma Factor: If the mean noise exceeds this threshold times the clean standard deviation of the clean mean the corresponding pixels are declared as bad  (float; default: 10.0). The full name of this option for the EsoRex configuration file is **sinfoni.bp\_noise.thresh\_sigma\_factor** \[default = *10.0*\].

- **--bp\_noise-lo\_rej** *\<float\>*

  low\_rejection: percentage of rejected low intensity pixels before averaging (float; default: 10.0). The full name of this option for the EsoRex configuration file is **sinfoni.bp\_noise.low\_rejection** \[default = *10.0*\].

- **--bp\_noise-hi\_rej** *\<float\>*

  high\_rejection: percentage of rejected high intensity pixels before averaging (float; default: 10.0). The full name of this option for the EsoRex configuration file is **sinfoni.bp\_noise.high\_rejection** \[default = *10.0*\].

- **--dark-lo\_rej** *\<float\>*

  lower rejection (float; default: 0.1). The full name of this option for the EsoRex configuration file is **sinfoni.dark.low\_rejection** \[default = *0.1*\].

- **--dark-hi\_rej** *\<float\>*

  higher rejection (float; default: 0.1). The full name of this option for the EsoRex configuration file is **sinfoni.dark.high\_rejection** \[default = *0.1*\].

- **--dark-qc\_ron\_xmin** *\<long\>*

  qc\_ron\_xmin (long; default: 1). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_ron\_xmin** \[default = *1*\].

- **--dark-qc\_ron\_xmax** *\<long\>*

  qc\_ron\_xmax (long; default: 2048). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_ron\_xmax** \[default = *2048*\].

- **--dark-qc\_ron\_ymin** *\<long\>*

  qc\_ron\_ymin (long; default: 1). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_ron\_ymin** \[default = *1*\].

- **--dark-qc\_ron\_ymax** *\<long\>*

  qc\_ron\_ymax (long; default: 2048). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_ron\_ymax** \[default = *2048*\].

- **--dark-qc\_ron\_hsize** *\<long\>*

  qc\_ron\_hsize (long; default: 4). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_ron\_hsize** \[default = *4*\].

- **--dark-qc\_ron\_nsamp** *\<long\>*

  qc\_ron\_nsamp (long; default: 100). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_ron\_nsamp** \[default = *100*\].

- **--dark-qc\_fpn\_xmin** *\<long\>*

  qc\_fpn\_xmin (long; default: 1). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_fpn\_xmin** \[default = *1*\].

- **--dark-qc\_fpn\_xmax** *\<long\>*

  qc\_fpn\_xmax (long; default: 2047). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_fpn\_xmax** \[default = *2047*\].

- **--dark-qc\_fpn\_ymin** *\<long\>*

  qc\_fpn\_ymin (long; default: 1). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_fpn\_ymin** \[default = *1*\].

- **--dark-qc\_fpn\_ymax** *\<long\>*

  qc\_fpn\_ymax (long; default: 2047). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_fpn\_ymax** \[default = *2047*\].

- **--dark-qc\_fpn\_hsize** *\<long\>*

  qc\_fpn\_hsize (long; default: 2). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_fpn\_hsize** \[default = *2*\].

- **--dark-qc\_fpn\_nsamp** *\<long\>*

  qc\_fpn\_nsamp (long; default: 1000). The full name of this option for the EsoRex configuration file is **sinfoni.dark.qc\_fpn\_nsamp** \[default = *1000*\].

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 sinfo pipeline can be downloaded as  a PDF file using the following URL:

-

  **ftp://ftp.eso.org/pub/dfs/pipelines/sinfoni/sinfo-pipeline-manual-19.0.pdf**

An overview over the existing ESO pipelines can be found on the web page **http://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 **http://packages.python.org/python-cpl/index.html** for further information.

The other recipes of the sinfo pipeline are [*sinfo\_utl\_cube2spectrum*(7)](/sinfo_utl_cube2spectrum/7.md), [*sinfo\_rec\_jitter*(7)](/sinfo_rec_jitter/7.md), [*sinfo\_utl\_ima\_line\_corr*(7)](/sinfo_utl_ima_line_corr/7.md), [*sinfo\_utl\_cube\_combine*(7)](/sinfo_utl_cube_combine/7.md), [*sinfo\_utl\_bp\_mask\_add*(7)](/sinfo_utl_bp_mask_add/7.md), [*sinfo\_utl\_skycor*(7)](/sinfo_utl_skycor/7.md), [*sinfo\_utl\_spectrum\_divide\_by\_blackbody*(7)](/sinfo_utl_spectrum_divide_by_blackbody/7.md), [*sinfo\_rec\_mflat*(7)](/sinfo_rec_mflat/7.md), [*sinfo\_utl\_cube\_create*(7)](/sinfo_utl_cube_create/7.md), [*sinfo\_utl\_line\_oh\_select*(7)](/sinfo_utl_line_oh_select/7.md), [*sinfo\_utl\_cube2ima*(7)](/sinfo_utl_cube2ima/7.md), [*sinfo\_utl\_spectrum\_wavelength\_shift*(7)](/sinfo_utl_spectrum_wavelength_shift/7.md), [*sinfo\_rec\_distortion*(7)](/sinfo_rec_distortion/7.md), [*sinfo\_rec\_pupil*(7)](/sinfo_rec_pupil/7.md), [*sinfo\_rec\_wavecal*(7)](/sinfo_rec_wavecal/7.md), [*sinfo\_utl\_ima\_arith*(7)](/sinfo_utl_ima_arith/7.md), [*sinfo\_utl\_cube\_arith*(7)](/sinfo_utl_cube_arith/7.md), [*sinfo\_rec\_detlin*(7)](/sinfo_rec_detlin/7.md), [*sinfo\_utl\_skymap*(7)](/sinfo_utl_skymap/7.md)

## VERSION

sinfo\_rec\_mdark 2.5.2

## AUTHOR

Andrea Modigliani \<Andrea.Modigliani@eso.org\>

## BUG REPORTS

Please report any problems to Andrea.Modigliani@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 SINFONI Instrument Pipeline Copyright (C) 2002,2003 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., 59 Temple Place, Suite 330, Boston,  MA  02111-1307  USA
