DECamEdgeBleedMaskConfig#
- class lsst.ip.isr.DECamEdgeBleedMaskConfig(*args, **kw)#
Bases:
ConfigAttributes Summary
Saturated footprint must come within this many rows of the read edge.
Extra rows masked beyond the measured edge bleed height, as a fraction of that height (plus one row).
Depressed pixels a row must have (more than this) to count toward the edge bleed height.
Mean depressed pixels per row over the check rows required (exceeded) to confirm an edge bleed.
Number of rows from the read edge used to confirm an edge bleed.
A pixel is counted as depressed if it is below sky by more than this many sigma.
Maximum area (pixels, exclusive) of a saturated footprint to be an edge bleed candidate.
Minimum area (pixels) of a saturated footprint to be an edge bleed candidate.
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#
Saturated footprint must come within this many rows of the read edge. (
int, default20)
- marginFraction#
Extra rows masked beyond the measured edge bleed height, as a fraction of that height (plus one row). (
float, default0.125)
- minLowPixelsExtent#
Depressed pixels a row must have (more than this) to count toward the edge bleed height. Should be smaller than minLowPixelsPerRow. (
int, default10)
- minLowPixelsPerRow#
Mean depressed pixels per row over the check rows required (exceeded) to confirm an edge bleed. Read-edge rows with fewer usable pixels than this are skipped before the check rows start. (
int, default30)
- nRowsCheck#
Number of rows from the read edge used to confirm an edge bleed. (
int, default20)
- nSigma#
A pixel is counted as depressed if it is below sky by more than this many sigma. (
float, default5.0)
- satMaxArea#
Maximum area (pixels, exclusive) of a saturated footprint to be an edge bleed candidate. (
int, default100000)
- satMinArea#
Minimum area (pixels) of a saturated footprint to be an edge bleed candidate. (
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.