DonutQuickMeasurementTask#
- class lsst.ts.wep.task.DonutQuickMeasurementTask(**kwargs)#
Bases:
QuickFrameMeasurementTask- Parameters:
kwargs (
Any)
Methods Summary
run(exp[, template, donutDiameter, ...])Run method for the task.
Methods Documentation
- run(exp, template=None, donutDiameter=None, cutoutPadding=None)#
Run method for the task. This task runs a quick detection and measurement scheme to detect donuts in images based upon QuickFrameMeasurementTask.
- Parameters:
exp (
lsst.afw.image.Exposure) – Post-ISR image with donut sources.template (
numpy.ndarrayor None, optional) – Donut template binary image. A template is required ifdoPreConvolutionis True in configuration. (The Default is None.)donutDiameter (
intorNone, optional) – Expected size of donut in pixels. If None then it will take this from the input configuration class. (The default is None.)cutOutPadding (
intorNone, optional) – Number of pixels to add in addition todonutDiameterwhen creating postage stamp for exact centroid measurement. If None it will take this from the input configuration class. (The default is None.)
- Returns:
struct –
- The struct contains the following data:
- detectedCatalog
dict Dictionary of detected sources with location and flux measurements.
- detectedCatalog
- Return type:
lsst.pipe.base.Struct- Raises:
ValueError – Raised if template is None when doPreConvolution configuration parameter is set to True.