lsst.pipe.tasks g8b9e2231ea+fa07cb600e
Loading...
Searching...
No Matches
Classes | Functions
lsst.pipe.tasks.multiBandUtils Namespace Reference

Classes

class  CullPeaksConfig
  More...
 
class  MergeSourcesRunner
 

Functions

def _makeGetSchemaCatalogs (datasetSuffix)
 
def makeMergeArgumentParser (name, dataset)
 Create a suitable ArgumentParser.
 
def getInputSchema (task, butler=None, schema=None)
 Obtain the input schema either directly or froma butler reference.
 
def readCatalog (task, patchRef)
 Read input catalog.
 
def _makeMakeIdFactory (datasetName, includeBand=True)
 

Function Documentation

◆ _makeGetSchemaCatalogs()

def lsst.pipe.tasks.multiBandUtils._makeGetSchemaCatalogs (   datasetSuffix)
protected
Construct a getSchemaCatalogs instance method

These are identical for most of the classes here, so we'll consolidate
the code.

datasetSuffix:  Suffix of dataset name, e.g., "src" for "deepCoadd_src"

Definition at line 114 of file multiBandUtils.py.

◆ _makeMakeIdFactory()

def lsst.pipe.tasks.multiBandUtils._makeMakeIdFactory (   datasetName,
  includeBand = True 
)
protected
Construct a makeIdFactory instance method

These are identical for all the classes here, so this consolidates
the code.

datasetName:  Dataset name without the coadd name prefix, e.g., "CoaddId" for "deepCoaddId"

Definition at line 214 of file multiBandUtils.py.

◆ getInputSchema()

def lsst.pipe.tasks.multiBandUtils.getInputSchema (   task,
  butler = None,
  schema = None 
)

Obtain the input schema either directly or froma butler reference.

Parameters
[in]taskthe task whose input schema is desired
[in]butlerbutler reference to obtain the input schema from
[in]schemathe input schema

Definition at line 147 of file multiBandUtils.py.

◆ makeMergeArgumentParser()

def lsst.pipe.tasks.multiBandUtils.makeMergeArgumentParser (   name,
  dataset 
)

Create a suitable ArgumentParser.

We will use the ArgumentParser to get a provide a list of data references for patches; the RunnerClass will sort them into lists of data references for the same patch

Definition at line 132 of file multiBandUtils.py.

◆ readCatalog()

def lsst.pipe.tasks.multiBandUtils.readCatalog (   task,
  patchRef 
)

Read input catalog.

We read the input dataset provided by the 'inputDataset' class variable.

Parameters
[in]taskthe task whose input catalog is desired
[in]patchRefdata reference for patch
Returns
tuple consisting of the band name and the catalog

Definition at line 162 of file multiBandUtils.py.