lsst.meas.algorithms ge6526c86ff+d4c1d4bfef
|
Public Member Functions | |
__init__ (self, depth=7) | |
getShardIds (self, ctrCoord, radius) | |
indexPoints (self, raList, decList) | |
Static Public Member Functions | |
makeDataId (shardId, datasetName) | |
Public Attributes | |
htm | |
Manage a spatial index of hierarchical triangular mesh (HTM) shards. Parameters ---------- depth : `int` Depth of the HTM hierarchy to construct.
Definition at line 29 of file htmIndexer.py.
lsst.meas.algorithms.htmIndexer.HtmIndexer.__init__ | ( | self, | |
depth = 7 ) |
Definition at line 38 of file htmIndexer.py.
lsst.meas.algorithms.htmIndexer.HtmIndexer.getShardIds | ( | self, | |
ctrCoord, | |||
radius ) |
Get the IDs of all shards that touch a circular aperture. Parameters ---------- ctrCoord : `lsst.geom.SpherePoint` ICRS center of search region. radius : `lsst.geom.Angle` Radius of search region. Returns ------- results : `tuple` A tuple containing: - shardIdList : `list` of `int` List of shard IDs - isOnBoundary : `list` of `bool` For each shard in ``shardIdList`` is the shard on the boundary (not fully enclosed by the search region)?
Definition at line 41 of file htmIndexer.py.
lsst.meas.algorithms.htmIndexer.HtmIndexer.indexPoints | ( | self, | |
raList, | |||
decList ) |
Generate shard IDs for sky positions. Parameters ---------- raList : `list` of `float` List of right ascensions, in degrees. decList : `list` of `float` List of declinations, in degrees. Returns ------- shardIds : `list` of `int` List of shard IDs
Definition at line 71 of file htmIndexer.py.
|
static |
Make a data id from a shard ID. Parameters ---------- shardId : `int` ID of shard in question. datasetName : `str` Name of dataset to use. Returns ------- dataId : `dict` Data ID for shard.
Definition at line 89 of file htmIndexer.py.
lsst.meas.algorithms.htmIndexer.HtmIndexer.htm |
Definition at line 39 of file htmIndexer.py.