lsstdb
Code to ingest photometry data into our test database. To use:
Python modules
- lsstdb.ingestRun.ingestPipeRun
- Called by ingestPipeRun command-line utility.
- Creates entries in the PipeRun and AlgRun tables.
- Handles exceptions by rolling back the database.
- Calls the appropriate algorithm-specific ingest code.
- lsstdb.ingestAlgname: algorithm-specific ingest code. Parses the appropriate data product files as specified in the algRun data file.
- lsstdb.util: utilities to aid ingest
- lsstdb.wcs: code for computing x,y->RA,Dec using on wcs information in the database; uses sdsswcs and (soon) LSSTProto.
lsstmisc
Utility routines.
- precfits.open reads lsst precursor FITS files, incorporating the associated .hdr data.
- parseParams: parse the parameter files used by our various photometry codes returning the data as a dict. Also includes code to create new parameter files.
- sky2htm: convert RA/Dec to HTMID (python interface to C code).
sdsswcs
Functions fk5FromXy and xyFromFK5 compute x,y -> FK5 RA/Dec and the inverse for SDSS images. This uses the high-accuracy WCS data from the asTrans files. However, it applies the default "cosmic" color corrections because we are not computing color. Implemented as a python interface to photo c code, using SWIG.
Note that wcs calculations on non-sdss images will use LSSTProto, the official lsst prototype wcs code.