lsst.ip.isr
17.0.1-21-g52a398f+3
|
Public Member Functions | |
def | __call__ (self, image, detector, log=None) |
def | checkLinearityType (self, detector) |
Static Public Attributes | |
string | LinearityType = "Squared" |
Correct non-linearity with a squared model corrImage = uncorrImage + c0*uncorrImage^2 where c0 is linearity coefficient 0 in the AmpInfoCatalog of the detector
Definition at line 210 of file linearize.py.
def lsst.ip.isr.linearize.LinearizeSquared.__call__ | ( | self, | |
image, | |||
detector, | |||
log = None |
|||
) |
Correct for non-linearity @param[in] image image to be corrected (an lsst.afw.image.Image) @param[in] detector detector info about image (an lsst.afw.cameraGeom.Detector) @param[in] log logger (an lsst.log.Log), or None to disable logging; a warning is logged if any amplifiers are skipped because the square coefficient is 0 @return an lsst.pipe.base.Struct containing at least the following fields: - nAmps number of amplifiers found - nLinearized number of amplifiers linearized @throw RuntimeError if the linearity type is wrong
Definition at line 219 of file linearize.py.
|
inherited |
Verify that the linearity type is correct for this detector @warning only checks the first record of the amp info catalog @param[in] detector detector information (an instance of lsst::afw::cameraGeom::Detector) @throw RuntimeError if anything doesn't match
Definition at line 78 of file linearize.py.
|
static |
Definition at line 217 of file linearize.py.