MergeDefectsTaskConfig#
- class lsst.cp.pipe.MergeDefectsTaskConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfiguration for merging single exposure defects.
Attributes Summary
Ensure that all visits are from the same run? Raises if this is not the case, or if the run key isn't found.
The fraction (0..1) of visits in which a pixel was found to be defective across the visit list in order to be marked as a defect.
Which types of defects to identify (
str, default'FRACTION')Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Mark all edge pixels, as defined by nPixBorder[UpDown, LeftRight], as defects.
Set the filters used in the CALIB_ID to NONE regardless of the filters on the input images.
Number of pixels on left & right of image to mask as defects if edgesAsDefects is True.
Number of pixels on top & bottom of image to mask as defects if edgesAsDefects is True.
The name of the null filter if ignoreFilters is True.
Flag to enable/disable saving of log output for a task, enabled by default.
Attributes Documentation
- assertSameRun#
Ensure that all visits are from the same run? Raises if this is not the case, or if the run key isn’t found. (
bool, defaultFalse)
- combinationFraction#
The fraction (0..1) of visits in which a pixel was found to be defective across the visit list in order to be marked as a defect. Note, upper bound is exclusive, so use mode AND to require pixel to appear in all images. (
float, default0.7)Valid Range = [0,1)
- combinationMode#
Which types of defects to identify (
str, default'FRACTION')Allowed values:
'AND'Logical AND the pixels found in each visit to form set
'OR'Logical OR the pixels found in each visit to form set
'FRACTION'Use pixels found in more than config.combinationFraction of visits
'None'Field is optional
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- edgesAsDefects#
Mark all edge pixels, as defined by nPixBorder[UpDown, LeftRight], as defects. (
bool, defaultFalse)
- ignoreFilters#
Set the filters used in the CALIB_ID to NONE regardless of the filters on the input images. Allows mixing of filters in the input flats. Set to False if you think your defects might be chromatic and want to have registry support for varying defects with respect to filter. (
bool, defaultTrue)
- nPixBorderLeftRight#
Number of pixels on left & right of image to mask as defects if edgesAsDefects is True. (
int, default5)
- nPixBorderUpDown#
Number of pixels on top & bottom of image to mask as defects if edgesAsDefects is True. (
int, default5)
- nullFilterName#
The name of the null filter if ignoreFilters is True. Usually something like NONE or EMPTY (
str, default'NONE')
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)