reduction.preproc.biascor

reduction.preproc.biascor(ccd, mbias=None, mbiaspath=None, copy=True, verbose=1)

Subtract a master bias frame.

Parameters

ccd : ~astropy.nddata.CCDData

CCD image to correct.

mbias : ~astropy.nddata.CCDData or ~numpy.ndarray = None

Master bias frame. Default: None.

mbiaspath : path - like = None

Path to the master bias frame. Default: None.

copy : bool = True

Return a copy when True; when False, modify the input in place. The latter is slightly faster and uses less memory. Default: True.

verbose : int = 1

Header logging level. Default: 1.

Returns

: ~astropy.nddata.CCDData

Bias-corrected CCD. When both master inputs are None, this is an unchanged copy or the original object according to copy.