LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | writeCache |
def | __getitem__ |
def | __iter__ |
def | __len__ |
Public Attributes | |
config | |
Private Member Functions | |
def | _initFromIndexFiles |
def | _initFromCache |
Private Attributes | |
_multiInds | |
Static Private Attributes | |
string | _cacheFilename = "andCache.fits" |
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 158 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__init__ | ( | self, | |
andConfig | |||
) |
Constructor.
andConfig | Configuration (an AstrometryNetDataConfig) |
Definition at line 169 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__getitem__ | ( | self, | |
ii | |||
) |
Definition at line 245 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__iter__ | ( | self | ) |
Definition at line 248 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__len__ | ( | self | ) |
Definition at line 251 of file multiindex.py.
|
private |
Initialise from a cache file Ingest the cache file written by the 'writeCache' method and use that to quickly instantiate the AstrometryNetCatalog.
Definition at line 223 of file multiindex.py.
|
private |
Initialise from the index files in an AstrometryNetDataConfig
Definition at line 181 of file multiindex.py.
def lsst.meas.astrom.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 186 of file multiindex.py.
|
staticprivate |
Definition at line 167 of file multiindex.py.
|
private |
Definition at line 184 of file multiindex.py.
lsst.meas.astrom.multiindex.AstrometryNetCatalog.config |
Definition at line 174 of file multiindex.py.