DetectAndMeasureScoreTask¶
DetectAndMeasureScoreTask performs source detection and execution of measurement plugins in difference images.
Description¶
This task detects sources in score-like difference images, such as the ones obtained with pre-convolution image differencing, or ZOGY “S” images.
This means that cross-convolution is not needed, and the task obtains maximum-likelihood source candidates in a single step.
Once candidate sources are obtained this task performs the same operations as DetectAndMeasureTask
, including measurements in the conventional difference image, not the score-like image; for further reference consult the documentation of DetectAndMeasureTask
.
Python API summary¶
from lsst.ip.diffim.detectAndMeasure import DetectAndMeasureScoreTask
-
class
DetectAndMeasureScoreTask
(**kwargs) Detect DIA sources using a score image, and measure the detections on the difference image
...
- attributeconfig
Access configuration fields and retargetable subtasks.
-
method
run
(science, matchedTemplate, difference, scoreExposure, idFactory=None) Detect and measure sources on a score image
...
See also
See the DetectAndMeasureScoreTask
API reference for complete details.
Retargetable subtasks¶
applyApCorr¶
- Default
- Field type
Task to apply aperture corrections
deblend¶
- Default
lsst.meas.deblender.sourceDeblendTask.SourceDeblendTask
- Field type
Task to split blended sources into their components.
detection¶
- Default
- Field type
Final source detection for diaSource measurement
forcedMeasurement¶
- Default
- Field type
Task to force photometer science image at diaSource locations.
maskStreaks¶
- Default
- Field type
Subtask for masking streaks. Only used if doMaskStreaks is True. Adds a mask plane to an exposure, with the mask plane name set by streakMaskName.
measurement¶
- Default
lsst.ip.diffim.dipoleFitTask.DipoleFitTask
- Field type
Task to measure sources on the difference image.
setPrimaryFlags¶
- Default
lsst.meas.algorithms.setPrimaryFlags.SetPrimaryFlagsTask
- Field type
Task to add isPrimary and deblending-related flags to the catalog.
skySources¶
- Default
- Field type
Generate sky sources
Configuration fields¶
badSourceFlags¶
- Default
('base_PixelFlags_flag_offimage', 'base_PixelFlags_flag_interpolatedCenterAll', 'base_PixelFlags_flag_badCenterAll', 'base_PixelFlags_flag_edgeCenterAll', 'base_PixelFlags_flag_saturatedCenterAll')
- Field type
Sources with any of these flags set are removed before writing the output catalog.
connections¶
- Data type
lsst.pipe.base.config.DetectAndMeasureScoreConfigConnections
- Field type
Configurations describing the connections of the PipelineTask to datatypes
diaSourceMatchRadius¶
Match radius (in arcseconds) for DiaSource to Source association
doAddMetrics¶
Add columns to the source table to hold analysis metrics?
doApCorr¶
Run subtask to apply aperture corrections
doForcedMeasurement¶
Force photometer diaSource locations on PVI?
doMaskStreaks¶
Turn on streak masking
doMerge¶
Merge positive and negative diaSources with grow radius set by growFootprint
doSkySources¶
Generate sky sources?
growFootprint¶
Grow positive and negative footprints by this many pixels before merging
idGenerator¶
- Data type
lsst.meas.base._id_generator.DetectorVisitIdGeneratorConfig
- Field type
Configuration for how to generate catalog IDs from data IDs.
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
writeStreakInfo¶
Record the parameters of any detected streaks. For LSST, this should be turned off except for development work.