- ccdproc.gain_correct(ccd, gain, gain_unit=None)[source]¶
Correct the gain in the image.
Data to have gain corrected.
gain value for the image expressed in electrons per adu.
Unitor None, optional
Unit for the
gain; used only if
gainitself does not provide units. Default is
Keywordor dict-like, optional
Item(s) to add to metadata of result. Set to False or None to completely disable logging. Default is to add a dictionary with a single item: The key is the name of this function and the value is a string containing the arguments the function was called with, except the value of this argument.
CCDData object with gain corrected.