lsst.dax.ppdb

Contributing

lsst.dax.ppdb is developed at https://github.com/lsst/dax_ppdb. You can find Jira issues for this module under the dax_ppdb component.

Python API reference

lsst.dax.ppdb Package

Functions

countUnassociatedObjects(ppdb) Return the number of DiaObjects that have only one DiaSource associated with them.
isVisitProcessed(ppdb, visitInfo) Test whether data from an image has been loaded into the database.
make_minimal_dia_object_schema() Define and create the minimal schema required for a DIAObject.
make_minimal_dia_source_schema() Define and create the minimal schema required for a DIASource.

Classes

ColumnDef(name, type, nullable, default, …)
IndexDef(name, type, columns)
Ppdb(config[, afw_schemas]) Interface to L1 database, hides all database access details.
PpdbConfig
PpdbSchema(engine, dia_object_index, …[, …]) Class for management of PPDB schema.
TableDef(name, description, columns, indices)
Visit(visitId, visitTime, lastObjectId, …)