ChooseReferenceVisitTask#
- class lsst.pipe.tasks.matchBackgrounds.ChooseReferenceVisitTask(*args, **kwargs)#
Bases:
TaskSelect a reference visit from a list of visits by minimizing a cost function
Notes#
The reference exposure is chosen from the list of science exposures by minimizing a cost function that penalizes high background complexity (divergence from a plane), high variance, and low global coverage. The cost function is a weighted sum of these three metrics. The weights are set by the config parameters:
bestRefWeightChi2bestRefWeightVariancebestRefWeightGlobalCoverage