DonutStampSelectorTaskConfig#

class lsst.ts.wep.task.DonutStampSelectorTaskConfig(*args, **kw)#

Bases: Config

Attributes Summary

doSelection

Do any donut stamp selection? If this is False then we return the donut quality table, but allow all donut stamps to be selected.

maxEntropy

The entropy threshold to use (keep donuts only below the threshold).

maxFracBadPixels

Maximum fraction of bad pixels in selected donuts.

maxPowerGradThresh

Min of the gradient of the stamp power spectrum (at k < 10).

maxSelect

Maximum number of donut stamps to select.

minSignalToNoise

The minimum signal to noise threshold to use (keep donuts only above the value).

selectWithEntropy

Whether to use entropy in deciding to use the donut.

selectWithFracBadPixels

Whether to use fraction of bad pixels in deciding to use the donut.

selectWithMaxPowerGrad

Whether to use the max of the gradient of the stamp power spectrum (at k < 10) to select donuts.

selectWithRecenterFlags

Whether to use the recenter flags from cutOutDonutsBase to reject donuts that had recentering issues.

selectWithSignalToNoise

Whether to use signal to noise ratio in deciding to use the donut.

useCustomSnLimit

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, default True)

maxEntropy: Field#

The entropy threshold to use (keep donuts only below the threshold). (float, default 3.5)

maxFracBadPixels: Field#

Maximum fraction of bad pixels in selected donuts. (float, default 0.0)

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, default 0.0001)

maxSelect: Field#

Maximum number of donut stamps to select. If -1, all are selected. (int, default 5)

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, default 600)

selectWithEntropy: Field#

Whether to use entropy in deciding to use the donut. (bool, default False)

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, default True)

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, default True)

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, default True)

selectWithSignalToNoise: Field#

Whether to use signal to noise ratio in deciding to use the donut. By default the values from snLimitStar.yaml config file are used. (bool, default True)

useCustomSnLimit: Field#

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. (bool, default False)