DetectAndMeasureScoreConfig#
- class lsst.ip.diffim.DetectAndMeasureScoreConfig(*args, **kw)#
Bases:
DetectAndMeasureConfigAttributes Summary
Task to apply aperture corrections (
ConfigurableInstance, default<class 'lsst.meas.base.applyApCorr.ApplyApCorrConfig'>)Sources with any of these flags set are removed before writing the output catalog.
Maximum ratio of power in footprints on the difference image to the same footprints on the science image.Only used if
raiseOnBadSubtractionRatiois set (float, default0.2)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
raiseOnBadSubtractionRatiois set (float, default0.4)Mask planes to clear before running detection.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Task to split blended sources into their components.
Final source detection for diaSource measurement (
ConfigurableInstance, default<class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)Match radius (in arcseconds) for DiaSource to Source association (
float, default0.5)Add columns to the source table to hold analysis metrics? (
bool, defaultFalse)Run subtask to apply aperture corrections (
bool, defaultTrue)Calculate metrics to assess image subtraction quality for the taskmetadata? (
bool, defaultTrue)Deblend DIASources after detection? (
bool, defaultFalse)Force photometer diaSource locations on PVI? (
bool, defaultTrue)Turn on streak masking (
bool, defaultTrue)Merge positive and negative diaSources with grow radius set by growFootprint (
bool, defaultTrue)Generate sky sources? (
bool, defaultFalse)Subtract a background model from the image before detection? (
bool, defaultTrue)Persist the fitted background model? (
bool, defaultFalse)Subtask for finding glint trails, usually caused by satellites or debris.
Task to force photometer science image at diaSource locations.
Grow positive and negative footprints by this many pixels before merging (
int, default2)Configuration for how to generate catalog IDs from data IDs.
Subtask for masking streaks.
Task to measure sources on the difference image.
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, defaultTrue)Raise an algorithm error if no diaSources are detected.
If true, dia source bounding boxes will be sent for verificationto the sattle service.
If re-running a pipeline that requires sattle, this should be set to True.
Flag to enable/disable saving of log output for a task, enabled by default.
Task to add isPrimary and deblending-related flags to the catalog.
Generate sky sources (
ConfigurableInstance, default<class 'lsst.meas.algorithms.skyObjects.SkyObjectsConfig'>)Bin scale factor to use when rerunning detection for masking streaks.
Separate source detection used only for streak masking (
ConfigurableInstance, default<class 'lsst.meas.algorithms.detection.SourceDetectionConfig'>)Task to perform final background subtraction, after first detection pass.
Task to perform intial background subtraction, before first detection pass.
Record the parameters of any detected glint trails.
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
raiseOnBadSubtractionRatiois set (float, default0.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
raiseOnBadSubtractionRatiois set (float, default0.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, default0.5)
- doAddMetrics#
Add columns to the source table to hold analysis metrics? (
bool, defaultFalse)
- doApCorr#
Run subtask to apply aperture corrections (
bool, defaultTrue)
- doCalculateResidualMetics#
Calculate metrics to assess image subtraction quality for the taskmetadata? (
bool, defaultTrue)
- doDeblend#
Deblend DIASources after detection? (
bool, defaultFalse)
- doForcedMeasurement#
Force photometer diaSource locations on PVI? (
bool, defaultTrue)
- doMaskStreaks#
Turn on streak masking (
bool, defaultTrue)
- doMerge#
Merge positive and negative diaSources with grow radius set by growFootprint (
bool, defaultTrue)
- doSkySources#
Generate sky sources? (
bool, defaultFalse)
- doSubtractBackground#
Subtract a background model from the image before detection? (
bool, defaultTrue)
- doWriteBackground#
Persist the fitted background model? (
bool, defaultFalse)
- 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, default2)
- 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, defaultTrue)
- raiseOnNoDiaSources#
Raise an algorithm error if no diaSources are detected. (
bool, defaultTrue)
- run_sattle#
If true, dia source bounding boxes will be sent for verificationto the sattle service. (
bool, defaultFalse)
- 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, defaultFalse)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- 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, default4)
- 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, defaultTrue)
- writeStreakInfo#
Record the parameters of any detected streaks. For LSST, this should be turned off except for development work. (
bool, defaultFalse)