lsst.pipe.tasks  15.0-16-g6f0eb036+6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.tasks.dcrMultiBand.DetectDcrCoaddSources Class Reference
Inheritance diagram for lsst.pipe.tasks.dcrMultiBand.DetectDcrCoaddSources:
lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask

Public Member Functions

def run (self, patchRef)
 Run detection on a coadd. More...
 
def runDetection (self, exposure, idFactory, expId)
 Run detection on an exposure. More...
 
def write (self, exposure, results, patchRef)
 Write out results from runDetection. More...
 

Public Attributes

 schema
 

Static Public Attributes

 ConfigClass = DetectCoaddSourcesConfig
 
 getSchemaCatalogs = _makeGetSchemaCatalogs("det")
 
 makeIdFactory = _makeMakeIdFactory("CoaddId")
 

Detailed Description

Detect sources on a DCR coadd.

Definition at line 90 of file dcrMultiBand.py.

Member Function Documentation

◆ run()

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

Run detection on a coadd.

Invokes runDetection and then uses write to output the results.

Parameters
[in]patchRefdata reference for patch

Definition at line 264 of file multiBand.py.

◆ runDetection()

def lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask.runDetection (   self,
  exposure,
  idFactory,
  expId 
)
inherited

Run detection on an exposure.

First scale the variance plane to match the observed variance using ScaleVarianceTask. Then invoke the detection subtask to detect sources.

Parameters
[in,out]exposureExposure on which to detect (may be backround-subtracted and scaled, depending on configuration).
[in]idFactoryIdFactory to set source identifiers
[in]expIdExposure identifier (integer) for RNG seed
Returns
a pipe.base.Struct with fields
  • sources: catalog of detections
  • backgrounds: list of backgrounds

Definition at line 279 of file multiBand.py.

◆ write()

def lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask.write (   self,
  exposure,
  results,
  patchRef 
)
inherited

Write out results from runDetection.

Parameters
[in]exposureExposure to write out
[in]resultsStruct returned from runDetection
[in]patchRefdata reference for patch

Definition at line 311 of file multiBand.py.

Member Data Documentation

◆ ConfigClass

lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask.ConfigClass = DetectCoaddSourcesConfig
staticinherited

Definition at line 233 of file multiBand.py.

◆ getSchemaCatalogs

lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask.getSchemaCatalogs = _makeGetSchemaCatalogs("det")
staticinherited

Definition at line 234 of file multiBand.py.

◆ makeIdFactory

lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask.makeIdFactory = _makeMakeIdFactory("CoaddId")
staticinherited

Definition at line 235 of file multiBand.py.

◆ schema

lsst.pipe.tasks.multiBand.DetectCoaddSourcesTask.schema
inherited

Definition at line 259 of file multiBand.py.


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