lsst.pipe.tasks  18.1.0-30-gf271f1f5+4
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 914 of file imageDifference.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 926 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 929 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 885 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 321 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 801 of file imageDifference.py.

Member Data Documentation

◆ algMetadata

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

Definition at line 287 of file imageDifference.py.

◆ ConfigClass

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

Definition at line 923 of file imageDifference.py.

◆ RunnerClass

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

Definition at line 258 of file imageDifference.py.

◆ schema

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

Definition at line 279 of file imageDifference.py.


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