lsst.pipe.tasks  16.0-13-g1e751bcc+4
Public Member Functions | 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.multiBand.MergeSourcesRunner lsst.pipe.tasks.dcrMultiBand.DeblendDcrCoaddSourcesRunner

Public Member Functions

def makeTask (self, parsedCmd=None, args=None)
 

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.

Definition at line 88 of file dcrMultiBand.py.

◆ makeTask()

def lsst.pipe.tasks.multiBand.MergeSourcesRunner.makeTask (   self,
  parsedCmd = None,
  args = None 
)
inherited
Provide a butler to the Task constructor.

Parameters
----------
parsedCmd:
    The parsed command
args: tuple
    Tuple of a list of data references and kwargs (un-used)

Raises
------
RuntimeError
    Thrown if both `parsedCmd` & `args` are `None`

Definition at line 333 of file multiBand.py.


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