# Define DCR matched template data type

XMLWordPrintable

## Details

• Type: Story
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
• Story Points:
6
• Sprint:
Alert Production F17 - 9, Alert Production F17 - 10, AP F18-2
• Team:

## 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.

## Activity

Hide
Ian Sullivan added a comment -

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

Show
Ian Sullivan added a comment - 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
Hide
John Parejko added a comment -

I had one comment on one of the PRs.

It would be nice if we could have a default template for each of these, but I don't think our dataId names are unified enough yet to do that (maybe ButlerGen3 will make it so).

Show
John Parejko added a comment - I had one comment on one of the PRs. It would be nice if we could have a default template for each of these, but I don't think our dataId names are unified enough yet to do that (maybe ButlerGen3 will make it so).

## People

• Assignee:
Ian Sullivan
Reporter:
Ian Sullivan
Reviewers:
John Parejko
Watchers:
Ian Sullivan, John Parejko