Coverage for tests/data/version0/ref_cats/cal_ref_cat/config.py: 100%
6 statements
« prev ^ index » next coverage.py v6.5.0, created at 2022-12-01 20:40 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2022-12-01 20:40 +0000
1import lsst.meas.algorithms.ingestIndexReferenceTask
2assert type(config)==lsst.meas.algorithms.ingestIndexReferenceTask.DatasetConfig, 'config is of type %s.%s instead of lsst.meas.algorithms.ingestIndexReferenceTask.DatasetConfig' % (type(config).__module__, type(config).__name__)
3import lsst.meas.algorithms.indexerRegistry
4# String to pass to the butler to retrieve persisted files.
5config.ref_dataset_name='cal_ref_cat'
7# Depth of the HTM tree to make. Default is depth=7 which gives ~ 0.3 sq. deg. per trixel.
8config.indexer['HTM'].depth=4
10config.indexer.name='HTM'