lsst.ip.diffim  16.0-14-g8a3b804
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.ip.diffim.psfMatch.PsfMatchConfigAL Class Reference

The parameters specific to the "Alard-Lupton" (sum-of-Gaussian) Psf-matching basis. More...

Inheritance diagram for lsst.ip.diffim.psfMatch.PsfMatchConfigAL:
lsst.ip.diffim.psfMatch.PsfMatchConfig lsst.ip.diffim.snapPsfMatch.SnapPsfMatchConfigAL

Public Member Functions

def setDefaults (self)
 

Public Attributes

 kernelBasisSet
 
 maxConditionNumber
 

Static Public Attributes

 alardNGauss
 
 alardDegGauss
 
 alardSigGauss
 
 alardGaussBeta
 
 alardMinSig
 
 alardDegGaussDeconv
 
 alardMinSigDeconv
 
 alardNGaussDeconv
 
 warpingConfig
 
 detectionConfig
 
 afwBackgroundConfig
 
 useAfwBackground
 
 fitForBackground
 
 kernelSize
 
 scaleByFwhm
 
 kernelSizeFwhmScaling
 
 kernelSizeMin
 
 kernelSizeMax
 
 spatialModelType
 
 spatialKernelOrder
 
 spatialBgOrder
 
 sizeCellX
 
 sizeCellY
 
 nStarPerCell
 
 maxSpatialIterations
 
 usePcaForSpatialKernel
 
 subtractMeanForPca
 
 numPrincipalComponents
 
 singleKernelClipping
 
 kernelSumClipping
 
 spatialKernelClipping
 
 checkConditionNumber
 
 badMaskPlanes
 
 candidateResidualMeanMax
 
 candidateResidualStdMax
 
 useCoreStats
 
 candidateCoreRadius
 
 maxKsumSigma
 
 conditionNumberType
 
 maxSpatialConditionNumber
 
 iterateSingleKernel
 
 constantVarianceWeighting
 
 calculateKernelUncertainty
 
 useBicForKernelBasis
 

Detailed Description

The parameters specific to the "Alard-Lupton" (sum-of-Gaussian) Psf-matching basis.

Definition at line 368 of file psfMatch.py.

Member Function Documentation

◆ setDefaults()

def lsst.ip.diffim.psfMatch.PsfMatchConfigAL.setDefaults (   self)

Definition at line 371 of file psfMatch.py.

Member Data Documentation

◆ afwBackgroundConfig

lsst.ip.diffim.psfMatch.PsfMatchConfig.afwBackgroundConfig
staticinherited
Initial value:
= pexConfig.ConfigField("Controlling the Afw background fitting",
SubtractBackgroundConfig)

Definition at line 130 of file psfMatch.py.

◆ alardDegGauss

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardDegGauss
static
Initial value:
= pexConfig.ListField(
dtype=int,
doc="Polynomial order of spatial modification of Gaussians. Must in number equal alardNGauss",
default=(4, 2, 2),
)

Definition at line 382 of file psfMatch.py.

◆ alardDegGaussDeconv

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardDegGaussDeconv
static
Initial value:
= pexConfig.Field(
dtype=int,
doc=,
default=3,
check=lambda x: x >= 1
)

Definition at line 404 of file psfMatch.py.

◆ alardGaussBeta

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardGaussBeta
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=2.0,
check=lambda x: x >= 0.0,
)

Definition at line 392 of file psfMatch.py.

◆ alardMinSig

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardMinSig
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=0.7,
check=lambda x: x >= 0.25
)

Definition at line 398 of file psfMatch.py.

◆ alardMinSigDeconv

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardMinSigDeconv
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=0.4,
check=lambda x: x >= 0.25
)

Definition at line 410 of file psfMatch.py.

◆ alardNGauss

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardNGauss
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Number of Gaussians in alard-lupton basis",
default=3,
check=lambda x: x >= 1
)

Definition at line 376 of file psfMatch.py.

◆ alardNGaussDeconv

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardNGaussDeconv
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Number of Gaussians in AL basis during deconvolution",
default=3,
check=lambda x: x >= 1
)

Definition at line 417 of file psfMatch.py.

◆ alardSigGauss

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.alardSigGauss
static
Initial value:
= pexConfig.ListField(
dtype=float,
doc=,
default=(0.7, 1.5, 3.0),
)

Definition at line 387 of file psfMatch.py.

◆ badMaskPlanes

lsst.ip.diffim.psfMatch.PsfMatchConfig.badMaskPlanes
staticinherited
Initial value:
= pexConfig.ListField(
dtype=str,
doc=,
default=("NO_DATA", "EDGE", "SAT")
)

Definition at line 277 of file psfMatch.py.

◆ calculateKernelUncertainty

lsst.ip.diffim.psfMatch.PsfMatchConfig.calculateKernelUncertainty
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=False,
)

Definition at line 354 of file psfMatch.py.

◆ candidateCoreRadius

lsst.ip.diffim.psfMatch.PsfMatchConfig.candidateCoreRadius
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc=,
default=3,
check=lambda x: x >= 1
)

Definition at line 305 of file psfMatch.py.

◆ candidateResidualMeanMax

lsst.ip.diffim.psfMatch.PsfMatchConfig.candidateResidualMeanMax
staticinherited
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=0.25,
check=lambda x: x >= 0.0
)

Definition at line 283 of file psfMatch.py.

◆ candidateResidualStdMax

lsst.ip.diffim.psfMatch.PsfMatchConfig.candidateResidualStdMax
staticinherited
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=1.50,
check=lambda x: x >= 0.0
)

Definition at line 291 of file psfMatch.py.

◆ checkConditionNumber

lsst.ip.diffim.psfMatch.PsfMatchConfig.checkConditionNumber
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=False,
)

Definition at line 268 of file psfMatch.py.

◆ conditionNumberType

lsst.ip.diffim.psfMatch.PsfMatchConfig.conditionNumberType
staticinherited
Initial value:
= pexConfig.ChoiceField(
dtype=str,
doc="Use singular values (SVD) or eigen values (EIGENVALUE) to determine condition number",
default="EIGENVALUE",
allowed={
"SVD": "Use singular values",
"EIGENVALUE": "Use eigen values (faster)",
}
)

Definition at line 327 of file psfMatch.py.

◆ constantVarianceWeighting

lsst.ip.diffim.psfMatch.PsfMatchConfig.constantVarianceWeighting
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=True,
)

Definition at line 348 of file psfMatch.py.

◆ detectionConfig

lsst.ip.diffim.psfMatch.PsfMatchConfig.detectionConfig
staticinherited
Initial value:
= pexConfig.ConfigField("Controlling the detection of sources for kernel building",
DetectionConfig)

Definition at line 128 of file psfMatch.py.

◆ fitForBackground

lsst.ip.diffim.psfMatch.PsfMatchConfig.fitForBackground
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Include terms (including kernel cross terms) for background in ip_diffim",
default=False,
)

Definition at line 138 of file psfMatch.py.

◆ iterateSingleKernel

lsst.ip.diffim.psfMatch.PsfMatchConfig.iterateSingleKernel
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=False,
)

Definition at line 342 of file psfMatch.py.

◆ kernelBasisSet

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.kernelBasisSet

Definition at line 373 of file psfMatch.py.

◆ kernelSize

lsst.ip.diffim.psfMatch.PsfMatchConfig.kernelSize
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc=,
default=21,
)

Definition at line 158 of file psfMatch.py.

◆ kernelSizeFwhmScaling

lsst.ip.diffim.psfMatch.PsfMatchConfig.kernelSizeFwhmScaling
staticinherited
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=6.0,
check=lambda x: x >= 1.0
)

Definition at line 169 of file psfMatch.py.

◆ kernelSizeMax

lsst.ip.diffim.psfMatch.PsfMatchConfig.kernelSizeMax
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc=,
default=35,
)

Definition at line 180 of file psfMatch.py.

◆ kernelSizeMin

lsst.ip.diffim.psfMatch.PsfMatchConfig.kernelSizeMin
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc=,
default=21,
)

Definition at line 175 of file psfMatch.py.

◆ kernelSumClipping

lsst.ip.diffim.psfMatch.PsfMatchConfig.kernelSumClipping
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Do sigma clipping on the ensemble of kernel sums",
default=True,
)

Definition at line 258 of file psfMatch.py.

◆ maxConditionNumber

lsst.ip.diffim.psfMatch.PsfMatchConfigAL.maxConditionNumber

Definition at line 374 of file psfMatch.py.

◆ maxKsumSigma

lsst.ip.diffim.psfMatch.PsfMatchConfig.maxKsumSigma
staticinherited
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=3.0,
check=lambda x: x >= 0.0
)

Definition at line 314 of file psfMatch.py.

◆ maxSpatialConditionNumber

lsst.ip.diffim.psfMatch.PsfMatchConfig.maxSpatialConditionNumber
staticinherited
Initial value:
= pexConfig.Field(
dtype=float,
doc="Maximum condition number for a well conditioned spatial matrix",
default=1.0e10,
check=lambda x: x >= 0.0
)

Definition at line 336 of file psfMatch.py.

◆ maxSpatialIterations

lsst.ip.diffim.psfMatch.PsfMatchConfig.maxSpatialIterations
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc="Maximum number of iterations for rejecting bad KernelCandidates in spatial fitting",
default=3,
check=lambda x: x >= 1 and x <= 5
)

Definition at line 224 of file psfMatch.py.

◆ nStarPerCell

lsst.ip.diffim.psfMatch.PsfMatchConfig.nStarPerCell
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc="Number of KernelCandidates in each SpatialCell to use in the spatial fitting",
default=3,
check=lambda x: x >= 1
)

Definition at line 218 of file psfMatch.py.

◆ numPrincipalComponents

lsst.ip.diffim.psfMatch.PsfMatchConfig.numPrincipalComponents
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc=,
default=5,
check=lambda x: x >= 3
)

Definition at line 246 of file psfMatch.py.

◆ scaleByFwhm

lsst.ip.diffim.psfMatch.PsfMatchConfig.scaleByFwhm
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Scale kernelSize, alardGaussians by input Fwhm",
default=True,
)

Definition at line 164 of file psfMatch.py.

◆ singleKernelClipping

lsst.ip.diffim.psfMatch.PsfMatchConfig.singleKernelClipping
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Do sigma clipping on each raw kernel candidate",
default=True,
)

Definition at line 253 of file psfMatch.py.

◆ sizeCellX

lsst.ip.diffim.psfMatch.PsfMatchConfig.sizeCellX
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc="Size (rows) in pixels of each SpatialCell for spatial modeling",
default=128,
check=lambda x: x >= 32
)

Definition at line 206 of file psfMatch.py.

◆ sizeCellY

lsst.ip.diffim.psfMatch.PsfMatchConfig.sizeCellY
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc="Size (columns) in pixels of each SpatialCell for spatial modeling",
default=128,
check=lambda x: x >= 32
)

Definition at line 212 of file psfMatch.py.

◆ spatialBgOrder

lsst.ip.diffim.psfMatch.PsfMatchConfig.spatialBgOrder
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc="Spatial order of differential background variation",
default=1,
check=lambda x: x >= 0
)

Definition at line 200 of file psfMatch.py.

◆ spatialKernelClipping

lsst.ip.diffim.psfMatch.PsfMatchConfig.spatialKernelClipping
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Do sigma clipping after building the spatial model",
default=True,
)

Definition at line 263 of file psfMatch.py.

◆ spatialKernelOrder

lsst.ip.diffim.psfMatch.PsfMatchConfig.spatialKernelOrder
staticinherited
Initial value:
= pexConfig.Field(
dtype=int,
doc="Spatial order of convolution kernel variation",
default=2,
check=lambda x: x >= 0
)

Definition at line 194 of file psfMatch.py.

◆ spatialModelType

lsst.ip.diffim.psfMatch.PsfMatchConfig.spatialModelType
staticinherited
Initial value:
= pexConfig.ChoiceField(
dtype=str,
doc="Type of spatial functions for kernel and background",
default="chebyshev1",
allowed={
"chebyshev1": "Chebyshev polynomial of the first kind",
"polynomial": "Standard x,y polynomial",
}
)

Definition at line 185 of file psfMatch.py.

◆ subtractMeanForPca

lsst.ip.diffim.psfMatch.PsfMatchConfig.subtractMeanForPca
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Subtract off the mean feature before doing the Pca",
default=True,
)

Definition at line 241 of file psfMatch.py.

◆ useAfwBackground

lsst.ip.diffim.psfMatch.PsfMatchConfig.useAfwBackground
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Use afw background subtraction instead of ip_diffim",
default=False,
)

Definition at line 133 of file psfMatch.py.

◆ useBicForKernelBasis

lsst.ip.diffim.psfMatch.PsfMatchConfig.useBicForKernelBasis
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=False,
)

Definition at line 361 of file psfMatch.py.

◆ useCoreStats

lsst.ip.diffim.psfMatch.PsfMatchConfig.useCoreStats
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=False,
)

Definition at line 299 of file psfMatch.py.

◆ usePcaForSpatialKernel

lsst.ip.diffim.psfMatch.PsfMatchConfig.usePcaForSpatialKernel
staticinherited
Initial value:
= pexConfig.Field(
dtype=bool,
doc=,
default=False,
)

Definition at line 230 of file psfMatch.py.

◆ warpingConfig

lsst.ip.diffim.psfMatch.PsfMatchConfig.warpingConfig
staticinherited
Initial value:
= pexConfig.ConfigField("Config for warping exposures to a common alignment",
afwMath.warper.WarperConfig)

Definition at line 126 of file psfMatch.py.


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