lsst.meas.extensions.astrometryNet  18.1.0-2-g31c43f9+15
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig Class Reference

Public Member Functions

def load (self, fn)
 
def __init__ (self, kwargs)
 
def setDefaults (self)
 
def set (self, k, v)
 
def __setattr__ (self, k, v)
 

Static Public Attributes

list fields
 

Detailed Description

Astrometry.net data config object.  This is a plain-python config
structure similar to pexConfig.

For examples of use, see tests/astrometry_net_data/photocal/andConfig*.py

Definition at line 57 of file astrometryNetDataConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig.__init__ (   self,
  kwargs 
)

Definition at line 100 of file astrometryNetDataConfig.py.

Member Function Documentation

◆ __setattr__()

def lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig.__setattr__ (   self,
  k,
  v 
)

Definition at line 112 of file astrometryNetDataConfig.py.

◆ load()

def lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig.load (   self,
  fn 
)

Definition at line 93 of file astrometryNetDataConfig.py.

◆ set()

def lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig.set (   self,
  k,
  v 
)

Definition at line 109 of file astrometryNetDataConfig.py.

◆ setDefaults()

def lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig.setDefaults (   self)

Definition at line 105 of file astrometryNetDataConfig.py.

Member Data Documentation

◆ fields

list lsst.meas.extensions.astrometryNet.astrometryNetDataConfig.AstrometryNetDataConfig.fields
static
Initial value:
= [
('idColumn', str, 'id', None,
'Column name (in the index files) of the ID number of reference sources'),
('defaultMagColumn', str, 'mag', None,
'Default column name (in the index files) of the reference source mag'),
('defaultMagErrorColumn', str, '', None,
'Default column name (in the index files) of the reference source mag error'),
('starGalaxyColumn', str, None, None,
'Column name of the star/galaxy flag'),
('variableColumn', str, None, None,
'Column name of the star variability flag'),
('magErrorColumnMap', dict, {}, _checkMagMap,
'Mapping from LSST filter name to mag error column name'),
('magColumnMap', dict, {}, _checkMagMap,
'Mapping from LSST filter name to mag column name'),
('indexFiles', list, [], _checkIndexList,
'List of Astrometry.net index filenames'),
('multiIndexFiles', list, [], _checkMultiIndexList,
'Astrometry.net multi-index filename lists. '
'Each item in this list must itself be a list of filenames. '
'The first filename is the file that contains the star kd-tree and tag-along tables. '
'Subsequent filenames must be files containing just the non-star index parts '
'(quads and code kd-tree). Note that this means you may need to repeat the first filename '
'if it contains a star kd-tree and the first index.'),
('allowCache', bool, True, None,
'Allow use of cache for reading index file regions?'),
]

Definition at line 65 of file astrometryNetDataConfig.py.


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