make_bias¶
-
ndmapper.lib.gmos.
make_bias
(*args, **kwargs)[source] [edit on github]¶ Combine individual bias exposures to produce a reference bias frame for calibrating other data.
Parameters: inputs : DataFileList
Input raw bias images.
bias : str-like, optional
Output combined bias image name. If None (default), a new DataFile will be returned whose name is constructed from that of the first input file, by appending ‘_bias’.
bpm : DataFile or DataFileList, optional
A bad pixel mask, used if ‘use_uncert’ and/or ‘use_flags’ is enabled. This can be created with the Gemini IRAF task GBPM.
ovs_function : str
Function to use for fitting the overscan region in IRAF (default ‘chebyshev’; may also be ‘legendre’, ‘spline1’ or ‘spline3’).
ovs_order : int
Order of the overscan fitting function (default 1).
ovs_lsigma : float
Negative sigma rejection threshold for overscan fitting (default 2.0).
ovs_hsigma : float
Positive sigma rejection threshold for overscan fitting (default 2.0).
ovs_niter : int
Number of rejection iterations for overscan fitting (default 5).
comb_lsigma : float
Negative sigma rejection threshold for averaging biases (default 2.0).
comb_hsigma : float
Positive sigma rejection threshold for averaging biases (default 2.0).
interact : bool, None
Fit the overscan region interactively in IRAF? If None (default), interactivity is instead controlled by the package configuration dictionary (see below).
See “help gbias” in IRAF for more detailed information.
Returns: outbias : DataFile
The combined bias image produced by gbias.