loadDiaForcedSourcesFromApdb#

lsst.ap.association.loadDiaForcedSourcesFromApdb(apdb, region, diaObjectIds, dateTime, schema, log)#

Load DiaForcedSources from the Apdb based on their diaObjectId.

Parameters#

apdblsst.dax.apdb.Apdb

Database to load the DiaForcedSources from.

regionsphgeom.Region

Region of interest, including any padding.

diaObjectIdspandas.Series

Ids of the DiaObjects to load the history for.

dateTimeastropy.time.Time

Time of the current visit.

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#

diaForcedSourcespandas.DataFrame

DiaForcedSource history, indexed by diaObjectId and diaForcedSourceId.