lsst.pipe.tasks  16.0-70-g8e97068c+4
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.tasks.dcrMultiBand.MeasureMergedDcrCoaddSourcesTask Class Reference
Inheritance diagram for lsst.pipe.tasks.dcrMultiBand.MeasureMergedDcrCoaddSourcesTask:
lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask

Public Member Functions

def getInputDatasetTypes (cls, config)
 
def getOutputDatasetTypes (cls, config)
 
def getInitOutputDatasets (self)
 
def adaptArgsAndRun (self, inputData, inputDataIds, outputDataIds, butler)
 
def runDataRef (self, patchRef, psfCache=100)
 Deblend and measure. More...
 
def run (self, exposure, sources, skyInfo, exposureId, ccdInputs=None, visitCatalogs=None, wcsUpdates=None, butler=None)
 
def readSources (self, dataRef)
 Read input sources. More...
 
def writeMatches (self, dataRef, results)
 Write matches of the sources to the astrometric reference catalog. More...
 
def write (self, dataRef, sources)
 Write the source catalog. More...
 
def getExposureId (self, dataRef)
 

Public Attributes

 deblended
 
 inputCatalog
 
 schemaMapper
 
 schema
 
 algMetadata
 

Static Public Attributes

 ConfigClass = MeasureMergedCoaddSourcesConfig
 
 RunnerClass = MeasureMergedCoaddSourcesRunner
 
 getSchemaCatalogs = _makeGetSchemaCatalogs("meas")
 
 makeIdFactory = _makeMakeIdFactory("MergedCoaddId")
 

Detailed Description

Deblend sources from master catalog in each coadd seperately and measure.

Definition at line 191 of file dcrMultiBand.py.

Member Function Documentation

◆ adaptArgsAndRun()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.adaptArgsAndRun (   self,
  inputData,
  inputDataIds,
  outputDataIds,
  butler 
)
inherited

Definition at line 906 of file multiBand.py.

◆ getExposureId()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.getExposureId (   self,
  dataRef 
)
inherited

Definition at line 1116 of file multiBand.py.

◆ getInitOutputDatasets()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.getInitOutputDatasets (   self)
inherited

Definition at line 903 of file multiBand.py.

◆ getInputDatasetTypes()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.getInputDatasetTypes (   cls,
  config 
)
inherited

Definition at line 888 of file multiBand.py.

◆ getOutputDatasetTypes()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.getOutputDatasetTypes (   cls,
  config 
)
inherited

Definition at line 895 of file multiBand.py.

◆ readSources()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.readSources (   self,
  dataRef 
)
inherited

Read input sources.

Parameters
[in]dataRefData reference for catalog of merged detections
Returns
List of sources in merged catalog

We also need to add columns to hold the measurements we're about to make so we can measure in-place.

Definition at line 1074 of file multiBand.py.

◆ run()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.run (   self,
  exposure,
  sources,
  skyInfo,
  exposureId,
  ccdInputs = None,
  visitCatalogs = None,
  wcsUpdates = None,
  butler = None 
)
inherited
Run measurement algorithms on the input exposure, and optionally populate the
resulting catalog with extra information.

Parameters
----------
exposure : `lsst.afw.exposure.Exposure`
    The input exposure on which measurements are to be performed
sources :  `lsst.afw.table.SourceCatalog`
    A catalog built from the results of merged detections, or
    deblender outputs.
skyInfo : `lsst.pipe.base.Struct`
    A struct containing information about the position of the input exposure within
    a `SkyMap`, the `SkyMap`, its `Wcs`, and its bounding box
exposureId : `int` or `bytes`
    packed unique number or bytes unique to the input exposure
ccdInputs : `lsst.afw.table.ExposureCatalog`
    Catalog containing information on the individual visits which went into making
    the exposure
visitCatalogs : list of `lsst.afw.table.SourceCatalogs` or `None`
    A list of source catalogs corresponding to measurements made on the individual
    visits which went into the input exposure. If None and butler is `None` then
    the task cannot propagate visit flags to the output catalog.
wcsUpdates : list of `lsst.afw.geom.SkyWcs` or `None`
    If visitCatalogs is not `None` this should be a list of wcs objects which correspond
    to the input visits. Used to put all coordinates to common system. If `None` and
    butler is `None` then the task cannot propagate visit flags to the output catalog.
butler : `lsst.daf.butler.Butler` or `lsst.daf.persistence.Butler`
    Either a gen2 or gen3 butler used to load visit catalogs

Returns
-------
results : `lsst.pipe.base.Struct`
    Results of running measurement task. Will contain the catalog in the
    sources attribute. Optionally will have results of matching to a
    reference catalog in the matchResults attribute, and denormalized
    matches in the denormMatches attribute.

Definition at line 999 of file multiBand.py.

◆ runDataRef()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.runDataRef (   self,
  patchRef,
  psfCache = 100 
)
inherited

Deblend and measure.

Parameters
[in]patchRefPatch reference.

Set 'is-primary' and related flags. Propagate flags from individual visits. Optionally match the sources to a reference catalog and write the matches. Finally, write the deblended sources and measurements out.

Definition at line 967 of file multiBand.py.

◆ write()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.write (   self,
  dataRef,
  sources 
)
inherited

Write the source catalog.

Parameters
[in]dataRefdata reference
[in]sourcessource catalog

Definition at line 1106 of file multiBand.py.

◆ writeMatches()

def lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.writeMatches (   self,
  dataRef,
  results 
)
inherited

Write matches of the sources to the astrometric reference catalog.

Parameters
[in]dataRefdata reference
[in]resultsresults struct from run method

Definition at line 1094 of file multiBand.py.

Member Data Documentation

◆ algMetadata

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.algMetadata
inherited

Definition at line 874 of file multiBand.py.

◆ ConfigClass

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.ConfigClass = MeasureMergedCoaddSourcesConfig
staticinherited

Definition at line 831 of file multiBand.py.

◆ deblended

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.deblended
inherited

Definition at line 864 of file multiBand.py.

◆ getSchemaCatalogs

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.getSchemaCatalogs = _makeGetSchemaCatalogs("meas")
staticinherited

Definition at line 833 of file multiBand.py.

◆ inputCatalog

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.inputCatalog
inherited

Definition at line 865 of file multiBand.py.

◆ makeIdFactory

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.makeIdFactory = _makeMakeIdFactory("MergedCoaddId")
staticinherited

Definition at line 834 of file multiBand.py.

◆ RunnerClass

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.RunnerClass = MeasureMergedCoaddSourcesRunner
staticinherited

Definition at line 832 of file multiBand.py.

◆ schema

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.schema
inherited

Definition at line 873 of file multiBand.py.

◆ schemaMapper

lsst.pipe.tasks.multiBand.MeasureMergedCoaddSourcesTask.schemaMapper
inherited

Definition at line 871 of file multiBand.py.


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