|
lsst.pipe.tasks gd5638573c2+392ae78cd2
|
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
Static Public Attributes | |
| ConfigClass | |
Protected Member Functions | |
| _makeTractBackgrounds (self, warps, skyMap) | |
| _defineWarps (self, visitTractBackgrounds) | |
Select 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: - ``bestRefWeightChi2`` - ``bestRefWeightVariance`` - ``bestRefWeightGlobalCoverage``
|
protected |
Define the reference visit
This method calculates an appropriate reference visit from the
supplied full tract visit backgrounds by minimizing a cost function
that penalizes high background complexity (divergence from a plane),
high variance within the warps comprising the visit, and low global
coverage.
Parameters
----------
visitTractBackrounds : `dict` [`int`, `TractBackground`]
Models of full tract backgrounds for all visits, in nanojanskies.
Accessed by visit ID.
Returns
-------
refVisId : `int`
ID of the reference visit.
|
protected |
Create full tract models of all visit backgrounds
Parameters
----------
warps : `list`[`~lsst.daf.butler.DeferredDatasetHandle`]
List of warped exposures (of type `~lsst.afw.image.ExposureF`).
This is ordered by patch ID, then by visit ID
skyMap : `lsst.skyMap.SkyMap`
SkyMap for deriving the patch/tract dimensions
Returns
-------
visitTractBackrounds : `dict` [`int`, `TractBackground`]
Models of full tract backgrounds for all visits, in nanojanskies.
Accessed by visit ID.