lsst.meas.algorithms  22.0.1-29-g401bd7c4+d66ecc41bd
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.algorithms.convertRefcatManager.ConvertGaiaManager Class Reference
Inheritance diagram for lsst.meas.algorithms.convertRefcatManager.ConvertGaiaManager:
lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager

Public Member Functions

def run (self, inputFiles)
 
def getCatalog (self, pixelId, schema, nNewElements)
 

Static Public Member Functions

def computeCoord (row, ra_name, dec_name)
 

Public Attributes

 filenames
 
 config
 
 file_reader
 
 indexer
 
 schema
 
 key_map
 
 htmRange
 
 addRefCatMetadata
 
 log
 
 coord_err_unit
 
 nInputFiles
 

Static Public Attributes

 ConfigClass = ConvertRefcatManagerConfig
 

Detailed Description

Special-case convert manager to deal with Gaia fluxes.

Definition at line 427 of file convertRefcatManager.py.

Member Function Documentation

◆ computeCoord()

def lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.computeCoord (   row,
  ra_name,
  dec_name 
)
staticinherited
Create an ICRS coord. from a row of a catalog being converted.

Parameters
----------
row : `numpy.ndarray`
    Row from catalog being converted.
ra_name : `str`
    Name of RA key in catalog being converted.
dec_name : `str`
    Name of Dec key in catalog being converted.

Returns
-------
coord : `lsst.geom.SpherePoint`
    ICRS coordinate.

Definition at line 257 of file convertRefcatManager.py.

◆ getCatalog()

def lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.getCatalog (   self,
  pixelId,
  schema,
  nNewElements 
)
inherited
Get a catalog from disk or create it if it doesn't exist.

Parameters
----------
pixelId : `dict`
    Identifier for catalog to retrieve
schema : `lsst.afw.table.Schema`
    Schema to use in catalog creation it does not exist.
nNewElements : `int`
    The number of new elements that will be added to the catalog,
    so space can be preallocated.

Returns
-------
catalog : `lsst.afw.table.SimpleCatalog`
    The new or read-and-resized catalog specified by `dataId`.

Definition at line 228 of file convertRefcatManager.py.

◆ run()

def lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.run (   self,
  inputFiles 
)
inherited
Index a set of input files from a reference catalog, and write the
output to the appropriate filenames, in parallel.

Parameters
----------
inputFiles : `list`
    A list of file paths to read data from.

Returns
-------
output : `dict` [`int`, `str`]
    The htm ids and the filenames that were written to.

Definition at line 98 of file convertRefcatManager.py.

Member Data Documentation

◆ addRefCatMetadata

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.addRefCatMetadata
inherited

Definition at line 92 of file convertRefcatManager.py.

◆ config

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.config
inherited

Definition at line 86 of file convertRefcatManager.py.

◆ ConfigClass

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.ConfigClass = ConvertRefcatManagerConfig
staticinherited

Definition at line 81 of file convertRefcatManager.py.

◆ coord_err_unit

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.coord_err_unit
inherited

Definition at line 96 of file convertRefcatManager.py.

◆ file_reader

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.file_reader
inherited

Definition at line 87 of file convertRefcatManager.py.

◆ filenames

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.filenames
inherited

Definition at line 85 of file convertRefcatManager.py.

◆ htmRange

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.htmRange
inherited

Definition at line 91 of file convertRefcatManager.py.

◆ indexer

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.indexer
inherited

Definition at line 88 of file convertRefcatManager.py.

◆ key_map

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.key_map
inherited

Definition at line 90 of file convertRefcatManager.py.

◆ log

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.log
inherited

Definition at line 93 of file convertRefcatManager.py.

◆ nInputFiles

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.nInputFiles
inherited

Definition at line 113 of file convertRefcatManager.py.

◆ schema

lsst.meas.algorithms.convertRefcatManager.ConvertRefcatManager.schema
inherited

Definition at line 89 of file convertRefcatManager.py.


The documentation for this class was generated from the following file: