lsst.meas.algorithms 22.0.1-36-g43531585+e700d754da
|
Public Member Functions | |
def | __init__ (self, butler, *args, **kwargs) |
def | loadSkyCircle (self, ctrCoord, radius, filterName=None, epoch=None, centroids=False) |
def | getShards (self, shardIdList) |
Public Attributes | |
dataset_config | |
indexer | |
ref_dataset_name | |
butler | |
Static Public Attributes | |
ConfigClass = LoadIndexedReferenceObjectsConfig | |
Load reference objects from an indexed catalog ingested by IngestIndexReferenceTask. Parameters ---------- butler : `lsst.daf.persistence.Butler` Data butler for reading catalogs
Definition at line 43 of file loadIndexedReferenceObjects.py.
def lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.__init__ | ( | self, | |
butler, | |||
* | args, | ||
** | kwargs | ||
) |
Construct a LoadReferenceObjectsTask Parameters ---------- butler : `lsst.daf.persistence.Butler` Data butler, for access reference catalogs.
Reimplemented from lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask.
Definition at line 55 of file loadIndexedReferenceObjects.py.
def lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.getShards | ( | self, | |
shardIdList | |||
) |
Get shards by ID. Parameters ---------- shardIdList : `list` of `int` A list of integer shard ids. Returns ------- catalogs : `list` of `lsst.afw.table.SimpleCatalog` A list of reference catalogs, one for each entry in shardIdList.
Definition at line 125 of file loadIndexedReferenceObjects.py.
def lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.loadSkyCircle | ( | self, | |
ctrCoord, | |||
radius, | |||
filterName = None , |
|||
epoch = None , |
|||
centroids = False |
|||
) |
Load reference objects that overlap a circular sky region. Parameters ---------- ctrCoord : `lsst.geom.SpherePoint` ICRS center of search region. radius : `lsst.geom.Angle` Radius of search region. filterName : `str` or `None`, optional Name of filter, or `None` or `""` for the default filter. This is used for flux values in case we have flux limits (which are not yet implemented). epoch : `astropy.time.Time` or `None`, optional Epoch to which to correct proper motion and parallax, or `None` to not apply such corrections. centroids : `bool`, optional Add centroid fields to the loaded Schema. ``loadPixelBox`` expects these fields to exist. Returns ------- results : `lsst.pipe.base.Struct` A Struct containing the following fields: refCat : `lsst.afw.catalog.SimpleCatalog` A catalog of reference objects with the standard schema, as documented in the main doc string for `LoadReferenceObjects`. The catalog is guaranteed to be contiguous. fluxField : `str` Name of flux field for specified `filterName`. Notes ----- Note that subclasses are responsible for performing the proper motion correction, since this is the lowest-level interface for retrieving the catalog.
Reimplemented from lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask.
Definition at line 65 of file loadIndexedReferenceObjects.py.
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.butler |
Definition at line 62 of file loadIndexedReferenceObjects.py.
|
static |
Definition at line 52 of file loadIndexedReferenceObjects.py.
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.dataset_config |
Definition at line 57 of file loadIndexedReferenceObjects.py.
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.indexer |
Definition at line 58 of file loadIndexedReferenceObjects.py.
lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.ref_dataset_name |
Definition at line 61 of file loadIndexedReferenceObjects.py.