lsst.pipe.tasks  16.0-13-g1e751bcc+5
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.tasks.dcrMultiBand.MergeDcrMeasurementsTask Class Reference
Inheritance diagram for lsst.pipe.tasks.dcrMultiBand.MergeDcrMeasurementsTask:
lsst.pipe.tasks.multiBand.MergeMeasurementsTask lsst.pipe.tasks.multiBand.MergeSourcesTask

Public Member Functions

def run (self, catalogs, patchRef)
 Merge measurement catalogs to create a single reference catalog for forced photometry. More...
 
def getInputSchema (self, butler=None, schema=None)
 Obtain the input schema either directly or froma butler reference. More...
 
def runDataRef (self, patchRefList)
 Merge coadd sources from multiple bands. More...
 
def readCatalog (self, patchRef)
 Read input catalog. More...
 
def write (self, patchRef, catalog)
 Write the output. More...
 
def writeMetadata (self, dataRefList)
 No metadata to write, and not sure how to write it for a list of dataRefs. More...
 

Public Attributes

 schemaMapper
 
 fluxKey
 
 fluxErrKey
 
 fluxFlagKey
 
 flagKeys
 
 schema
 
 pseudoFilterKeys
 
 badFlags
 

Static Public Attributes

 RunnerClass = MergeDcrSourcesRunner
 
 ConfigClass = MergeMeasurementsConfig
 
string inputDataset = "meas"
 
string outputDataset = "ref"
 
 getSchemaCatalogs = _makeGetSchemaCatalogs("ref")
 

Detailed Description

Merge measurements from multiple subfilters.

Definition at line 205 of file dcrMultiBand.py.

Member Function Documentation

◆ getInputSchema()

def lsst.pipe.tasks.multiBand.MergeSourcesTask.getInputSchema (   self,
  butler = None,
  schema = None 
)
inherited

Obtain the input schema either directly or froma butler reference.

Parameters
[in]butlerbutler reference to obtain the input schema from
[in]schemathe input schema

Definition at line 470 of file multiBand.py.

◆ readCatalog()

def lsst.pipe.tasks.multiBand.MergeSourcesTask.readCatalog (   self,
  patchRef 
)
inherited

Read input catalog.

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

Parameters
[in]patchRefdata reference for patch
Returns
tuple consisting of the filter name and the catalog

Definition at line 507 of file multiBand.py.

◆ run()

def lsst.pipe.tasks.multiBand.MergeMeasurementsTask.run (   self,
  catalogs,
  patchRef 
)
inherited

Merge measurement catalogs to create a single reference catalog for forced photometry.

Parameters
[in]catalogsthe catalogs to be merged
[in]patchRefpatch reference for data

For parent sources, we choose the first band in config.priorityList for which the merge_footprint flag for that band is is True.

For child sources, the logic is the same, except that we use the merge_peak flags.

Definition at line 1576 of file multiBand.py.

◆ runDataRef()

def lsst.pipe.tasks.multiBand.MergeSourcesTask.runDataRef (   self,
  patchRefList 
)
inherited

Merge coadd sources from multiple bands.

Calls run which must be defined in subclasses that inherit from MergeSourcesTask.

Parameters
[in]patchRefListlist of data references for each filter

Definition at line 496 of file multiBand.py.

◆ write()

def lsst.pipe.tasks.multiBand.MergeSourcesTask.write (   self,
  patchRef,
  catalog 
)
inherited

Write the output.

Parameters
[in]patchRefdata reference for patch
[in]catalogcatalog

We write as the dataset provided by the 'outputDataset' class variable.

Definition at line 533 of file multiBand.py.

◆ writeMetadata()

def lsst.pipe.tasks.multiBand.MergeSourcesTask.writeMetadata (   self,
  dataRefList 
)
inherited

No metadata to write, and not sure how to write it for a list of dataRefs.

Definition at line 550 of file multiBand.py.

Member Data Documentation

◆ badFlags

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.badFlags
inherited

Definition at line 1569 of file multiBand.py.

◆ ConfigClass

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.ConfigClass = MergeMeasurementsConfig
staticinherited

Definition at line 1526 of file multiBand.py.

◆ flagKeys

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.flagKeys
inherited

Definition at line 1549 of file multiBand.py.

◆ fluxErrKey

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.fluxErrKey
inherited

Definition at line 1546 of file multiBand.py.

◆ fluxFlagKey

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.fluxFlagKey
inherited

Definition at line 1547 of file multiBand.py.

◆ fluxKey

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.fluxKey
inherited

Definition at line 1545 of file multiBand.py.

◆ getSchemaCatalogs

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.getSchemaCatalogs = _makeGetSchemaCatalogs("ref")
staticinherited

Definition at line 1529 of file multiBand.py.

◆ inputDataset

string lsst.pipe.tasks.multiBand.MergeMeasurementsTask.inputDataset = "meas"
staticinherited

Definition at line 1527 of file multiBand.py.

◆ outputDataset

string lsst.pipe.tasks.multiBand.MergeMeasurementsTask.outputDataset = "ref"
staticinherited

Definition at line 1528 of file multiBand.py.

◆ pseudoFilterKeys

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.pseudoFilterKeys
inherited

Definition at line 1562 of file multiBand.py.

◆ RunnerClass

lsst.pipe.tasks.dcrMultiBand.MergeDcrMeasurementsTask.RunnerClass = MergeDcrSourcesRunner
static

Definition at line 208 of file dcrMultiBand.py.

◆ schema

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.schema
inherited

Definition at line 1560 of file multiBand.py.

◆ schemaMapper

lsst.pipe.tasks.multiBand.MergeMeasurementsTask.schemaMapper
inherited

Definition at line 1543 of file multiBand.py.


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