DonutStampSelectorTaskConfig#
- class lsst.ts.wep.task.DonutStampSelectorTaskConfig(*args, **kw)#
Bases:
ConfigAttributes Summary
Do any donut stamp selection? If this is False then we return the donut quality table, but allow all donut stamps to be selected.
The entropy threshold to use (keep donuts only below the threshold).
Maximum fraction of bad pixels in selected donuts.
Min of the gradient of the stamp power spectrum (at k < 10).
Maximum number of donut stamps to select.
The minimum signal to noise threshold to use (keep donuts only above the value).
Whether to use entropy in deciding to use the donut.
Whether to use fraction of bad pixels in deciding to use the donut.
Whether to use the max of the gradient of the stamp power spectrum (at k < 10) to select donuts.
Whether to use the recenter flags from cutOutDonutsBase to reject donuts that had recentering issues.
Whether to use signal to noise ratio in deciding to use the donut.
Apply user-defined signal to noise minimum cutoff? If this is False then the code will default to use the minimum values in snLimitStar.yaml.
Attributes Documentation
-
doSelection:
Field# Do any donut stamp selection? If this is False then we return the donut quality table, but allow all donut stamps to be selected. (
bool, defaultTrue)
-
maxEntropy:
Field# The entropy threshold to use (keep donuts only below the threshold). (
float, default3.5)
-
maxPowerGradThresh:
Field# Min of the gradient of the stamp power spectrum (at k < 10). the stamp’s MAX_POWER_GRAD must be above this minimum value to be selected. (
float, default0.0001)
-
maxSelect:
Field# Maximum number of donut stamps to select. If -1, all are selected. (
int, default5)
-
minSignalToNoise:
Field# The minimum signal to noise threshold to use (keep donuts only above the value). This is used only if useCustomSnLimit is True. If used, it overrides values from snLimitStar.yaml. (
float, default600)
-
selectWithEntropy:
Field# Whether to use entropy in deciding to use the donut. (
bool, defaultFalse)
-
selectWithFracBadPixels:
Field# Whether to use fraction of bad pixels in deciding to use the donut. Bad pixels correspond to mask values of ‘SAT’, ‘BAD’, ‘NO_DATA’. (
bool, defaultTrue)
-
selectWithMaxPowerGrad:
Field# Whether to use the max of the gradient of the stamp power spectrum (at k < 10) to select donuts. By setting this to a low positive value, this ensures the stamp power spectrum is not monotonically decreasing within the tolerace specified by maxPowerGradThresh. This makes sure we select stamps whose power isn’t all at large scales, as these stamps lack sharp(-ish) donut edges. This is designed to reject galaxy-donuts which are very blurry and therefore have most of their power at low k. (
bool, defaultTrue)
-
selectWithRecenterFlags:
Field# Whether to use the recenter flags from cutOutDonutsBase to reject donuts that had recentering issues. If True, any donut with a non-zero recenter flag will be rejected. (
bool, defaultTrue)
-
doSelection: