lsst.pipe.tasks  21.0.0-153-gd15f111f+620bfe6b9b
Static Public Member Functions | List of all members
lsst.pipe.tasks.dcrMultiBand.MergeDcrSourcesRunner Class Reference
Inheritance diagram for lsst.pipe.tasks.dcrMultiBand.MergeDcrSourcesRunner:
lsst.pipe.tasks.dcrMultiBand.DeblendDcrCoaddSourcesRunner

Static Public Member Functions

def buildRefDict (parsedCmd)
 
def getTargetList (parsedCmd, **kwargs)
 

Detailed Description

Task runner for the MergeSourcesTask.

Required because the run method requires a list of dataRefs
rather than a single dataRef.

Definition at line 39 of file dcrMultiBand.py.

Member Function Documentation

◆ buildRefDict()

def lsst.pipe.tasks.dcrMultiBand.MergeDcrSourcesRunner.buildRefDict (   parsedCmd)
static
Build a hierarchical dictionary of patch references

The filter references within the list will have different subfilters.

Parameters
----------
parsedCmd : `dict`
    The parsed command
**kwargs
    Key word arguments (unused)

Returns
-------
refDict: dict
    A reference dictionary of the form {patch: {tract: {filter: {subfilter: dataRef}}}}

Raises
------
RuntimeError
    Thrown when multiple references are provided for the same combination of
    tract, patch, filter, and subfilter

Definition at line 47 of file dcrMultiBand.py.

◆ getTargetList()

def lsst.pipe.tasks.dcrMultiBand.MergeDcrSourcesRunner.getTargetList (   parsedCmd,
**  kwargs 
)
static
Provide a list of patch references for each patch, tract, filter combo.

Parameters
----------
parsedCmd:
    The parsed command
kwargs:
    Keyword arguments passed to the task

Returns
-------
targetList: list
    List of tuples, where each tuple is a (dataRef, kwargs) pair.

Reimplemented in lsst.pipe.tasks.dcrMultiBand.DeblendDcrCoaddSourcesRunner.

Definition at line 88 of file dcrMultiBand.py.


The documentation for this class was generated from the following file: