LSSTApplications
18.1.0
LSSTDataManagementBasePackage
|
Functions | |
def | countUnassociatedObjects (ppdb) |
def | isVisitProcessed (ppdb, visitInfo) |
def lsst.dax.ppdb.ap_verify_queries.countUnassociatedObjects | ( | ppdb | ) |
Return the number of DiaObjects that have only one DiaSource associated with them. Parameters ---------- ppdb : `lsst.dax.ppdb.Ppdb` Ppdb object connected to an instantiated database. Returns ------- count : `int` Number of DiaObjects with exactly one associated DiaSource.
Definition at line 31 of file ap_verify_queries.py.
def lsst.dax.ppdb.ap_verify_queries.isVisitProcessed | ( | ppdb, | |
visitInfo | |||
) |
Test whether data from an image has been loaded into the database. Parameters ---------- ppdb : `lsst.dax.ppdb.Ppdb` Ppdb object connected to an instantiated database. visitInfo : `lsst.afw.image.VisitInfo` The metadata for the image of interest. Returns ------- isProcessed : `bool` `True` if the data are present, `False` otherwise.
Definition at line 58 of file ap_verify_queries.py.