lsst.cp.pipe  21.0.0-7-gfd72ab2+cf01990774
Public Member Functions | Static Public Attributes | List of all members
lsst.cp.pipe.defects.MeasureDefectsTaskConfig Class Reference
Inheritance diagram for lsst.cp.pipe.defects.MeasureDefectsTaskConfig:
lsst.cp.pipe.defects.MeasureDefectsConnections

Public Member Functions

def validate (self)
 

Static Public Attributes

 nSigmaBright
 
 nSigmaDark
 
 nPixBorderUpDown
 
 nPixBorderLeftRight
 
 badOnAndOffPixelColumnThreshold
 
 goodPixelColumnGapThreshold
 
 inputExp
 
 camera
 
 outputDefects
 

Detailed Description

Configuration for measuring defects from a list of exposures

Definition at line 74 of file defects.py.

Member Function Documentation

◆ validate()

def lsst.cp.pipe.defects.MeasureDefectsTaskConfig.validate (   self)

Definition at line 118 of file defects.py.

Member Data Documentation

◆ badOnAndOffPixelColumnThreshold

lsst.cp.pipe.defects.MeasureDefectsTaskConfig.badOnAndOffPixelColumnThreshold
static
Initial value:
= pexConfig.Field(
dtype=int,
doc=("If BPC is the set of all the bad pixels in a given column (not necessarily consecutive) ",
"and the size of BPC is at least 'badOnAndOffPixelColumnThreshold', all the pixels between the ",
"pixels that satisfy minY (BPC) and maxY (BPC) will be marked as bad, with 'Y' being the long ",
"axis of the amplifier (and 'X' the other axis, which for a column is a constant for all ",
"pixels in the set BPC). If there are more than 'goodPixelColumnGapThreshold' consecutive ",
"non-bad pixels in BPC, an exception to the above is made and those consecutive ",
"'goodPixelColumnGapThreshold' are not marked as bad."),
default=50,
)

Definition at line 100 of file defects.py.

◆ camera

lsst.cp.pipe.defects.MeasureDefectsConnections.camera
staticinherited
Initial value:
= cT.PrerequisiteInput(
name='camera',
doc="Camera associated with this exposure.",
storageClass="Camera",
dimensions=("instrument", ),
isCalibration=True,
lookupFunction=lookupStaticCalibration,
)

Definition at line 57 of file defects.py.

◆ goodPixelColumnGapThreshold

lsst.cp.pipe.defects.MeasureDefectsTaskConfig.goodPixelColumnGapThreshold
static
Initial value:
= pexConfig.Field(
dtype=int,
doc=("Size, in pixels, of usable consecutive pixels in a column with on and off bad pixels (see ",
"'badOnAndOffPixelColumnThreshold')."),
default=30,
)

Definition at line 111 of file defects.py.

◆ inputExp

lsst.cp.pipe.defects.MeasureDefectsConnections.inputExp
staticinherited
Initial value:
= cT.Input(
name="defectExps",
doc="Input ISR-processed exposures to measure.",
storageClass="Exposure",
dimensions=("instrument", "detector", "exposure"),
multiple=False
)

Definition at line 50 of file defects.py.

◆ nPixBorderLeftRight

lsst.cp.pipe.defects.MeasureDefectsTaskConfig.nPixBorderLeftRight
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Number of pixels to exclude from left & right of image when looking for defects.",
default=7,
)

Definition at line 95 of file defects.py.

◆ nPixBorderUpDown

lsst.cp.pipe.defects.MeasureDefectsTaskConfig.nPixBorderUpDown
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Number of pixels to exclude from top & bottom of image when looking for defects.",
default=7,
)

Definition at line 90 of file defects.py.

◆ nSigmaBright

lsst.cp.pipe.defects.MeasureDefectsTaskConfig.nSigmaBright
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=("Number of sigma above mean for bright pixel detection. The default value was found to be",
" appropriate for some LSST sensors in DM-17490."),
default=4.8,
)

Definition at line 78 of file defects.py.

◆ nSigmaDark

lsst.cp.pipe.defects.MeasureDefectsTaskConfig.nSigmaDark
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=("Number of sigma below mean for dark pixel detection. The default value was found to be",
" appropriate for some LSST sensors in DM-17490."),
default=-5.0,
)

Definition at line 84 of file defects.py.

◆ outputDefects

lsst.cp.pipe.defects.MeasureDefectsConnections.outputDefects
staticinherited
Initial value:
= cT.Output(
name="singleExpDefects",
doc="Output measured defects.",
storageClass="Defects",
dimensions=("instrument", "detector", "exposure"),
)

Definition at line 66 of file defects.py.


The documentation for this class was generated from the following file: