The fors_bias recipe¶
-
fors_bias
¶
Synopsis¶
Compute the master bias frame
Description¶
This recipe is used to combine input raw BIAS frames into a master bias frame. The overscan regions, if present, are removed from the result.
Input files¶
DO category: Type: Explanation: Required:
BIAS Raw Bias frame Y
Output files¶
DO category: Data type: Explanation:
MASTER_BIAS FITS image Master bias frame
Constructor¶
-
cpl.
Recipe
("fors_bias") Create an object for the recipe fors_bias.
import cpl
fors_bias = cpl.Recipe("fors_bias")
Parameters¶
-
fors_bias.param.
stack_method
¶ Frames combination method (str; default: ‘minmax’) [default=”minmax”].
-
fors_bias.param.
minrejection
¶ Number of lowest values to be rejected (int; default: 1) [default=1].
-
fors_bias.param.
maxrejection
¶ Number of highest values to be rejected (int; default: 1) [default=1].
-
fors_bias.param.
klow
¶ Low threshold in ksigma method (float; default: 3.0) [default=3.0].
-
fors_bias.param.
khigh
¶ High threshold in ksigma method (float; default: 3.0) [default=3.0].
-
fors_bias.param.
kiter
¶ Max number of iterations in ksigma method (int; default: 999) [default=999].
The following code snippet shows the default settings for the available parameters.
import cpl
fors_bias = cpl.Recipe("fors_bias")
fors_bias.param.stack_method = "minmax"
fors_bias.param.minrejection = 1
fors_bias.param.maxrejection = 1
fors_bias.param.klow = 3.0
fors_bias.param.khigh = 3.0
fors_bias.param.kiter = 999
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
fors_bias = cpl.Recipe("fors_bias")
[...]
res = fors_bias( ..., param = {"stack_method":"minmax", "minrejection":1})
See also
cpl.Recipe for more information about the recipe object.
Bug reports¶
Please report any problems to Jonas M. Larsen, Carlo Izzo. Alternatively, you may send a report to the ESO User Support Department.
Copyright¶
This file is currently part of the FORS Instrument Pipeline Copyright (C) 2002-2011 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
Code author: Jonas M. Larsen, Carlo Izzo <usd-help@eso.org>