loadDiaForcedSourcesFromApdb#
- lsst.ap.association.loadDiaForcedSourcesFromApdb(apdb, region, diaObjectIds, dateTime, schema, log)#
Load DiaForcedSources from the Apdb based on their diaObjectId.
Parameters#
- apdb
lsst.dax.apdb.Apdb Database to load the DiaForcedSources from.
- region
sphgeom.Region Region of interest, including any padding.
- diaObjectIds
pandas.Series Ids of the DiaObjects to load the history for.
- dateTime
astropy.time.Time Time of the current visit.
- 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#
- diaForcedSources
pandas.DataFrame DiaForcedSource history, indexed by
diaObjectIdanddiaForcedSourceId.
- apdb