lsst.ip.diffim gef7b216a29+f391811cb4
Loading...
Searching...
No Matches
Classes | Functions
lsst.ip.diffim.subtractImages Namespace Reference

Classes

class  AlardLuptonSubtractConfig
 
class  AlardLuptonSubtractConnections
 
class  AlardLuptonSubtractTask
 
class  SubtractImageOutputConnections
 
class  SubtractInputConnections
 

Functions

def checkTemplateIsSufficient (templateExposure, logger, requiredTemplateFraction=0.)
 

Function Documentation

◆ checkTemplateIsSufficient()

def lsst.ip.diffim.subtractImages.checkTemplateIsSufficient (   templateExposure,
  logger,
  requiredTemplateFraction = 0. 
)
Raise NoWorkFound if template coverage < requiredTemplateFraction

Parameters
----------
templateExposure : `lsst.afw.image.ExposureF`
    The template exposure to check
logger : `lsst.log.Log`
    Logger for printing output.
requiredTemplateFraction : `float`, optional
    Fraction of pixels of the science image required to have coverage
    in the template.

Raises
------
lsst.pipe.base.NoWorkFound
    Raised if fraction of good pixels, defined as not having NO_DATA
    set, is less then the configured requiredTemplateFraction

Definition at line 586 of file subtractImages.py.