23 from __future__
import absolute_import, division
25 __all__ = [
"IndexerRegistry"]
27 from lsst.pex.config
import Config, makeRegistry, Field
28 from .htmIndexer
import HtmIndexer
30 IndexerRegistry = makeRegistry(
31 """Registry of indexing algorithms
37 doc =
"""Depth of the HTM tree to make. Default is depth=7 which gives
38 ~ 0.3 sq. deg. per trixel.""",
46 return HtmIndexer(depth=config.depth)
47 makeHtmIndexer.ConfigClass = HtmIndexerConfig
48 IndexerRegistry.register(
"HTM", makeHtmIndexer)