lsst.meas.algorithms
22.0.1-16-g996ca242+58f6652caa
|
Public Member Functions | |
def | __init__ (self, *args, butler=None, **kwargs) |
def | createIndexedCatalog (self, inputFiles) |
def | makeSchema (self, dtype) |
Public Attributes | |
butler | |
indexer | |
IngestManager | |
Static Public Attributes | |
bool | canMultiprocess = False |
ConfigClass = IngestIndexedReferenceConfig | |
RunnerClass = IngestReferenceRunner | |
Class for producing and loading indexed reference catalogs. This implements an indexing scheme based on hierarchical triangular mesh (HTM). The term index really means breaking the catalog into localized chunks called shards. In this case each shard contains the entries from the catalog in a single HTM trixel For producing catalogs this task makes the following assumptions about the input catalogs: - RA, Dec are in decimal degrees. - Epoch is available in a column, in a format supported by astropy.time.Time. - There are no off-diagonal covariance terms, such as covariance between RA and Dec, or between PM RA and PM Dec. Support for such covariance would have to be added to to the config, including consideration of the units in the input catalog. Parameters ---------- butler : `lsst.daf.persistence.Butler` Data butler for reading and writing catalogs
Definition at line 287 of file ingestIndexReferenceTask.py.
def lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceTask.__init__ | ( | self, | |
* | args, | ||
butler = None , |
|||
** | kwargs | ||
) |
Definition at line 324 of file ingestIndexReferenceTask.py.
def lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceTask.createIndexedCatalog | ( | self, | |
inputFiles | |||
) |
Index a set of files comprising a reference catalog. Outputs are persisted in the butler repository. Parameters ---------- inputFiles : `list` A list of file paths to read.
Definition at line 332 of file ingestIndexReferenceTask.py.
def lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceTask.makeSchema | ( | self, | |
dtype | |||
) |
Make the schema to use in constructing the persisted catalogs. Parameters ---------- dtype : `numpy.dtype` Data type describing each entry in ``config.extra_col_names`` for the catalogs being ingested. Returns ------- schemaAndKeyMap : `tuple` of (`lsst.afw.table.Schema`, `dict`) A tuple containing two items: - The schema for the output source catalog. - A map of catalog keys to use in filling the record
Definition at line 392 of file ingestIndexReferenceTask.py.
lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceTask.butler |
Definition at line 325 of file ingestIndexReferenceTask.py.
|
static |
Definition at line 309 of file ingestIndexReferenceTask.py.
|
static |
Definition at line 310 of file ingestIndexReferenceTask.py.
lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceTask.indexer |
Definition at line 327 of file ingestIndexReferenceTask.py.
lsst.meas.algorithms.ingestIndexReferenceTask.IngestIndexedReferenceTask.IngestManager |
Definition at line 330 of file ingestIndexReferenceTask.py.
|
static |
Definition at line 311 of file ingestIndexReferenceTask.py.