LSST Applications g1635faa6d4+215bc75b8c,g1653933729+a8ce1bb630,g22ce9dc20b+d972d8df89,g28da252d5a+0fcf840c6d,g29321ee8c0+e558be0e74,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+2a6f257a1d,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g7ab3e175f3+59ce30aec6,g80478fca09+f8b2ab54e1,g82479be7b0+ba9d578ff8,g858d7b2824+d972d8df89,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+630363936d,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gb9c6c11c1e+9553554aa7,gbd46683f8f+0c4209622a,gc28159a63d+9634bc57db,gcf0d15dbbd+2db122af0a,gda3e153d99+d972d8df89,gda6a2b7d83+2db122af0a,gdaeeff99f8+1711a396fd,ge2409df99d+d1dc2f3b25,ge33fd446bb+d972d8df89,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+02b11634a5,w.2024.45
LSST Data Management Base Package
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig Class Reference
Inheritance diagram for lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig:

Static Public Attributes

 edgeHandling
 
 strayFluxToPointSources
 
 assignStrayFlux
 
 strayFluxRule
 
 clipStrayFluxFraction
 
 psfChisq1
 
 psfChisq2
 
 psfChisq2b
 
 maxNumberOfPeaks
 
 maxFootprintArea
 
 maxFootprintSize
 
 minFootprintAxisRatio
 
 notDeblendedMask
 
 tinyFootprintSize
 
 propagateAllPeaks
 
 catchFailures
 
 maskPlanes
 
 maskLimits
 
 weightTemplates
 
 removeDegenerateTemplates
 
 maxTempDotProd
 
 medianSmoothTemplate
 
 useCiLimits
 
 ciDeblendChildRange
 
 ciNumParentsToDeblend
 

Detailed Description

Definition at line 38 of file sourceDeblendTask.py.

Member Data Documentation

◆ assignStrayFlux

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.assignStrayFlux
static
Initial value:
= pexConfig.Field(dtype=bool, default=True,
doc='Assign stray flux (not claimed by any child in the deblender) '
'to deblend children.')

Definition at line 61 of file sourceDeblendTask.py.

◆ catchFailures

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.catchFailures
static
Initial value:
= pexConfig.Field(
dtype=bool,
default=True,
doc=("If True, catch exceptions thrown by the deblender, log them, "
"and set a flag on the parent, instead of letting them propagate up."))

Definition at line 113 of file sourceDeblendTask.py.

◆ ciDeblendChildRange

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.ciDeblendChildRange
static
Initial value:
= pexConfig.ListField(
dtype=int, default=[2, 10],
doc="Only deblend parent Footprints with a number of peaks in the (inclusive) range indicated."
"If `useCiLimits==False` then this parameter is ignored.")

Definition at line 153 of file sourceDeblendTask.py.

◆ ciNumParentsToDeblend

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.ciNumParentsToDeblend
static
Initial value:
= pexConfig.Field(
dtype=int, default=10,
doc="Only use the first `ciNumParentsToDeblend` parent footprints with a total peak count "
"within `ciDebledChildRange`. "
"If `useCiLimits==False` then this parameter is ignored.")

Definition at line 157 of file sourceDeblendTask.py.

◆ clipStrayFluxFraction

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.clipStrayFluxFraction
static
Initial value:
= pexConfig.Field(dtype=float, default=0.001,
doc=('When splitting stray flux, clip fractions below '
'this value to zero.'))

Definition at line 78 of file sourceDeblendTask.py.

◆ edgeHandling

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.edgeHandling
static
Initial value:
= pexConfig.ChoiceField(
doc='What to do when a peak to be deblended is close to the edge of the image',
dtype=str, default='ramp',
allowed={
'clip': 'Clip the template at the edge AND the mirror of the edge.',
'ramp': 'Ramp down flux at the image edge by the PSF',
'noclip': 'Ignore the edge when building the symmetric template.',
}
)

Definition at line 40 of file sourceDeblendTask.py.

◆ maskLimits

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.maskLimits
static
Initial value:
= pexConfig.DictField(
keytype=str,
itemtype=float,
default={"NO_DATA": 0.25},
doc=("Mask planes with the corresponding limit on the fraction of masked pixels. "
"Sources violating this limit will not be deblended. "
"Default rejects sources in vignetted regions."),
)

Definition at line 120 of file sourceDeblendTask.py.

◆ maskPlanes

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.maskPlanes
static
Initial value:
= pexConfig.ListField(dtype=str, default=["SAT", "INTRP", "NO_DATA"],
doc="Mask planes to ignore when performing statistics")

Definition at line 118 of file sourceDeblendTask.py.

◆ maxFootprintArea

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.maxFootprintArea
static
Initial value:
= pexConfig.Field(dtype=int, default=10000,
doc=("Maximum area for footprints before they are ignored as large; "
"non-positive means no threshold applied."
" Default value is to prevent excessive memory usage."))

Definition at line 93 of file sourceDeblendTask.py.

◆ maxFootprintSize

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.maxFootprintSize
static
Initial value:
= pexConfig.Field(dtype=int, default=0,
doc=("Maximum linear dimension for footprints before they are ignored "
"as large; non-positive means no threshold applied"))

Definition at line 97 of file sourceDeblendTask.py.

◆ maxNumberOfPeaks

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.maxNumberOfPeaks
static
Initial value:
= pexConfig.Field(dtype=int, default=0,
doc=("Only deblend the brightest maxNumberOfPeaks peaks in the parent"
" (<= 0: unlimited)"))

Definition at line 90 of file sourceDeblendTask.py.

◆ maxTempDotProd

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.maxTempDotProd
static
Initial value:
= pexConfig.Field(
dtype=float, default=0.5,
doc=("If the dot product between two templates is larger than this value, we consider them to be "
"describing the same object (i.e. they are degenerate). If one of the objects has been "
"labeled as a PSF it will be removed, otherwise the template with the lowest value will "
"be removed."))

Definition at line 134 of file sourceDeblendTask.py.

◆ medianSmoothTemplate

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.medianSmoothTemplate
static
Initial value:
= pexConfig.Field(dtype=bool, default=True,
doc="Apply a smoothing filter to all of the template images")

Definition at line 140 of file sourceDeblendTask.py.

◆ minFootprintAxisRatio

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.minFootprintAxisRatio
static
Initial value:
= pexConfig.Field(dtype=float, default=0.0,
doc=("Minimum axis ratio for footprints before they are ignored "
"as large; non-positive means no threshold applied"))

Definition at line 100 of file sourceDeblendTask.py.

◆ notDeblendedMask

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.notDeblendedMask
static
Initial value:
= pexConfig.Field(dtype=str, default="NOT_DEBLENDED", optional=True,
doc="Mask name for footprints not deblended, or None")

Definition at line 103 of file sourceDeblendTask.py.

◆ propagateAllPeaks

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.propagateAllPeaks
static
Initial value:
= pexConfig.Field(dtype=bool, default=False,
doc=('Guarantee that all peaks produce a child source.'))

Definition at line 111 of file sourceDeblendTask.py.

◆ psfChisq1

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.psfChisq1
static
Initial value:
= pexConfig.Field(dtype=float, default=1.5, optional=False,
doc=('Chi-squared per DOF cut for deciding a source is '
'a PSF during deblending (un-shifted PSF model)'))

Definition at line 81 of file sourceDeblendTask.py.

◆ psfChisq2

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.psfChisq2
static
Initial value:
= pexConfig.Field(dtype=float, default=1.5, optional=False,
doc=('Chi-squared per DOF cut for deciding a source is '
'PSF during deblending (shifted PSF model)'))

Definition at line 84 of file sourceDeblendTask.py.

◆ psfChisq2b

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.psfChisq2b
static
Initial value:
= pexConfig.Field(dtype=float, default=1.5, optional=False,
doc=('Chi-squared per DOF cut for deciding a source is '
'a PSF during deblending (shifted PSF model #2)'))

Definition at line 87 of file sourceDeblendTask.py.

◆ removeDegenerateTemplates

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.removeDegenerateTemplates
static
Initial value:
= pexConfig.Field(dtype=bool, default=False,
doc=("Try to remove similar templates?"))

Definition at line 132 of file sourceDeblendTask.py.

◆ strayFluxRule

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.strayFluxRule
static
Initial value:
= pexConfig.ChoiceField(
doc='How to split flux among peaks',
dtype=str, default='trim',
allowed={
'r-to-peak': '~ 1/(1+R^2) to the peak',
'r-to-footprint': ('~ 1/(1+R^2) to the closest pixel in the footprint. '
'CAUTION: this can be computationally expensive on large footprints!'),
'nearest-footprint': ('Assign 100% to the nearest footprint (using L-1 norm aka '
'Manhattan distance)'),
'trim': ('Shrink the parent footprint to pixels that are not assigned to children')
}
)

Definition at line 65 of file sourceDeblendTask.py.

◆ strayFluxToPointSources

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.strayFluxToPointSources
static
Initial value:
= pexConfig.ChoiceField(
doc='When the deblender should attribute stray flux to point sources',
dtype=str, default='necessary',
allowed={
'necessary': 'When there is not an extended object in the footprint',
'always': 'Always',
'never': ('Never; stray flux will not be attributed to any deblended child '
'if the deblender thinks all peaks look like point sources'),
}
)

Definition at line 50 of file sourceDeblendTask.py.

◆ tinyFootprintSize

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.tinyFootprintSize
static
Initial value:
= pexConfig.RangeField(dtype=int, default=2, min=2, inclusiveMin=True,
doc=('Footprints smaller in width or height than this value '
'will be ignored; minimum of 2 due to PSF gradient '
'calculation.'))

Definition at line 106 of file sourceDeblendTask.py.

◆ useCiLimits

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.useCiLimits
static
Initial value:
= pexConfig.Field(
dtype=bool, default=False,
doc="Limit the number of sources deblended for CI to prevent long build times")

Definition at line 150 of file sourceDeblendTask.py.

◆ weightTemplates

lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig.weightTemplates
static
Initial value:
= pexConfig.Field(
dtype=bool, default=False,
doc=("If true, a least-squares fit of the templates will be done to the "
"full image. The templates will be re-weighted based on this fit."))

Definition at line 128 of file sourceDeblendTask.py.


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