Coverage for tests/data/version1/ref_cats/cal_ref_cat/config.py: 100%

Shortcuts on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

7 statements  

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# Version number of the persisted on-disk storage format. 

5# Version 0 had Jy as flux units (default 0 for unversioned catalogs). 

6# Version 1 had nJy as flux units. 

7config.format_version=1 

8 

9# String to pass to the butler to retrieve persisted files. 

10config.ref_dataset_name='cal_ref_cat' 

11 

12# Depth of the HTM tree to make. Default is depth=7 which gives ~ 0.3 sq. deg. per trixel. 

13config.indexer['HTM'].depth=4 

14 

15config.indexer.name='HTM'