lsst.ip.diffim
15.0-2-g5218728+2
|
Public Member Functions | |
def | run (self, exposure, sensorRef, templateIdList) |
Return a calexp exposure with based on input sensorRef. More... | |
Static Public Attributes | |
ConfigClass = GetCalexpAsTemplateConfig | |
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 165 of file getTemplate.py.
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
[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. |
Definition at line 177 of file getTemplate.py.
|
static |
Definition at line 174 of file getTemplate.py.