loadDiaObjectsFromApdb#
- lsst.ap.association.loadDiaObjectsFromApdb(apdb, region, schema, log)#
Load DiaObjects from the Apdb based on their HTM location.
Parameters#
- apdb
lsst.dax.apdb.Apdb Database to load the DiaObjects from.
- region
sphgeom.Region Region of interest, including any padding.
- schema
dictoflsst.dax.apdb.apdbSchema.ApdbSchema A dict of the schemas in the apdb.
- log
logging.Logger Log to report the loaded catalog to.
Returns#
- diaObjects
pandas.DataFrame DiaObjects within
region, indexed bydiaObjectId.
- apdb