lsst.pipe.tasks gb62d540790+dc6f37d311
|
Public Member Functions | |
def | __init__ (self, task, visitId, num=0) |
def | addCalExp (self, calExp, ccdId, nGoodPix) |
def | finish (self, coaddTempExp, nGoodPix=None) |
Public Attributes | |
task | |
coaddInputs | |
visitRecord | |
A helper class for CoaddInputRecorderTask, managing the CoaddInputs object for that single CoaddTempExp. This will contain a single 'visit' record for the CoaddTempExp and a number of 'ccd' records. Should generally be created by calling CoaddInputRecorderTask.makeCoaddTempExp(). Parameters ---------- task : `lsst.pipe.tasks.coaddInputRecorder.CoaddInputRecorderTask` The CoaddInputRecorderTask that is utilising us. visitId : `int` Identifier (integer) for the visit. num : `int` Number of CCDs for this visit that overlap this patch (for reserving memory).
Definition at line 56 of file coaddInputRecorder.py.
def lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.__init__ | ( | self, | |
task, | |||
visitId, | |||
num = 0 |
|||
) |
Definition at line 73 of file coaddInputRecorder.py.
def lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.addCalExp | ( | self, | |
calExp, | |||
ccdId, | |||
nGoodPix | |||
) |
Add a 'ccd' record for a calexp just added to the CoaddTempExp. Parameters ---------- calExp : `lsst.afw.image.Exposure` Calibrated exposure just added to the CoaddTempExp, or None in case of failures that should nonetheless be tracked. Should be the original calexp, in that it should contain the original Psf and Wcs, not the warped and/or matched ones. ccdId : `int` A unique numeric ID for the Exposure. nGoodPix : `int` Number of good pixels this image will contribute to the CoaddTempExp. If saveEmptyCcds is not set and this value is zero, no record will be added.
Definition at line 82 of file coaddInputRecorder.py.
def lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.finish | ( | self, | |
coaddTempExp, | |||
nGoodPix = None |
|||
) |
Finish creating the CoaddInputs for a CoaddTempExp. Parameters ---------- coaddTempExp : `lsst.afw.image.Exposure` Exposure object from which to obtain the PSF, WCS, and bounding box for the entry in the 'visits' table. On return, the completed CoaddInputs object will be attached to it. nGoodPix : `int` Total number of good pixels in the CoaddTempExp; ignored unless saveVisitGoodPix is true.
Definition at line 117 of file coaddInputRecorder.py.
lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.coaddInputs |
Definition at line 75 of file coaddInputRecorder.py.
lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.task |
Definition at line 74 of file coaddInputRecorder.py.
lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.visitRecord |
Definition at line 79 of file coaddInputRecorder.py.