CutDonutStampsConfig#

class lsst.ts.wep.blitz.CutDonutStampsConfig(*args, **kw)#

Bases: Config

Config for cutting donut stamps and evaluating rejection criteria.

Attributes Summary

innerFracThreshold

Reject a donut if |inner_frac| exceeds this.

maxDonuts

Maximum number of accepted donuts to keep per detector, brightest-first.

maxRejectDonuts

Maximum number of quality-rejected donuts to keep per detector (brightest-first) for downstream diagnostics.

minStampSnr

Reject a donut if its SNR falls below this.

outerAsymThreshold

Reject a donut if outer_asym exceeds this -- that is, if the outer background annulus is azimuthally lopsided by more than this fraction of the donut's flux.

outerFracThreshold

Reject a donut if |outer_frac| exceeds this.

stampSize

stampSize/2 >= donut_radius * (1 + apertureMarginFrac).

Attributes Documentation

innerFracThreshold: pexConfig.Field[float]#

Reject a donut if |inner_frac| exceeds this. (float, default 0.1)

maxDonuts: pexConfig.Field[int]#

Maximum number of accepted donuts to keep per detector, brightest-first. (int, default 8)

maxRejectDonuts: pexConfig.Field[int]#

Maximum number of quality-rejected donuts to keep per detector (brightest-first) for downstream diagnostics. (int, default 8)

minStampSnr: pexConfig.Field[float]#

Reject a donut if its SNR falls below this. (float, default 100.0)

outerAsymThreshold: pexConfig.Field[float]#

Reject a donut if outer_asym exceeds this – that is, if the outer background annulus is azimuthally lopsided by more than this fraction of the donut’s flux. (float, default 1.0)

outerFracThreshold: pexConfig.Field[float]#

Reject a donut if |outer_frac| exceeds this. (float, default 0.1)

stampSize: pexConfig.Field[int]#

stampSize/2 >= donut_radius * (1 + apertureMarginFrac). (int, default 167)

Type:

Side length in pixels of the square stamp cut around each donut centroid. The binned size (stampSize // binning) must be odd for the Danish fitting stage. The default 167 bins down to odd sizes for binnings of 1 through 7 (167/83/55/41/33/27/23). The binning stage forces the result to be odd if needed. Must also be large enough to contain the main photometric annulus