LinearizePolynomial¶
- class lsst.ip.isr.LinearizePolynomial¶
Bases:
LinearizeBaseCorrect non-linearity with a polynomial mode.
corrImage = uncorrImage + sum_i c_i uncorrImage^(2 + i)
where
c_iare the linearity coefficients for each amplifier. Lower order coefficients are not included as they duplicate other calibration parameters:k0A coefficient multiplied by
uncorrImage**0is equivalent to bias level. Irrelevant for correcting non-linearity.k1A coefficient multiplied by
uncorrImage**1is proportional to the gain. Not necessary for correcting non-linearity.
Attributes Summary
Methods Summary
__call__(image, **kwargs)Correct non-linearity.
Attributes Documentation
- LinearityType = 'Polynomial'¶
Methods Documentation
- __call__(image, **kwargs)¶
Correct non-linearity.
- Parameters:
- image
lsst.afw.image.Image Image to be corrected
- kwargs
dict Dictionary of parameter keywords:
coeffsCoefficient vector (
listornumpy.array). If the order of the polynomial is n, this list should have a length of n-1 (“k0” and “k1” are not needed for the correction).logLogger to handle messages (
logging.Logger).
- image
- Returns: