lsst.ip.diffim  13.0-22-g3839dbb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
lsst.ip.diffim.getTemplate.GetCalexpAsTemplateTask Class Reference
Inheritance diagram for lsst.ip.diffim.getTemplate.GetCalexpAsTemplateTask:

Public Member Functions

def run
 Return a calexp exposure with based on input sensorRef. More...
 

Static Public Attributes

 ConfigClass = GetCalexpAsTemplateConfig
 

Static Private Attributes

string _DefaultName = "GetCalexpAsTemplateTask"
 

Detailed Description

Subtask to retrieve calexp of the same ccd number as the science image SensorRef
for use as an image difference template.

To be run as a subtask by pipe.tasks.ImageDifferenceTask.
Intended for use with simulations and surveys that repeatedly visit the same pointing.
This code was originally part of Winter2013ImageDifferenceTask.

Definition at line 147 of file getTemplate.py.

Member Function Documentation

def lsst.ip.diffim.getTemplate.GetCalexpAsTemplateTask.run (   self,
  exposure,
  sensorRef,
  templateIdList 
)

Return a calexp exposure with based on input sensorRef.

Construct a dataId based on the sensorRef.dataId combined with the specifications from the first dataId in templateIdList

Parameters
[in]exposure– exposure (unused)
[in]sensorRef– a Butler data reference
[in]templateIdList– list of data ids, which should contain a single item. If there are multiple items, only the first is used.
Returns
a pipeBase.Struct
  • exposure: a template calexp
  • sources: source catalog measured on the template

Definition at line 159 of file getTemplate.py.

Member Data Documentation

string lsst.ip.diffim.getTemplate.GetCalexpAsTemplateTask._DefaultName = "GetCalexpAsTemplateTask"
staticprivate

Definition at line 157 of file getTemplate.py.

lsst.ip.diffim.getTemplate.GetCalexpAsTemplateTask.ConfigClass = GetCalexpAsTemplateConfig
static

Definition at line 156 of file getTemplate.py.


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