MaskStreaksConfig#

class lsst.meas.algorithms.MaskStreaksConfig(*args, **kw)#

Bases: Config

Configuration parameters for MaskStreaksTask.

Attributes Summary

absMinimumKernelHeight

Minimum absolute height of the streak-finding kernel (float, default 5)

badMaskPlanes

Names of mask plane regions to ignore entirely when doing streak detection (List, default ('NO_DATA', 'INTRP', 'BAD', 'SAT', 'EDGE'))

clusterMinimumDeviation

Allowed deviation (in pixels) from a straight line for a detected line (int, default 2)

clusterMinimumSize

Minimum size in pixels of detected clusters (int, default 50)

dChi2Tolerance

Absolute difference in Chi2 between iterations of line profilefitting that is acceptable for convergence (float, default 0.1)

delta

Stepsize in angle-radius parameter space (float, default 0.2)

detectedMaskPlane

Name of mask with pixels above detection threshold, used for firstestimate of streak locations (str, default 'DETECTED')

footprintThreshold

Threshold at which to determine edge of line, in units of nanoJanskys (float, default 0.01)

invSigma

Inverse of the Moffat sigma parameter (in units of pixels)describing the profile of the streak (float, default 0.1)

maxFitIter

Maximum number of line profile fitting iterations that is acceptable for convergence (int, default 100)

maxStreakWidth

Maximum width in pixels to allow for masking a streak.The fit streak parameters will not be modified, and a warning will be issued if the fitted width is larger than this value.Set to 0 to disable.

minimumKernelHeight

Minimum height of the streak-finding kernel relative to the tallest kernel (float, default 0.0)

nSigma

Number of sigmas from center of kernel to include in voting procedure (float, default 2)

nSigmaMask

Number of sigmas from center of kernel to mask (float, default 5)

onlyMaskDetected

If true, only propagate the part of the streak mask that overlaps with the detection mask.

rhoBinSize

Binsize in pixels for position parameter rho when finding clusters of detected lines (float, default 40)

saturatedDetectionsDilation

Mask out the region around saturated detections by dilating the existing mask by this number of pixels.

streaksMaskPlane

Name of mask plane holding detected streaks (str, default 'STREAK')

thetaBinSize

Binsize in degrees for angle parameter theta when finding clusters of detected lines (float, default 2)

Attributes Documentation

absMinimumKernelHeight#

Minimum absolute height of the streak-finding kernel (float, default 5)

badMaskPlanes#

Names of mask plane regions to ignore entirely when doing streak detection (List, default ('NO_DATA', 'INTRP', 'BAD', 'SAT', 'EDGE'))

clusterMinimumDeviation#

Allowed deviation (in pixels) from a straight line for a detected line (int, default 2)

clusterMinimumSize#

Minimum size in pixels of detected clusters (int, default 50)

dChi2Tolerance#

Absolute difference in Chi2 between iterations of line profilefitting that is acceptable for convergence (float, default 0.1)

delta#

Stepsize in angle-radius parameter space (float, default 0.2)

detectedMaskPlane#

Name of mask with pixels above detection threshold, used for firstestimate of streak locations (str, default 'DETECTED')

footprintThreshold#

Threshold at which to determine edge of line, in units of nanoJanskys (float, default 0.01)

invSigma#

Inverse of the Moffat sigma parameter (in units of pixels)describing the profile of the streak (float, default 0.1)

maxFitIter#

Maximum number of line profile fitting iterations that is acceptable for convergence (int, default 100)

maxStreakWidth#

Maximum width in pixels to allow for masking a streak.The fit streak parameters will not be modified, and a warning will be issued if the fitted width is larger than this value.Set to 0 to disable. (float, default 0.0)

minimumKernelHeight#

Minimum height of the streak-finding kernel relative to the tallest kernel (float, default 0.0)

nSigma#

Number of sigmas from center of kernel to include in voting procedure (float, default 2)

nSigmaMask#

Number of sigmas from center of kernel to mask (float, default 5)

onlyMaskDetected#

If true, only propagate the part of the streak mask that overlaps with the detection mask. (bool, default True)

rhoBinSize#

Binsize in pixels for position parameter rho when finding clusters of detected lines (float, default 40)

saturatedDetectionsDilation#

Mask out the region around saturated detections by dilating the existing mask by this number of pixels. (int, default 250)

streaksMaskPlane#

Name of mask plane holding detected streaks (str, default 'STREAK')

thetaBinSize#

Binsize in degrees for angle parameter theta when finding clusters of detected lines (float, default 2)