|
lsst.meas.algorithms
17.0.1-10-g6c37d570
|
Public Member Functions | |
| def | __init__ (self, depth=8) |
| def | getShardIds (self, ctrCoord, radius) |
| def | indexPoints (self, raList, decList) |
Static Public Member Functions | |
| def | 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 26 of file htmIndexer.py.
| def lsst.meas.algorithms.htmIndexer.HtmIndexer.__init__ | ( | self, | |
depth = 8 |
|||
| ) |
Definition at line 35 of file htmIndexer.py.
| def 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 38 of file htmIndexer.py.
| def 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 68 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 86 of file htmIndexer.py.
| lsst.meas.algorithms.htmIndexer.HtmIndexer.htm |
Definition at line 36 of file htmIndexer.py.
1.8.13