28 doRotatorAngleCorrection =
Field(
36 """Remove stray light from instruments. 38 This is a dummy task to be retargeted with an camera-specific version. 40 ConfigClass = StrayLightConfig
41 _DefaultName =
"isrStrayLight" 44 """Read and return calibration products relevant for correcting 45 stray light in the given exposure. 49 dataRef : `daf.persistence.butlerSubset.ButlerDataRef` 50 Butler reference of the detector data to be processed 51 rawExposure : `afw.image.Exposure` 52 The raw exposure that will later be corrected with the 53 retrieved calibration data; should not be modified in this 58 straylightData : `object`, optional 59 An opaque object that should be passed as the second argument to 60 the `run` method. If `None`, no stray light correction will be 61 performed for the given image. Any other object (e.g. `True`) 62 may be used to signal that stray light correction should be 63 performed even if there is nothing to read. 67 This method will be called only when `IsrTask` is run by the Gen2 68 Middleware (i.e. CmdLineTask). 72 def run(self, exposure, strayLightData):
73 """Correct stray light. 77 exposure : `lsst.afw.image.Exposure` 79 strayLightData : `object`, optional 80 An opaque object that contains any calibration data used to 81 correct for stray light. 83 raise NotImplementedError(
"Must be implemented by subclasses.")
def run(self, exposure, strayLightData)
def readIsrData(self, dataRef, rawExposure)