lsst.meas.algorithms g1581cd22ba+5952b5fc83
Loading...
Searching...
No Matches
lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig Class Reference
Inheritance diagram for lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig:

Public Member Functions

 validate (self)
 

Static Public Attributes

 maxAdaptiveDetIter
 
 maxNumPeakPerBand
 
 minFootprint
 
 maxPeakToFootRatio
 
 minIsolated
 
 sufficientIsolated
 
 sufficientFractionIsolated
 

Detailed Description

Configuration for AdaptiveThresholdDetectionTask

Definition at line 35 of file adaptive_thresholds.py.

Member Function Documentation

◆ validate()

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.validate ( self)

Definition at line 79 of file adaptive_thresholds.py.

Member Data Documentation

◆ maxAdaptiveDetIter

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.maxAdaptiveDetIter
static
Initial value:
= Field(dtype=int, default=20,
doc="Maximum number of adaptive threshold detection iterations.")

Definition at line 38 of file adaptive_thresholds.py.

◆ maxNumPeakPerBand

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.maxNumPeakPerBand
static
Initial value:
= DictField(
keytype=str,
itemtype=int,
default={
"u": 3000,
"g": 3000,
"r": 3000,
"i": 5000,
"z": 5000,
"y": 3000,
"fallback": 5000,
},
doc="Maximum number of peaks per band. If the current band for the exposure "
"is not included as a key in this dict, the value associated with the "
"'fallback' key will be used.",
)

Definition at line 40 of file adaptive_thresholds.py.

◆ maxPeakToFootRatio

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.maxPeakToFootRatio
static
Initial value:
= Field(dtype=float, default=800.0,
doc="Maximum ratio of the number of peaks per footprint considered "
"sufficient to exit the iteration loop. This helps guard against "
"large contiguous footprints leaving no isolated sources for "
"inclusion in the PSF modeling.")

Definition at line 61 of file adaptive_thresholds.py.

◆ minFootprint

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.minFootprint
static
Initial value:
= Field(dtype=int, default=15,
doc="Minimum number of footprints considered sufficient to exit the "
"iteration loop. This should be larger than or equal to ``minIsolated`` as "
"it does not take into account whether any given footprint is multi-peaked "
"(i.e. blended thus not providing any isolated sources for PSF modeling.)")

Definition at line 56 of file adaptive_thresholds.py.

◆ minIsolated

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.minIsolated
static
Initial value:
= Field(dtype=int, default=6,
doc="Minimum number of single-peaked (i.e. isolated) footprints "
"considered sufficient to exit the iteration loop. This should be "
"larger than the minimum number of sources desired for PSF modeling "
"since some may be rejected by the source selector.")

Definition at line 66 of file adaptive_thresholds.py.

◆ sufficientFractionIsolated

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.sufficientFractionIsolated
static
Initial value:
= Field(dtype=float, default=0.45,
doc="Fraction of single-peaked (isolated) footprints considered "
"sufficient to exit the iteration loop.")

Definition at line 75 of file adaptive_thresholds.py.

◆ sufficientIsolated

lsst.meas.algorithms.adaptive_thresholds.AdaptiveThresholdDetectionConfig.sufficientIsolated
static
Initial value:
= Field(dtype=int, default=100,
doc="Number of single-peaked (isolated) footprints considered "
"sufficient to exit the iteration loop. Must be larger than "
"``minIsolated``.")

Definition at line 71 of file adaptive_thresholds.py.


The documentation for this class was generated from the following file: