Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Alert Production
-
Labels:
-
Story Points:6
-
Epic Link:
-
Sprint:Alert Production F17 - 9, Alert Production F17 - 10, AP F18-2
-
Team:Alert Production
Description
The DCR template generation code currently creates an exposure of type `calexp` as the matched template, which can be used with the current image differencing code by setting
from lsst.ip.diffim.getTemplate import GetCalexpAsTemplateTask
|
and
config.getTemplate.retarget(GetCalexpAsTemplateTask)
|
However, the exposure is not a true `calexp` and lacks some of the expected supporting data, such as background and source tables. A better type might be `matchedTemplate` with the same obsid as the matched exposure. This ticket is to define that output and hook it into imageDifference.py properly.
This adds some `dataset` and `exposure` definitions to `obs_base` to support DCR matched templates, and writes the camera-specific implementations in `obs_decam` and `obs_lsstSim`