DetectAndMeasureScoreConfig#

class lsst.ip.diffim.DetectAndMeasureScoreConfig(*args, **kw)#

Bases: DetectAndMeasureConfig

Attributes Summary

applyApCorr

Task to apply aperture corrections (ConfigurableInstance, default <class 'lsst.meas.base.applyApCorr.ApplyApCorrConfig'>)

badSourceFlags

Sources with any of these flags set are removed before writing the output catalog.

badSubtractionRatioThreshold

Maximum ratio of power in footprints on the difference image to the same footprints on the science image.Only used if raiseOnBadSubtractionRatio is set (float, default 0.2)

badSubtractionVariationThreshold

Maximum standard deviation of the ratio of power in footprints on the difference image to the same footprints on the science image.Only used if raiseOnBadSubtractionRatio is set (float, default 0.4)

clearMaskPlanes

Mask planes to clear before running detection.

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

deblend

Task to split blended sources into their components.

detection

Final source detection for diaSource measurement (ConfigurableInstance, default <class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)

diaSourceMatchRadius

Match radius (in arcseconds) for DiaSource to Source association (float, default 0.5)

doAddMetrics

Add columns to the source table to hold analysis metrics? (bool, default False)

doApCorr

Run subtask to apply aperture corrections (bool, default True)

doCalculateResidualMetics

Calculate metrics to assess image subtraction quality for the taskmetadata? (bool, default True)

doDeblend

Deblend DIASources after detection? (bool, default False)

doForcedMeasurement

Force photometer diaSource locations on PVI? (bool, default True)

doMaskStreaks

Turn on streak masking (bool, default True)

doMerge

Merge positive and negative diaSources with grow radius set by growFootprint (bool, default True)

doSkySources

Generate sky sources? (bool, default False)

doSubtractBackground

Subtract a background model from the image before detection? (bool, default True)

doWriteBackground

Persist the fitted background model? (bool, default False)

findGlints

Subtask for finding glint trails, usually caused by satellites or debris.

forcedMeasurement

Task to force photometer science image at diaSource locations.

growFootprint

Grow positive and negative footprints by this many pixels before merging (int, default 2)

idGenerator

Configuration for how to generate catalog IDs from data IDs.

maskStreaks

Subtask for masking streaks.

measurement

Task to measure sources on the difference image.

raiseOnBadSubtractionRatio

Raise an error if the ratio of power in detected footprints on the difference image to the power in footprints on the science image exceeds badSubtractionRatioThreshold (bool, default True)

raiseOnNoDiaSources

Raise an algorithm error if no diaSources are detected.

run_sattle

If true, dia source bounding boxes will be sent for verificationto the sattle service.

sattle_historical

If re-running a pipeline that requires sattle, this should be set to True.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

setPrimaryFlags

Task to add isPrimary and deblending-related flags to the catalog.

skySources

Generate sky sources (ConfigurableInstance, default <class 'lsst.meas.algorithms.skyObjects.SkyObjectsConfig'>)

streakBinFactor

Bin scale factor to use when rerunning detection for masking streaks.

streakDetection

Separate source detection used only for streak masking (ConfigurableInstance, default <class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)

subtractFinalBackground

Task to perform final background subtraction, after first detection pass.

subtractInitialBackground

Task to perform intial background subtraction, before first detection pass.

writeGlintInfo

Record the parameters of any detected glint trails.

writeStreakInfo

Record the parameters of any detected streaks.

Attributes Documentation

applyApCorr#

Task to apply aperture corrections (ConfigurableInstance, default <class 'lsst.meas.base.applyApCorr.ApplyApCorrConfig'>)

badSourceFlags#

Sources with any of these flags set are removed before writing the output catalog. (List, default ('base_PixelFlags_flag_offimage', 'base_PixelFlags_flag_edge', 'base_PixelFlags_flag_interpolatedCenterAll', 'base_PixelFlags_flag_badCenter', 'base_PixelFlags_flag_edgeCenter', 'base_PixelFlags_flag_nodataCenter', 'base_PixelFlags_flag_saturatedCenter', 'base_PixelFlags_flag_saturated_templateCenter', 'base_PixelFlags_flag_spikeCenter'))

badSubtractionRatioThreshold#

Maximum ratio of power in footprints on the difference image to the same footprints on the science image.Only used if raiseOnBadSubtractionRatio is set (float, default 0.2)

badSubtractionVariationThreshold#

Maximum standard deviation of the ratio of power in footprints on the difference image to the same footprints on the science image.Only used if raiseOnBadSubtractionRatio is set (float, default 0.4)

clearMaskPlanes#

Mask planes to clear before running detection. (List, default ('DETECTED', 'DETECTED_NEGATIVE', 'NOT_DEBLENDED', 'STREAK'))

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

deblend#

Task to split blended sources into their components. (ConfigurableInstance, default <class 'lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig'>)

detection#

Final source detection for diaSource measurement (ConfigurableInstance, default <class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)

diaSourceMatchRadius#

Match radius (in arcseconds) for DiaSource to Source association (float, default 0.5)

doAddMetrics#

Add columns to the source table to hold analysis metrics? (bool, default False)

doApCorr#

Run subtask to apply aperture corrections (bool, default True)

doCalculateResidualMetics#

Calculate metrics to assess image subtraction quality for the taskmetadata? (bool, default True)

doDeblend#

Deblend DIASources after detection? (bool, default False)

doForcedMeasurement#

Force photometer diaSource locations on PVI? (bool, default True)

doMaskStreaks#

Turn on streak masking (bool, default True)

doMerge#

Merge positive and negative diaSources with grow radius set by growFootprint (bool, default True)

doSkySources#

Generate sky sources? (bool, default False)

doSubtractBackground#

Subtract a background model from the image before detection? (bool, default True)

doWriteBackground#

Persist the fitted background model? (bool, default False)

findGlints#

Subtask for finding glint trails, usually caused by satellites or debris. (ConfigurableInstance, default <class 'lsst.meas.algorithms.findGlintTrails.FindGlintTrailsConfig'>)

forcedMeasurement#

Task to force photometer science image at diaSource locations. (ConfigurableInstance, default <class 'lsst.meas.base.forcedMeasurement.ForcedMeasurementConfig'>)

growFootprint#

Grow positive and negative footprints by this many pixels before merging (int, default 2)

idGenerator#

Configuration for how to generate catalog IDs from data IDs. (DetectorVisitIdGeneratorConfig, default <class 'lsst.meas.base._id_generator.DetectorVisitIdGeneratorConfig'>)

maskStreaks#

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. (ConfigurableInstance, default <class 'lsst.meas.algorithms.maskStreaks.MaskStreaksConfig'>)

measurement#

Task to measure sources on the difference image. (ConfigurableInstance, default <class 'lsst.ip.diffim.dipoleFitTask.DipoleFitTaskConfig'>)

raiseOnBadSubtractionRatio#

Raise an error if the ratio of power in detected footprints on the difference image to the power in footprints on the science image exceeds badSubtractionRatioThreshold (bool, default True)

raiseOnNoDiaSources#

Raise an algorithm error if no diaSources are detected. (bool, default True)

run_sattle#

If true, dia source bounding boxes will be sent for verificationto the sattle service. (bool, default False)

sattle_historical#

If re-running a pipeline that requires sattle, this should be set to True. This will populate sattle’s cache with the historic data closest in time to the exposure. (bool, default False)

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

setPrimaryFlags#

Task to add isPrimary and deblending-related flags to the catalog. (ConfigurableInstance, default <class 'lsst.meas.algorithms.setPrimaryFlags.SetPrimaryFlagsConfig'>)

skySources#

Generate sky sources (ConfigurableInstance, default <class 'lsst.meas.algorithms.skyObjects.SkyObjectsConfig'>)

streakBinFactor#

Bin scale factor to use when rerunning detection for masking streaks. Only used if doMaskStreaks is True. (int, default 4)

streakDetection#

Separate source detection used only for streak masking (ConfigurableInstance, default <class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)

subtractFinalBackground#

Task to perform final background subtraction, after first detection pass. (ConfigurableInstance, default <class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)

subtractInitialBackground#

Task to perform intial background subtraction, before first detection pass. (ConfigurableInstance, default <class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)

writeGlintInfo#

Record the parameters of any detected glint trails. (bool, default True)

writeStreakInfo#

Record the parameters of any detected streaks. For LSST, this should be turned off except for development work. (bool, default False)