---
name: "gimasterbias"
section: "7"
platform: "linux"
package: "cpl-plugin-giraf-doc"
version: "2.16.10+dfsg-1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/gimasterbias"
---

# gimasterbias(7)

Creates a master bias image from a set of raw biases.

## NAME

gimasterbias - Creates a master bias image from a set of raw biases.

## SYNOPSIS

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

## DESCRIPTION

For detailed information please refer to the GIRAFFE pipeline user manual.

It is available at http://www.eso.org/pipelines.

## OPTIONS

- **--stack-method** *\<str\>*

  Stacking method: average, median, minmax or ksigma (str; default: ´average´). The full name of this option for the EsoRex configuration file is **giraffe.stacking.method** \[default = *average*\].

- **--stack-ksigmalow** *\<float\>*

  Lower threshold multiplier for method ksigma (float; default: 5.0). The full name of this option for the EsoRex configuration file is **giraffe.stacking.ksigma.low** \[default = *5.0*\].

- **--stack-ksigmahigh** *\<float\>*

  Upper threshold multiplier for method ksigma (float; default: 5.0). The full name of this option for the EsoRex configuration file is **giraffe.stacking.ksigma.high** \[default = *5.0*\].

- **--stack-minreject** *\<int\>*

  Minimum rejection level for method minmax (int; default: 1). The full name of this option for the EsoRex configuration file is **giraffe.stacking.minmax.minimum** \[default = *1*\].

- **--stack-maxreject** *\<int\>*

  Maximum rejection level for method minmax (int; default: 1). The full name of this option for the EsoRex configuration file is **giraffe.stacking.minmax.maximum** \[default = *1*\].

- **--mbias-oscremove** *\<bool\>*

  Remove pre- and over-scan regions from the created master bias image. (bool; default: False). The full name of this option for the EsoRex configuration file is **giraffe.masterbias.overscan.remove** \[default = *False*\].

- **--mbias-bpxclean** *\<bool\>*

  Correct master bias image for bad pixels (bool; default: False). The full name of this option for the EsoRex configuration file is **giraffe.masterbias.badpixel.clean** \[default = *False*\].

- **--bpm-create** *\<bool\>*

  Create bad pixel map using a simple thresholding algorithm. (temporary!) (bool; default: True). The full name of this option for the EsoRex configuration file is **giraffe.masterbias.bpm.create** \[default = *True*\].

- **--bpm-factor** *\<float\>*

  Readout noise multiplier defining the valid range of pixel values for searching bad pixels. (float; default: 5.0). The full name of this option for the EsoRex configuration file is **giraffe.masterbias.bpm.factor** \[default = *5.0*\].

- **--bpm-frac** *\<float\>*

  Maximum fraction of pixels which may be flagged as ´bad. If more pixels are found to be ´bad a warning is issued. (float; default: 0.15). The full name of this option for the EsoRex configuration file is **giraffe.masterbias.bpm.fraction** \[default = *0.15*\].

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

-

  **ftp://ftp.eso.org/pub/dfs/pipelines/giraffe/giraf-pipeline-manual-2.11.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 giraf pipeline are [*giframestack*(7)](/giframestack/7.md), [*gimasterdark*(7)](/gimasterdark/7.md), [*gimasterflat*(7)](/gimasterflat/7.md), [*giscience*(7)](/giscience/7.md), [*gistandard*(7)](/gistandard/7.md), [*giwavecalibration*(7)](/giwavecalibration/7.md)

## VERSION

gimasterbias 2.16.10

## AUTHOR

Giraffe Pipeline \<https://support.eso.org/\>

## BUG REPORTS

Please report any problems to https://support.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 GIRAFFE Instrument Pipeline\
  Copyright (C) 2002-2014 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
