lsst.meas.extensions.astrometryNet  14.0-2-g519ff97+3
Public Member Functions | Public Attributes | List of all members
lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog Class Reference
Inheritance diagram for lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog:

Public Member Functions

def __init__ (self, andConfig)
 Constructor. More...
 
def writeCache (self)
 
def __getitem__ (self, ii)
 
def __iter__ (self)
 
def __len__ (self)
 

Public Attributes

 config
 

Detailed Description

An interface to an astrometry.net catalog

Behaves like a list of MultiIndexCache (or multiindex_t).

These should usually be constructed using the 'fromEnvironment'
class method, which wraps the 'fromIndexFiles' and 'fromCache'
alternative class methods.

Definition at line 168 of file multiindex.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog.__init__ (   self,
  andConfig 
)

Constructor.

Parameters
andConfigConfiguration (an AstrometryNetDataConfig)

Definition at line 179 of file multiindex.py.

Member Function Documentation

◆ __getitem__()

def lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog.__getitem__ (   self,
  ii 
)

Definition at line 255 of file multiindex.py.

◆ __iter__()

def lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog.__iter__ (   self)

Definition at line 258 of file multiindex.py.

◆ __len__()

def lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog.__len__ (   self)

Definition at line 261 of file multiindex.py.

◆ writeCache()

def lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog.writeCache (   self)
Write a cache file

The cache file is a FITS file with all the required information to build the
AstrometryNetCatalog quickly.  The first table extension contains a row for each multiindex,
storing the healpix and nside values.  The second table extension contains a row
for each filename in all the multiindexes.  The two may be JOINed through the
'id' column.

Definition at line 196 of file multiindex.py.

Member Data Documentation

◆ config

lsst.meas.extensions.astrometryNet.multiindex.AstrometryNetCatalog.config

Definition at line 184 of file multiindex.py.


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