DetectAndMeasureTask#
DetectAndMeasureTask performs source detection and execution of measurement plugins in difference images.
Description#
This task cross-convolves the difference image with a PSF approximation to obtain maximum-likelihood source candidates. Measurements are run on all the detections, including positive and negative flux candidates. Close sources will be combined, enabling trailed sources as well as dipole-like source detection.
The plugins used by this task by default are meant to provide basic measurements for all types of transient sources: point sources, trailed sources and dipoles as well. Additional forced measurements are provided through PSF flux photometry measurements and centroid determination plugins. Finally, the plugins make use of the image mask planes to provide a wide range of source flags, including streak flagging and injected source flagging.