|
lsst.ip.isr gd2a69bfd97+51b480cc68
|
Public Member Functions | |
| __call__ (self, image, **kwargs) | |
Static Public Attributes | |
| LinearityType = None | |
Correct non-linearity with a spline model. corrImage1 = uncorrImage - Spline1(coeffs, uncorrImage) corrImage = corrImage1 - Spline2(coeffs, corrImage1) 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.
Definition at line 987 of file linearize.py.
| lsst.ip.isr.linearize.LinearizeDoubleSpline.__call__ | ( | self, | |
| 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` or `np.ndarray`).
``log``
Logger to handle messages (`logging.Logger`).
``gain``
Gain value to apply.
Returns
-------
output : `tuple` [`bool`, `int`]
If true, a correction was applied successfully. The
integer indicates the number of pixels that were
uncorrectable by being out of range.
Definition at line 1003 of file linearize.py.
|
staticinherited |
Definition at line 706 of file linearize.py.