DiaForcedSourceTask#
- class lsst.ap.association.DiaForcedSourceTask(**kwargs)#
Bases:
TaskTask for measuring and storing forced sources at DiaObject locations in both difference and direct images.
Methods Summary
run(dia_objects, updatedDiaObjectIds, ...)Measure forced sources on the direct and difference images.
Methods Documentation
- run(dia_objects, updatedDiaObjectIds, exposure, diffim, idGenerator)#
Measure forced sources on the direct and difference images.
Parameters#
- dia_objects
pandas.DataFrame Catalog of previously observed and newly created DiaObjects contained within the difference and direct images. DiaObjects must be indexed on the
diaObjectIdcolumn.- updatedDiaObjectIds
numpy.ndarray Array of diaObjectIds that were updated during this dia processing. Used to assure that the pipeline includes all diaObjects that were updated in case one falls on the edge of the CCD.
- exposure
lsst.afw.image.Exposure Direct image exposure.
- diffim
lsst.afw.image.Exposure Difference image.
- idGenerator
lsst.meas.base.IdGenerator Object that generates source IDs and random number generator seeds.
Returns#
- output_forced_sources
pandas.DataFrame Catalog of calibrated forced photometered fluxes on both the difference and direct images at DiaObject locations.
- dia_objects