lsst.meas.base
13.0-26-g0f127ff+5
|
A references task implementation that loads the coadd_datasetSuffix dataset directly from disk using the butler. More...
Public Member Functions | |
def | __init__ (self, butler=None, schema=None, kwargs) |
Initialize the task. More... | |
def | getWcs (self, dataRef) |
def | fetchInPatches (self, dataRef, patchList) |
An implementation of BaseReferencesTask.fetchInPatches that loads 'coadd_' + datasetSuffix catalogs using the butler. More... | |
def | fetchInBox (self, dataRef, bbox, wcs, pad=0) |
Return reference sources that overlap a region defined by a pixel-coordinate bounding box and corresponding Wcs. More... | |
![]() | |
def | __init__ (self, butler=None, schema=None, kwargs) |
Initialize the task. More... | |
def | getSchema (self, butler) |
Return the schema for the reference sources. More... | |
def | getWcs (self, dataRef) |
Return the WCS for reference sources. More... | |
def | fetchInBox (self, dataRef, bbox, wcs) |
Return reference sources that overlap a region defined by a pixel-coordinate bounding box and corresponding Wcs. More... | |
def | fetchInPatches (self, dataRef, patchList) |
Return reference sources that overlap a region defined by one or more SkyMap patches. More... | |
def | subset (self, sources, bbox, wcs) |
Filter sources to contain only those within the given box, defined in the coordinate system defined by the given Wcs. More... | |
Public Attributes | |
schema | |
Static Public Attributes | |
ConfigClass = CoaddSrcReferencesConfig | |
string | datasetSuffix = "src" |
![]() | |
ConfigClass = BaseReferencesConfig | |
A references task implementation that loads the coadd_datasetSuffix dataset directly from disk using the butler.
Definition at line 179 of file references.py.
def lsst.meas.base.references.CoaddSrcReferencesTask.__init__ | ( | self, | |
butler = None , |
|||
schema = None , |
|||
kwargs | |||
) |
Initialize the task.
Additional keyword arguments (forwarded to BaseReferencesTask.__init__):
Definition at line 188 of file references.py.
def lsst.meas.base.references.CoaddSrcReferencesTask.fetchInBox | ( | self, | |
dataRef, | |||
bbox, | |||
wcs, | |||
pad = 0 |
|||
) |
Return reference sources that overlap a region defined by a pixel-coordinate bounding box and corresponding Wcs.
[in] | dataRef | ButlerDataRef; the implied data ID must contain the 'tract' key. |
[in] | bbox | a afw.geom.Box2I or Box2D that defines the region in pixel coordinates |
[in] | wcs | afw.image.Wcs that maps the bbox to sky coordinates |
[in] | pad | a buffer to grow the bounding box by after catalogs have been loaded, but before filtering them to include just the given bounding box. |
Definition at line 238 of file references.py.
def lsst.meas.base.references.CoaddSrcReferencesTask.fetchInPatches | ( | self, | |
dataRef, | |||
patchList | |||
) |
An implementation of BaseReferencesTask.fetchInPatches that loads 'coadd_' + datasetSuffix catalogs using the butler.
The given dataRef must include the tract in its dataId.
Definition at line 208 of file references.py.
def lsst.meas.base.references.CoaddSrcReferencesTask.getWcs | ( | self, | |
dataRef | |||
) |
Return the WCS for reference sources. The given dataRef must include the tract in its dataId.
Definition at line 202 of file references.py.
|
static |
Definition at line 185 of file references.py.
|
static |
Definition at line 186 of file references.py.
lsst.meas.base.references.CoaddSrcReferencesTask.schema |
Definition at line 200 of file references.py.