lsst.pipe.tasks  18.1.0-21-gb3d55290+14
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.tasks.imageDifference.Winter2013ImageDifferenceTask Class Reference

Image difference Task used in the Winter 2013 data challege. More...

Inheritance diagram for lsst.pipe.tasks.imageDifference.Winter2013ImageDifferenceTask:
lsst.pipe.tasks.imageDifference.ImageDifferenceTask

Public Member Functions

def __init__ (self, kwargs)
 
def fitAstrometry (self, templateSources, templateExposure, selectSources)
 
def runDataRef (self, sensorRef, templateIdList=None)
 
def runDebug (self, exposure, subtractRes, selectSources, kernelSources, diaSources)
 
def getSchemaCatalogs (self)
 

Public Attributes

 schema
 
 algMetadata
 

Static Public Attributes

 ConfigClass
 
 RunnerClass
 

Detailed Description

Image difference Task used in the Winter 2013 data challege.

Enables testing the effects of registration shifts and scatter.

For use with winter 2013 simulated images: Use –templateId visit=88868666 for sparse data –templateId visit=22222200 for dense data (g) –templateId visit=11111100 for dense data (i)

Definition at line 884 of file imageDifference.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.imageDifference.Winter2013ImageDifferenceTask.__init__ (   self,
  kwargs 
)

Definition at line 896 of file imageDifference.py.

Member Function Documentation

◆ fitAstrometry()

def lsst.pipe.tasks.imageDifference.Winter2013ImageDifferenceTask.fitAstrometry (   self,
  templateSources,
  templateExposure,
  selectSources 
)
Fit the relative astrometry between templateSources and selectSources

Definition at line 899 of file imageDifference.py.

◆ getSchemaCatalogs()

def lsst.pipe.tasks.imageDifference.ImageDifferenceTask.getSchemaCatalogs (   self)
inherited
Return a dict of empty catalogs for each catalog dataset produced by this task.

Definition at line 855 of file imageDifference.py.

◆ runDataRef()

def lsst.pipe.tasks.imageDifference.ImageDifferenceTask.runDataRef (   self,
  sensorRef,
  templateIdList = None 
)
inherited
Subtract an image from a template coadd and measure the result

Steps include:
- warp template coadd to match WCS of image
- PSF match image to warped template
- subtract image from PSF-matched, warped template
- persist difference image
- detect sources
- measure sources

@param sensorRef: sensor-level butler data reference, used for the following data products:
Input only:
- calexp
- psf
- ccdExposureId
- ccdExposureId_bits
- self.config.coaddName + "Coadd_skyMap"
- self.config.coaddName + "Coadd"
Input or output, depending on config:
- self.config.coaddName + "Diff_subtractedExp"
Output, depending on config:
- self.config.coaddName + "Diff_matchedExp"
- self.config.coaddName + "Diff_src"

@return pipe_base Struct containing these fields:
- subtractedExposure: exposure after subtracting template;
    the unpersisted version if subtraction not run but detection run
    None if neither subtraction nor detection run (i.e. nothing useful done)
- subtractRes: results of subtraction task; None if subtraction not run
- sources: detected and possibly measured sources; None if detection not run

Definition at line 305 of file imageDifference.py.

◆ runDebug()

def lsst.pipe.tasks.imageDifference.ImageDifferenceTask.runDebug (   self,
  exposure,
  subtractRes,
  selectSources,
  kernelSources,
  diaSources 
)
inherited
@todo Test and update for current debug display and slot names

Definition at line 771 of file imageDifference.py.

Member Data Documentation

◆ algMetadata

lsst.pipe.tasks.imageDifference.ImageDifferenceTask.algMetadata
inherited

Definition at line 271 of file imageDifference.py.

◆ ConfigClass

lsst.pipe.tasks.imageDifference.Winter2013ImageDifferenceTask.ConfigClass
static

Definition at line 893 of file imageDifference.py.

◆ RunnerClass

lsst.pipe.tasks.imageDifference.ImageDifferenceTask.RunnerClass
staticinherited

Definition at line 245 of file imageDifference.py.

◆ schema

lsst.pipe.tasks.imageDifference.ImageDifferenceTask.schema
inherited

Definition at line 263 of file imageDifference.py.


The documentation for this class was generated from the following file: