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.ndarrayorNone Not used. DiaObjects outside the difference image are dropped, and they would have invalid values if they were included.
- 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. Sources with any of
config.badFlagsset are removed.
- dia_objects