LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Variables
lsst.pipe.tasks.makeCoaddTempExp Namespace Reference

Classes

class  MakeCoaddTempExpConfig
 
class  MakeCoaddTempExpTask
 Warp and optionally PSF-Match calexps onto an a common projection. More...
 
class  MakeWarpConnections
 
class  MissingExposureError
 

Variables

 bgSubtracted
 
 doApplyExternalPhotoCalib
 
 doApplyExternalSkyWcs
 
 doApplySkyCorr
 

Variable Documentation

◆ bgSubtracted

lsst.pipe.tasks.makeCoaddTempExp.bgSubtracted
ConfigClass = MakeWarpConfig
_DefaultName = "makeWarp"

@utils.inheritDoc(pipeBase.PipelineTask)
def runQuantum(self, butlerQC, inputRefs, outputRefs):
# Read in all inputs.
inputs = butlerQC.get(inputRefs)

# Construct skyInfo expected by `run`.  We remove the SkyMap itself
# from the dictionary so we can pass it as kwargs later.
skyMap = inputs.pop("skyMap")
quantumDataId = butlerQC.quantum.dataId
skyInfo = makeSkyInfo(skyMap, tractId=quantumDataId['tract'], patchId=quantumDataId['patch'])

# Construct list of input DataIds expected by `run`
dataIdList = [ref.dataId for ref in inputRefs.calExpList]

# Construct list of packed integer IDs expected by `run`
ccdIdList = [dataId.pack("visit_detector") for dataId in dataIdList]

# Extract integer visitId requested by `run`
visits = [dataId['visit'] for dataId in dataIdList]
assert(all(visits[0] == visit for visit in visits))
visitId = visits[0]

self.prepareCalibratedExposures(**inputs)
results = self.run(**inputs, visitId=visitId, ccdIdList=ccdIdList, dataIdList=dataIdList,
                   skyInfo=skyInfo)
if self.config.makeDirect:
    butlerQC.put(results.exposures["direct"], outputRefs.direct)
if self.config.makePsfMatched:
    butlerQC.put(results.exposures["psfMatched"], outputRefs.psfMatched)

    def prepareCalibratedExposures(self, calExpList, backgroundList=None, skyCorrList=None):

Definition at line 583 of file makeCoaddTempExp.py.

◆ doApplyExternalPhotoCalib

lsst.pipe.tasks.makeCoaddTempExp.doApplyExternalPhotoCalib

Definition at line 637 of file makeCoaddTempExp.py.

◆ doApplyExternalSkyWcs

lsst.pipe.tasks.makeCoaddTempExp.doApplyExternalSkyWcs

Definition at line 640 of file makeCoaddTempExp.py.

◆ doApplySkyCorr

lsst.pipe.tasks.makeCoaddTempExp.doApplySkyCorr

Definition at line 703 of file makeCoaddTempExp.py.