lsst.meas.base g0129b61b94+e54cf9b59d
Classes | Functions | Variables
lsst.meas.base.forcedPhotCoadd Namespace Reference

Classes

class  documentation
 
class  ForcedPhotCoaddConnections
 
class  ForcedPhotCoaddRunner
 

Functions

def fetchReferences (self, dataRef, exposure)
 
def attachFootprints (self, sources, refCat, exposure, refWcs, dataRef)
 
def getExposure (self, dataRef)
 
def writeOutput (self, dataRef, sources)
 
def getSchemaCatalogs (self)
 

Variables

 removePatchOverlaps
 
 exposureIdInfo = ExposureIdInfo(exposureId, dataRef.get(self.config.coaddName + "CoaddId_bits"))
 

Function Documentation

◆ attachFootprints()

def lsst.meas.base.forcedPhotCoadd.attachFootprints (   self,
  sources,
  refCat,
  exposure,
  refWcs,
  dataRef 
)
Attach Footprints to source records.

For coadd forced photometry, we use the deblended "heavy"
`~lsst.afw.detection.Footprint`\ s from the single-band measurements
of the same band - because we've guaranteed that the peaks (and hence
child sources) will be consistent across all bands before we get to
measurement, this should yield reasonable deblending for most sources.
It's most likely limitation is that it will not provide good flux
upper limits for sources that were not detected in this band but were
blended with sources that were.

Definition at line 385 of file forcedPhotCoadd.py.

◆ fetchReferences()

def lsst.meas.base.forcedPhotCoadd.fetchReferences (   self,
  dataRef,
  exposure 
)
Return an iterable of reference sources which overlap the exposure.

Parameters
----------
dataRef : `lsst.daf.persistence.ButlerDataRef`
    Butler data reference corresponding to the image to be measured;
    should have tract, patch, and filter keys.

exposure : `lsst.afw.image.Exposure`
    Unused.

Notes
-----
All work is delegated to the references subtask; see
`CoaddSrcReferencesTask` for information about the default behavior.

Definition at line 360 of file forcedPhotCoadd.py.

◆ getExposure()

def lsst.meas.base.forcedPhotCoadd.getExposure (   self,
  dataRef 
)
Read input exposure on which measurement will be performed.

Parameters
----------
dataRef : `lsst.daf.persistence.ButlerDataRef`
    Butler data reference.

Definition at line 413 of file forcedPhotCoadd.py.

◆ getSchemaCatalogs()

def lsst.meas.base.forcedPhotCoadd.getSchemaCatalogs (   self)
The schema catalogs that will be used by this task.

Returns
-------
schemaCatalogs : `dict`
    Dictionary mapping dataset type to schema catalog.

Notes
-----
There is only one schema for each type of forced measurement. The
dataset type for this measurement is defined in the mapper.

Definition at line 441 of file forcedPhotCoadd.py.

◆ writeOutput()

def lsst.meas.base.forcedPhotCoadd.writeOutput (   self,
  dataRef,
  sources 
)
Write forced source table

Parameters
----------
dataRef : `lsst.daf.persistence.ButlerDataRef`
    Butler data reference. The forced_src dataset (with
    self.dataPrefix prepended) is all that will be modified.
sources : `lsst.afw.table.SourceCatalog`
    Catalog of sources to save.

Definition at line 428 of file forcedPhotCoadd.py.

Variable Documentation

◆ exposureIdInfo

lsst.meas.base.forcedPhotCoadd.exposureIdInfo = ExposureIdInfo(exposureId, dataRef.get(self.config.coaddName + "CoaddId_bits"))

Definition at line 357 of file forcedPhotCoadd.py.

◆ removePatchOverlaps

lsst.meas.base.forcedPhotCoadd.removePatchOverlaps

Definition at line 153 of file forcedPhotCoadd.py.