CullPeaksConfig#
- class lsst.pipe.tasks.multiBandUtils.CullPeaksConfig(*args, **kw)#
Bases:
ConfigConfiguration for culling garbage peaks after merging footprints.
Peaks may also be culled after detection or during deblending; this configuration object only deals with culling after merging Footprints.
- These cuts are based on three quantities:
nBands: the number of bands in which the peak was detected
peakRank: the position of the peak within its family, sorted from brightest to faintest.
peakRankNormalized: the peak rank divided by the total number of peaks in the family.
The formula that identifie peaks to cull is:
- nBands < nBandsSufficient
AND (rank >= rankSufficient) AND (rank >= rankConsider OR rank >= rankNormalizedConsider)
To disable peak culling, simply set nBandsSufficient=1.
Attributes Summary
Always keep peaks detected in this many bands (
int, default2)Keep peaks with less than this rank that also match the rankNormalizedConsidered condition.
Keep peaks with less than this normalized rank that also match the rankConsidered condition.
Always keep this many peaks in each family (
int, default20)Attributes Documentation
- nBandsSufficient#
Always keep peaks detected in this many bands (
int, default2)Valid Range = [1,inf)
- rankConsidered#
Keep peaks with less than this rank that also match the rankNormalizedConsidered condition. (
int, default30)Valid Range = [1,inf)
- rankNormalizedConsidered#
Keep peaks with less than this normalized rank that also match the rankConsidered condition. (
float, default0.7)Valid Range = [0.0,inf)
- rankSufficient#
Always keep this many peaks in each family (
int, default20)Valid Range = [1,inf)