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
43 """Read and return calibration products relevant for correcting 44 stray light in the given exposure. 48 dataRef : `daf.persistence.butlerSubset.ButlerDataRef` 49 Butler reference of the detector data to be processed 50 rawExposure : `afw.image.Exposure` 51 The raw exposure that will later be corrected with the 52 retrieved calibration data; should not be modified in this 57 straylightData : `object`, optional 58 An opaque object that should be passed as the second argument to 59 the `run` method. If `None`, no stray light correction will be 60 performed for the given image. Any other object (e.g. `True`) 61 may be used to signal that stray light correction should be 62 performed even if there is nothing to read. 66 This method will be called only when `IsrTask` is run by the Gen2 67 Middleware (i.e. CmdLineTask). 71 def run(self, exposure, strayLightData):
72 """Correct stray light. 76 exposure : `lsst.afw.image.Exposure` 78 strayLightData : `object`, optional 79 An opaque object that contains any calibration data used to 80 correct for stray light. 82 raise NotImplementedError(
"Must be implemented by subclasses.")
def run(self, exposure, strayLightData)
def readIsrData(self, dataRef, rawExposure)