LinearizeSpline¶
-
class
lsst.ip.isr.
LinearizeSpline
¶ Bases:
lsst.ip.isr.LinearizeBase
Correct non-linearity with a spline model.
corrImage = uncorrImage - Spline(coeffs, uncorrImage)
Notes
The spline fit calculates a correction as a function of the expected linear flux term. Because of this, the correction needs to be subtracted from the observed flux.
Attributes Summary
LinearityType
Methods Summary
__call__
(image, **kwargs)Correct for non-linearity. Attributes Documentation
-
LinearityType
= 'Spline'¶
Methods Documentation
-
__call__
(image, **kwargs)¶ Correct for non-linearity.
Parameters: - image :
lsst.afw.image.Image
Image to be corrected
- kwargs :
dict
Dictionary of parameter keywords:
coeffs
Coefficient vector (
list
ornumpy.array
).log
Logger to handle messages (
logging.Logger
).
Returns: - image :
-