Configuration parameters for AmpOffsetTask.
Definition at line 36 of file ampOffset.py.
◆ setDefaults()
| lsst.ip.isr.ampOffset.AmpOffsetConfig.setDefaults |
( |
| self | ) |
|
◆ validate()
| lsst.ip.isr.ampOffset.AmpOffsetConfig.validate |
( |
| self | ) |
|
◆ ampEdgeInset
| lsst.ip.isr.ampOffset.AmpOffsetConfig.ampEdgeInset |
|
static |
Initial value:= Field(
doc="Number of pixels the amp edge strip is inset from the amp edge. A thin strip of pixels running "
"parallel to the edge of the amp is used to characterize the average flux level at the amp edge.",
dtype=int,
default=5,
)
Definition at line 58 of file ampOffset.py.
◆ ampEdgeMaxOffset
| lsst.ip.isr.ampOffset.AmpOffsetConfig.ampEdgeMaxOffset |
|
static |
Initial value:= Field(
doc="Maximum allowed amp offset ADU value. If a measured amp offset value is larger than this, the "
"result will be discarded and therefore not used to determine amp pedestal corrections.",
dtype=float,
default=5.0,
)
Definition at line 75 of file ampOffset.py.
◆ ampEdgeMinFrac
| lsst.ip.isr.ampOffset.AmpOffsetConfig.ampEdgeMinFrac |
|
static |
Initial value:= Field(
doc="Minimum allowed fraction of viable pixel rows along an amp edge. No amp offset estimate will be "
"generated for amp edges that do not have at least this fraction of unmasked pixel rows.",
dtype=float,
default=0.5,
)
Definition at line 69 of file ampOffset.py.
◆ ampEdgeWidth
| lsst.ip.isr.ampOffset.AmpOffsetConfig.ampEdgeWidth |
|
static |
Initial value:= Field(
doc="Pixel width of the amp edge strip, starting at ampEdgeInset and extending inwards.",
dtype=int,
default=64,
)
Definition at line 64 of file ampOffset.py.
◆ ampEdgeWindowFrac
| lsst.ip.isr.ampOffset.AmpOffsetConfig.ampEdgeWindowFrac |
|
static |
Initial value:= Field(
doc="Fraction of the amp edge lengths utilized as the sliding window for generating rolling average "
"amp offset values. It should be reconfigured for every instrument (HSC, LSSTCam, etc.) and should "
"not exceed 1. If not provided, it defaults to the fraction that recovers the pixel size of the "
"sliding window used in obs_subaru for compatibility with existing HSC data. Only relevant if "
"`doWindowSmoothing` is set to True.",
dtype=float,
default=512 / 4176,
)
Definition at line 86 of file ampOffset.py.
◆ applyWeights
| lsst.ip.isr.ampOffset.AmpOffsetConfig.applyWeights |
|
static |
Initial value:= Field(
doc="Weights the amp offset calculation by the length of the interface between amplifiers. Applying "
"weights does not affect outcomes for amplifiers in a 2D grid with square-shaped amplifiers or in "
"any 1D layout on a detector, regardless of whether the amplifiers are square.",
dtype=bool,
default=True,
)
Definition at line 118 of file ampOffset.py.
◆ background
| lsst.ip.isr.ampOffset.AmpOffsetConfig.background |
|
static |
Initial value:= ConfigurableField(
doc="An initial background estimation step run prior to amp offset calculation.",
target=SubtractBackgroundTask,
)
Definition at line 100 of file ampOffset.py.
◆ backgroundFractionSample
| lsst.ip.isr.ampOffset.AmpOffsetConfig.backgroundFractionSample |
|
static |
Initial value:= Field(
doc="The fraction of the shorter side of the amplifier used for background binning.",
dtype=float,
default=1.0,
)
Definition at line 104 of file ampOffset.py.
◆ detection
| lsst.ip.isr.ampOffset.AmpOffsetConfig.detection |
|
static |
Initial value:= ConfigurableField(
doc="Source detection to add temporary detection footprints prior to amp offset calculation.",
target=SourceDetectionTask,
)
Definition at line 114 of file ampOffset.py.
◆ doApplyAmpOffset
| lsst.ip.isr.ampOffset.AmpOffsetConfig.doApplyAmpOffset |
|
static |
Initial value:= Field(
doc="Apply amp offset corrections to the input exposure?",
dtype=bool,
default=False,
)
Definition at line 125 of file ampOffset.py.
◆ doBackground
| lsst.ip.isr.ampOffset.AmpOffsetConfig.doBackground |
|
static |
Initial value:= Field(
doc="Estimate and subtract background prior to amp offset estimation?",
dtype=bool,
default=True,
)
Definition at line 95 of file ampOffset.py.
◆ doDetection
| lsst.ip.isr.ampOffset.AmpOffsetConfig.doDetection |
|
static |
Initial value:= Field(
doc="Detect sources and update cloned exposure prior to amp offset estimation?",
dtype=bool,
default=True,
)
Definition at line 109 of file ampOffset.py.
◆ doWindowSmoothing
| lsst.ip.isr.ampOffset.AmpOffsetConfig.doWindowSmoothing |
|
static |
Initial value:= Field(
doc="Smooth amp edge differences by taking a rolling average.",
dtype=bool,
default=True,
)
Definition at line 81 of file ampOffset.py.
The documentation for this class was generated from the following file: