loadDiaObjectsFromApdb#

lsst.ap.association.loadDiaObjectsFromApdb(apdb, region, schema, log)#

Load DiaObjects from the Apdb based on their HTM location.

Parameters#

apdblsst.dax.apdb.Apdb

Database to load the DiaObjects from.

regionsphgeom.Region

Region of interest, including any padding.

schemadict of lsst.dax.apdb.apdbSchema.ApdbSchema

A dict of the schemas in the apdb.

loglogging.Logger

Log to report the loaded catalog to.

Returns#

diaObjectspandas.DataFrame

DiaObjects within region, indexed by diaObjectId.