LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
Public Member Functions | |
def | getWcs (self, dataRef) |
def | fetchInPatches (self, dataRef, patchList) |
def | fetchInBox (self, dataRef, bbox, wcs, pad=0) |
def | fetchInBox (self, dataRef, bbox, wcs) |
def | getSchema (self, butler) |
def | subset (self, sources, bbox, wcs) |
Public Attributes | |
schema | |
Static Public Attributes | |
ConfigClass = MultiBandReferencesConfig | |
string | datasetSuffix = "ref" |
Loads references from the multi-band processing scheme.
Definition at line 381 of file references.py.
|
inherited |
Return reference sources within a given bounding box. Reference sources are selected if they overlap a region defined by a pixel-coordinate bounding box and corresponding WCS. Parameters ---------- dataRef : `lsst.daf.persistence.ButlerDataRef` Butler data reference. The implied data ID must contain the ``tract`` key. bbox : `lsst.afw.geom.Box2I` or `lsst.afw.geom.Box2D` Defines the selection region in pixel coordinates. wcs : `lsst.afw.image.SkyWcs` Maps ``bbox`` to sky coordinates. Returns ------- sources : iterable of `~lsst.afw.table.SourceRecord` Reference sources. May be any Python iterable, including a lazy iterator. Notes ----- The returned set of sources should be complete and close to minimal.
Definition at line 108 of file references.py.
|
inherited |
Return reference sources within a given bounding box. Reference sources are selected if they overlap a region defined by a pixel-coordinate bounding box and corresponding WCS. Parameters ---------- dataRef : `lsst.daf.persistence.ButlerDataRef` Butler data reference. The implied data ID must contain the ``tract`` key. bbox : `lsst.afw.geom.Box2I` or `lsst.afw.geom.Box2D` Defines the selection region in pixel coordinates. wcs : `lsst.afw.image.SkyWcs` Maps ``bbox`` to sky coordinates. pad : `int` a buffer to grow the bounding box by after catalogs have been loaded, but before filtering them to include just the given bounding box. Returns ------- sources : iterable of `~lsst.afw.table.SourceRecord` Reference sources. May be any Python iterable, including a lazy iterator.
Definition at line 329 of file references.py.
|
inherited |
Fetch the source catalog using the Butler. Parameters ---------- dataRef : `lsst.daf.persistence.ButlerDataRef` Butler data reference. The implied data ID must contain the ``tract`` key. patchList : `list` of `lsst.skymap.PatchInfo` Patches for which to fetch reference sources. Returns ------- sources : iterable of `~lsst.afw.table.SourceRecord` Reference sources. May be any Python iterable, including a lazy iterator. Notes ----- An implementation of `BaseReferencesTask.fetchInPatches` that loads ``Coadd_`` + `datasetSuffix` catalogs using the butler.
Reimplemented from lsst.meas.base.references.BaseReferencesTask.
Definition at line 284 of file references.py.
|
inherited |
Return the schema for the reference sources. Parameters ---------- butler : `lsst.daf.persistence.butler.Butler` Data butler from which the schema will be fetched. Notes ----- Must be available even before any data has been processed.
Definition at line 83 of file references.py.
|
inherited |
Return the WCS for reference sources. Parameters ---------- dataRef : `lsst.daf.persistence.ButlerDataRef` Butler data reference. Must includ the trac in its dataId.
Reimplemented from lsst.meas.base.references.BaseReferencesTask.
Definition at line 273 of file references.py.
|
inherited |
Filter a list of sources to only those within the bounding box. Parameters ---------- sources : iterable of `~lsst.afw.table.SourceRecord` Reference sources. May be any Python iterable, including a lazy iterator. bbox : `lsst.afw.geom.Box2I` or `lsst.afw.geom.Box2D` Defines the selection region. wcs : `lsst.afw.image.SkyWcs` Maps ``bbox`` to sky coordinates. Returns ------- sources : iterable of `~lsst.afw.table.SourceRecord` Filtered sources. May be any Python iterable, including a lazy iterator. Notes ----- Instead of filtering sources directly via their positions, we filter based on the positions of parent objects, then include or discard all children based on their parent's status. This is necessary to support replacement with noise in measurement, which requires all child sources have their parent present. This is not a part of the required `BaseReferencesTask` interface; it's a convenience function used in implementing `fetchInBox` that may be of use to subclasses.
Definition at line 162 of file references.py.
|
static |
Definition at line 385 of file references.py.
|
static |
Definition at line 386 of file references.py.
|
inherited |
Definition at line 271 of file references.py.