LSSTApplications
11.0-22-g33de520,12.1+25,13.0+25,13.0+30,13.0-1-g174df6e+3,13.0-1-g41367f3+3,13.0-1-g47a359c+3,13.0-1-g52a7baa+3,13.0-1-g976b40b+3,13.0-10-gcc6134a+6,13.0-10-gf7c21d5+2,13.0-13-gdd29b46+5,13.0-14-gc9904b0,13.0-2-g15de9a1+3,13.0-2-ga4f5e85+6,13.0-2-gf5c5ced+6,13.0-2-gf9e84ea+5,13.0-22-g8f1d162,13.0-3-g7fa07e0+4,13.0-34-ga37f01a,13.0-4-g0bde1de,13.0-5-g0db1a30+1,13.0-5-g6708b9e+9,13.0-6-g7b63e3f+6,13.0-8-gba0f85f,13.0-9-gc47bba1,master-gb637561bb9
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 166 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__init__ | ( | self, | |
andConfig | |||
) |
Constructor.
andConfig | Configuration (an AstrometryNetDataConfig) |
Definition at line 177 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__getitem__ | ( | self, | |
ii | |||
) |
Definition at line 253 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__iter__ | ( | self | ) |
Definition at line 256 of file multiindex.py.
def lsst.meas.astrom.multiindex.AstrometryNetCatalog.__len__ | ( | self | ) |
Definition at line 259 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 231 of file multiindex.py.
|
private |
Initialise from the index files in an AstrometryNetDataConfig
Definition at line 189 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 194 of file multiindex.py.
|
staticprivate |
Definition at line 175 of file multiindex.py.
|
private |
Definition at line 192 of file multiindex.py.
lsst.meas.astrom.multiindex.AstrometryNetCatalog.config |
Definition at line 182 of file multiindex.py.