A helper class for CoaddInputRecorderTask, managing the CoaddInputs object for that a single
CoaddTempExp. This will contain single 'visit' record for the CoaddTempExp and a number of 'ccd'
records.
Should generally be created by calling CoaddInputRecorderTask.makeCoaddTempExp().
Definition at line 64 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
@param[in] calExp 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.
@param[in] ccdId A unique numeric ID for the Exposure.
@param[in] nGoodPix 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 88 of file coaddInputRecorder.py.
def lsst.pipe.tasks.coaddInputRecorder.CoaddTempExpInputRecorder.finish |
( |
|
self, |
|
|
|
coaddTempExp, |
|
|
|
nGoodPix = None |
|
) |
| |
Finish creating the CoaddInputs for a CoaddTempExp.
@param[in,out] coaddTempExp 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.
@param[in] nGoodPix Total number of good pixels in the CoaddTempExp; ignored unless
saveVisitGoodPix is true.
Definition at line 117 of file coaddInputRecorder.py.