DonutDetectDiameterConfig#
- class lsst.ts.wep.task.DonutDetectDiameterConfig(*args, **kw)#
Bases:
ConfigConfiguration for
DonutDetectDiameterTask.Attributes Summary
Number of ladder steps beyond each annulus's outer radius to include (together with the inner hole) when estimating the local background for the zero-mean matched filter.
Mask plane names treated as bad.
Largest donut diameter to probe, in full-res pixels.
Smallest donut diameter to probe, in full-res pixels.
Integer factor to bin the image before correlation.
Width of detector edge region to exclude, in full-res pixels.
Noise floor added to the local image energy in the normalized cross-correlation denominator, as a fraction of the median local energy across the map.
Inner/outer diameter ratio (central obscuration) of the donut.
Number of binned pixels to clip from the likeness map edges (where the correlation is biased by zero-padding).
Minimum likeness (cosine shape-agreement score) for a peak to be kept.
Maximum number of donut candidates to pool the sizing curve over.
Minimum separation between candidate peaks, in units of the winning (per-peak) binned donut diameter.
ratio = (1/innerFrac)**(1/k).
Minimum matched-filter SNR (at the winning diameter) for a peak to be kept.
Subtract the column median from the binned image before correlation.
Methods Summary
validate()Validate the config field values.
Attributes Documentation
- backgroundSteps: pexConfig.Field#
Number of ladder steps beyond each annulus’s outer radius to include (together with the inner hole) when estimating the local background for the zero-mean matched filter. Larger values sample more background (lower noise) but reach further into neighbours in crowded fields. (
int, default2)
- badPixelTypes: pexConfig.ListField#
Mask plane names treated as bad. Matching pixels are zeroed before binning and correlation (see _prepImage). (
List, default['SAT', 'BAD', 'NO_DATA', 'INTRP'])
- dMaxFull: pexConfig.Field#
Largest donut diameter to probe, in full-res pixels. (
float, default480.0)
- dMinFull: pexConfig.Field#
Smallest donut diameter to probe, in full-res pixels. (
float, default30.0)
- detectionBinning: pexConfig.Field#
Integer factor to bin the image before correlation. (
int, default8)
- edgeMargin: pexConfig.Field#
Width of detector edge region to exclude, in full-res pixels. (
int, default1)
- energyFloorFactor: pexConfig.Field#
Noise floor added to the local image energy in the normalized cross-correlation denominator, as a fraction of the median local energy across the map. Prevents flat/empty regions (tiny energy) from producing spuriously high cosine scores. 0 disables the floor (pure cosine similarity). (
float, default0.1)
- innerFrac: pexConfig.Field#
Inner/outer diameter ratio (central obscuration) of the donut. (
float, default0.61)
- likenessEdgeClip: pexConfig.Field#
Number of binned pixels to clip from the likeness map edges (where the correlation is biased by zero-padding). (
int, default10)
- likenessThreshold: pexConfig.Field#
Minimum likeness (cosine shape-agreement score) for a peak to be kept. Rejects wrong-shape features at any brightness. Set <= 0 to disable. (
float, default0.6)
- nPeaks: pexConfig.Field#
Maximum number of donut candidates to pool the sizing curve over. (
int, default5)
- peakMinSeparationFactor: pexConfig.Field#
Minimum separation between candidate peaks, in units of the winning (per-peak) binned donut diameter. Declusters extended features. (
float, default1.0)
- rootOrder: pexConfig.Field#
ratio = (1/innerFrac)**(1/k). Larger k -> finer diameter sampling at proportionally higher cost. (
int, default5)- Type:
Root order k for the diameter ladder
- snrThreshold: pexConfig.Field#
Minimum matched-filter SNR (at the winning diameter) for a peak to be kept. Rejects noise peaks at any shape. Set <= 0 to disable. (
float, default15.0)
- subtractColumnMedian: pexConfig.Field#
Subtract the column median from the binned image before correlation. (
bool, defaultFalse)
Methods Documentation