DECamEdgeBleedMaskConfig#
- class lsst.ip.isr.DECamEdgeBleedMaskConfig(*args, **kw)#
Bases:
ConfigAttributes Summary
A saturated footprint must come within this many rows of the read edge to trigger the edge bleed check.
Extra rows masked beyond the measured height, as a fraction of that height (plus one row).
Minimum number of blocked rows beyond the normal border at the read edge to be masked if found.
Mean fraction of usable pixels that are low, over either nRowsCheck or nRowsCheckShort, to confirm a dip.
Fraction of usable pixels that are low that each row must exceed to count toward the bleed height; the scan stops after five consecutive rows that do not.
Minimum number of pixels not saturated, bad or missing to search for dips.
Number of rows from the read edge to check for an edge bleed dip.
A second, shorter window from the read edge to check for a short edge bleed dip.
A pixel is "low" if it is more than this many sigma below sky.
Minimum area (pixels) of a saturated footprint to be considered.
Name of mask plane holding saturated pixels; must match the parent ISR task.
Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- approachRows#
A saturated footprint must come within this many rows of the read edge to trigger the edge bleed check. (
int, default20)
- marginFraction#
Extra rows masked beyond the measured height, as a fraction of that height (plus one row). (
float, default0.125)
- minBlockedRows#
Minimum number of blocked rows beyond the normal border at the read edge to be masked if found. (
int, default5)
- minLowFraction#
Mean fraction of usable pixels that are low, over either nRowsCheck or nRowsCheckShort, to confirm a dip. (
float, default0.03)
- minLowFractionExtent#
Fraction of usable pixels that are low that each row must exceed to count toward the bleed height; the scan stops after five consecutive rows that do not. Should not exceed minLowFraction. (
float, default0.01)
- minUsablePixelsPerRow#
Minimum number of pixels not saturated, bad or missing to search for dips. Rows with fewer pixels may be “blocked” due to a drained register. (
int, default30)
- nRowsCheck#
Number of rows from the read edge to check for an edge bleed dip. (
int, default20)
- nRowsCheckShort#
A second, shorter window from the read edge to check for a short edge bleed dip. (
int, default5)
- nSigma#
A pixel is “low” if it is more than this many sigma below sky. (
float, default5.0)
- satMinArea#
Minimum area (pixels) of a saturated footprint to be considered. (
int, default10000)
- saturatedMaskName#
Name of mask plane holding saturated pixels; must match the parent ISR task. (
str, default'SAT')
Methods Documentation
- validate()#
Validate the Config, raising an exception if invalid.
Raises#
- lsst.pex.config.FieldValidationError
Raised if verification fails.
Notes#
The base class implementation performs type checks on all fields by calling their
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.