CutDonutStampsConfig#
- class lsst.ts.wep.blitz.CutDonutStampsConfig(*args, **kw)#
Bases:
ConfigConfig for cutting donut stamps and evaluating rejection criteria.
Attributes Summary
Reject a donut if |inner_frac| exceeds this.
Maximum number of accepted donuts to keep per detector, brightest-first.
Maximum number of quality-rejected donuts to keep per detector (brightest-first) for downstream diagnostics.
Reject a donut if its SNR falls below this.
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.
Reject a donut if |outer_frac| exceeds this.
stampSize/2 >= donut_radius * (1 + apertureMarginFrac).
Attributes Documentation
- innerFracThreshold: pexConfig.Field[float]#
Reject a donut if |inner_frac| exceeds this. (
float, default0.1)
- maxDonuts: pexConfig.Field[int]#
Maximum number of accepted donuts to keep per detector, brightest-first. (
int, default8)
- maxRejectDonuts: pexConfig.Field[int]#
Maximum number of quality-rejected donuts to keep per detector (brightest-first) for downstream diagnostics. (
int, default8)
- minStampSnr: pexConfig.Field[float]#
Reject a donut if its SNR falls below this. (
float, default100.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, default1.0)
- outerFracThreshold: pexConfig.Field[float]#
Reject a donut if |outer_frac| exceeds this. (
float, default0.1)
- stampSize: pexConfig.Field[int]#
stampSize/2 >= donut_radius * (1 + apertureMarginFrac). (
int, default167)- 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