Task runner for the MergeSourcesTask.
Required because the run method requires a list of dataRefs
rather than a single dataRef.
Definition at line 38 of file dcrMultiBand.py.
◆ buildRefDict()
def lsst.pipe.tasks.multiBand.MergeSourcesRunner.buildRefDict |
( |
|
parsedCmd | ) |
|
|
staticinherited |
Build a hierarchical dictionary of patch references
Parameters
----------
parsedCmd:
The parsed command
Returns
-------
refDict: dict
A reference dictionary of the form {patch: {tract: {filter: dataRef}}}
Raises
------
RuntimeError
Thrown when multiple references are provided for the same
combination of tract, patch and filter
Definition at line 358 of file multiBand.py.
◆ getTargetList()
def lsst.pipe.tasks.dcrMultiBand.MergeDcrSourcesRunner.getTargetList |
( |
|
parsedCmd, |
|
|
|
kwargs |
|
) |
| |
|
static |
Provide a list of patch and filter references for each tract.
The filter references within the list will have different subfilters.
Parameters
----------
parsedCmd : `dict`
The parsed command
**kwargs
Key word arguments (unused)
Returns
-------
list of `patchRef`
List of all matching data references for a given patch.
Raises
------
RuntimeError
if multiple references are provided for the same combination of
tract, patch, filter, and subfilter
Definition at line 46 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: