DiaForcedSourceTask#

class lsst.ap.association.DiaForcedSourceTask(**kwargs)#

Bases: Task

Task 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_objectspandas.DataFrame

Catalog of previously observed and newly created DiaObjects contained within the difference and direct images. DiaObjects must be indexed on the diaObjectId column.

updatedDiaObjectIdsnumpy.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.

exposurelsst.afw.image.Exposure

Direct image exposure.

diffimlsst.afw.image.Exposure

Difference image.

idGeneratorlsst.meas.base.IdGenerator

Object that generates source IDs and random number generator seeds.

Returns#

output_forced_sourcespandas.DataFrame

Catalog of calibrated forced photometered fluxes on both the difference and direct images at DiaObject locations.