|
lsst.ip.isr
14.0-12-g947dc0d+1
|
Public Member Functions | |
| def | __call__ (self, image, detector, log=None) |
| def | checkLinearityType (self, detector) |
Static Public Attributes | |
| LinearityType = None | |
Abstract 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 AmpInfoCatalog
Definition at line 36 of file linearize.py.
| def lsst.ip.isr.linearize.LinearizeBase.__call__ | ( | self, | |
| image, | |||
| detector, | |||
log = None |
|||
| ) |
Correct non-linearity
@param[in] image image to be corrected (an lsst.afw.image.Image)
@param[in] detector detector information (an instance of lsst::afw::cameraGeom::Detector)
@param[in] log logger (an lsst.log.Log), or None to disable logging;
a warning is logged if amplifiers are skipped or other worrisome events occur
@return an lsst.pipe.base.Struct containing at least the following fields:
- numAmps number of amplifiers found
- numLinearized number of amplifiers linearized
@throw RuntimeError if the linearity type is wrong
@throw a subclass of Exception if linearization fails for any other reason
Definition at line 45 of file linearize.py.
| def lsst.ip.isr.linearize.LinearizeBase.checkLinearityType | ( | self, | |
| detector | |||
| ) |
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 62 of file linearize.py.
|
static |
Definition at line 42 of file linearize.py.
1.8.13