Task runner for `MergeDetectionTask` `MergeMeasurementTask`
Required because the run method requires a list of
dataRefs rather than a single dataRef.
Definition at line 30 of file multiBandUtils.py.
◆ buildRefDict()
def lsst.pipe.tasks.multiBandUtils.MergeSourcesRunner.buildRefDict |
( |
|
parsedCmd | ) |
|
|
static |
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 61 of file multiBandUtils.py.
◆ getTargetList()
def lsst.pipe.tasks.multiBandUtils.MergeSourcesRunner.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 95 of file multiBandUtils.py.
◆ makeTask()
def lsst.pipe.tasks.multiBandUtils.MergeSourcesRunner.makeTask |
( |
|
self, |
|
|
|
parsedCmd = None , |
|
|
|
args = None |
|
) |
| |
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 36 of file multiBandUtils.py.
The documentation for this class was generated from the following file: