LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
Loading...
Searching...
No Matches
Classes | Variables
lsst.pipe.tasks.makeWarp Namespace Reference

Classes

class  MakeWarpConnections
 

Variables

 log = logging.getLogger(__name__)
 
 bgSubtracted
 
 dataIdKey : `str`
 
 inputRefs : `lsst.pipe.base.connections.QuantizedConnection`
 

Variable Documentation

◆ bgSubtracted

lsst.pipe.tasks.makeWarp.bgSubtracted

Definition at line 59 of file makeWarp.py.

◆ dataIdKey

lsst.pipe.tasks.makeWarp.dataIdKey : `str`
    warpAndPsfMatch = pexConfig.ConfigurableField(
        target=WarpAndPsfMatchTask,
        doc="Task to warp and PSF-match calexp",
    )
    doWrite = pexConfig.Field(
        doc="persist <coaddName>Coadd_<warpType>Warp",
        dtype=bool,
        default=True,
    )
    bgSubtracted = pexConfig.Field(
        doc="Work with a background subtracted calexp?",
        dtype=bool,
        default=True,
    )
    coaddPsf = pexConfig.ConfigField(
        doc="Configuration for CoaddPsf",
        dtype=CoaddPsfConfig,
    )
    makeDirect = pexConfig.Field(
        doc="Make direct Warp/Coadds",
        dtype=bool,
        default=True,
    )
    makePsfMatched = pexConfig.Field(
        doc="Make Psf-Matched Warp/Coadd?",
        dtype=bool,
        default=False,
    )
    modelPsf = GaussianPsfFactory.makeField(doc="Model Psf factory")
    useVisitSummaryPsf = pexConfig.Field(
        doc=(
            "If True, use the PSF model and aperture corrections from the 'visitSummary' connection. "
            "If False, use the PSF model and aperture corrections from the 'exposure' connection. "
        ),
        dtype=bool,
        default=True,
    )
    doWriteEmptyWarps = pexConfig.Field(
        dtype=bool,
        default=False,
        doc="Write out warps even if they are empty"
    )
    hasFakes = pexConfig.Field(
        doc="Should be set to True if fake sources have been inserted into the input data.",
        dtype=bool,
        default=False,
    )
    doApplySkyCorr = pexConfig.Field(
        dtype=bool,
        default=False,
        doc="Apply sky correction?",
    )
    idGenerator = DetectorVisitIdGeneratorConfig.make_field()

    def validate(self):
        CoaddBaseTask.ConfigClass.validate(self)

        if not self.makePsfMatched and not self.makeDirect:
            raise ValueError("At least one of config.makePsfMatched and config.makeDirect must be True")
        if self.warpAndPsfMatch.warp.cacheSize != self.coaddPsf.cacheSize:
            # This is an incomplete check: usually the CoaddPsf cache size
            # configured here in MakeWarpTask is superseded by the one in
            # AssembleCoaddTask.  A pipeline contract in the drp_pipe is
            # present to check that.
            raise ValueError("Image warping cache size and CoaddPSf warping cache size do not agree.")

    def setDefaults(self):
        CoaddBaseTask.ConfigClass.setDefaults(self)
        self.warpAndPsfMatch.warp.cacheSize = 0
        self.coaddPsf.cacheSize = 0
        self.warpAndPsfMatch.psfMatch.kernel.active.kernelSize = self.matchingKernelSize


class MakeWarpTask(CoaddBaseTask):

Definition at line 581 of file makeWarp.py.

◆ inputRefs

lsst.pipe.tasks.makeWarp.inputRefs : `lsst.pipe.base.connections.QuantizedConnection`

Definition at line 586 of file makeWarp.py.

◆ log

lsst.pipe.tasks.makeWarp.log = logging.getLogger(__name__)

Definition at line 43 of file makeWarp.py.