LinearizeBase¶
- class lsst.ip.isr.LinearizeBase¶
 Bases:
objectAbstract base class functor for correcting non-linearity.
Subclasses must define
__call__and set class variable LinearityType to a string that will be used for linearity type in the cameraGeom.Amplifier.linearityType field.All linearity corrections should be defined in terms of an additive correction, such that:
corrected_value = uncorrected_value + f(uncorrected_value)
Attributes Summary
Methods Summary
__call__(image, **kwargs)Correct non-linearity.
Attributes Documentation
- LinearityType = None¶
 
Methods Documentation
- abstract __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).tableLookup table data (
numpy.array).logLogger to handle messages (
logging.Logger).
- image
 - Returns:
 - Raises:
 - RuntimeError:
 Raised if the linearity type listed in the detector does not match the class type.