Subtract bias from input frame
This recipe is used to subtract the master bias, produced by the recipe fors_bias, from one raw data frame. The overscan regions, if present, are used to compensate for variations of the bias level between master bias and input raw frame. The overscan regions are then trimmed from the result.
In the table below the MXU acronym can be alternatively read as MOS and LSS.
DO category: Type: Explanation: Required:
LAMP_MXU
or SCIENCE_MXU
or STANDARD_MXU Raw Raw data frame Y
MASTER_BIAS Calib Master bias frame Y
DO category: Data type: Explanation:
LAMP_UNBIAS_MXU
or SCIENCE_UNBIAS_MXU
or STANDARD_UNBIAS_MXU FITS image Bias subtracted frame
Create an object for the recipe fors_remove_bias.
import cpl
fors_remove_bias = cpl.Recipe("fors_remove_bias")
The following code snippet shows the default settings for the available parameters.
import cpl
fors_remove_bias = cpl.Recipe("fors_remove_bias")
You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:
import cpl
fors_remove_bias = cpl.Recipe("fors_remove_bias")
[...]
res = fors_remove_bias( ..., param = {})
See also
cpl.Recipe for more information about the recipe object.
Please report any problems to Carlo Izzo. Alternatively, you may send a report to the ESO User Support Department.
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
Code author: Carlo Izzo <usd-help@eso.org>