LSST Applications g0265f82a02+0e5473021a,g02d81e74bb+0dd8ce4237,g1470d8bcf6+3ea6592b6f,g2079a07aa2+86d27d4dc4,g2305ad1205+5ca4c0b359,g295015adf3+d10818ec9d,g2a9a014e59+6f9be1b9cd,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g3ddfee87b4+703ba97ebf,g487adcacf7+4fa16da234,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+ffa42b374e,g5a732f18d5+53520f316c,g64a986408d+0dd8ce4237,g858d7b2824+0dd8ce4237,g8a8a8dda67+585e252eca,g99cad8db69+d39438377f,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,ga8c6da7877+f1d96605c8,gb0e22166c9+60f28cb32d,gb6a65358fc+0e5473021a,gba4ed39666+c2a2e4ac27,gbb8dafda3b+e5339d463f,gc120e1dc64+da31e9920e,gc28159a63d+0e5473021a,gcf0d15dbbd+703ba97ebf,gdaeeff99f8+f9a426f77a,ge6526c86ff+889fc9d533,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gf18bd8381d+7268b93478,gff1a9f87cc+0dd8ce4237,w.2024.16
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.ip.diffim.psfMatch.PsfMatchConfigDF Class Reference
Inheritance diagram for lsst.ip.diffim.psfMatch.PsfMatchConfigDF:
lsst.ip.diffim.psfMatch.PsfMatchConfig

Public Member Functions

 setDefaults (self)
 

Public Attributes

 kernelBasisSet
 
 maxConditionNumber
 
 usePcaForSpatialKernel
 
 subtractMeanForPca
 
 useBicForKernelBasis
 

Static Public Attributes

 useRegularization
 
 regularizationType
 
 centralRegularizationStencil
 
 forwardRegularizationOrders
 
 regularizationBorderPenalty
 
 lambdaType
 
 lambdaValue
 
 lambdaScaling
 
 lambdaStepType
 
 lambdaMin
 
 lambdaMax
 
 lambdaStep
 

Detailed Description

The parameters specific to the delta-function (one basis per-pixel) Psf-matching basis

Definition at line 445 of file psfMatch.py.

Member Function Documentation

◆ setDefaults()

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.setDefaults ( self)

Definition at line 448 of file psfMatch.py.

448 def setDefaults(self):
449 PsfMatchConfig.setDefaults(self)
450 self.kernelBasisSet = "delta-function"
451 self.maxConditionNumber = 5.0e6
452 self.usePcaForSpatialKernel = True
453 self.subtractMeanForPca = True
454 self.useBicForKernelBasis = False
455

Member Data Documentation

◆ centralRegularizationStencil

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.centralRegularizationStencil
static
Initial value:
= pexConfig.ChoiceField(
dtype=int,
doc="Type of stencil to approximate central derivative (for centralDifference only)",
default=9,
allowed={
5: "5-point stencil including only adjacent-in-x,y elements",
9: "9-point stencil including diagonal elements"
}
)

Definition at line 470 of file psfMatch.py.

◆ forwardRegularizationOrders

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.forwardRegularizationOrders
static
Initial value:
= pexConfig.ListField(
dtype=int,
doc="Array showing which order derivatives to penalize (for forwardDifference only)",
default=(1, 2),
itemCheck=lambda x: (x > 0) and (x < 4)
)

Definition at line 479 of file psfMatch.py.

◆ kernelBasisSet

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.kernelBasisSet

Definition at line 450 of file psfMatch.py.

◆ lambdaMax

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaMax
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=2.0,
)

Definition at line 528 of file psfMatch.py.

◆ lambdaMin

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaMin
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=-1.0,
)

Definition at line 522 of file psfMatch.py.

◆ lambdaScaling

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaScaling
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="Fraction of the default lambda strength (N.R. 18.5.8) to use. 1e-4 or 1e-5",
default=1e-4,
)

Definition at line 507 of file psfMatch.py.

◆ lambdaStep

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaStep
static
Initial value:
= pexConfig.Field(
dtype=float,
doc=,
default=0.1,
)

Definition at line 534 of file psfMatch.py.

◆ lambdaStepType

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaStepType
static
Initial value:
= pexConfig.ChoiceField(
dtype=str,
doc=,
default="log",
allowed={
"log": "Step in log intervals; e.g. lambdaMin, lambdaMax, lambdaStep = -1.0, 2.0, 0.1",
"linear": "Step in linear intervals; e.g. lambdaMin, lambdaMax, lambdaStep = 0.1, 100, 0.1",
}
)

Definition at line 512 of file psfMatch.py.

◆ lambdaType

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaType
static
Initial value:
= pexConfig.ChoiceField(
dtype=str,
doc="How to choose the value of the regularization strength",
default="absolute",
allowed={
"absolute": "Use lambdaValue as the value of regularization strength",
"relative": "Use lambdaValue as fraction of the default regularization strength (N.R. 18.5.8)",
"minimizeBiasedRisk": "Minimize biased risk estimate",
"minimizeUnbiasedRisk": "Minimize unbiased risk estimate",
}
)

Definition at line 491 of file psfMatch.py.

◆ lambdaValue

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.lambdaValue
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="Value used for absolute determinations of regularization strength",
default=0.2,
)

Definition at line 502 of file psfMatch.py.

◆ maxConditionNumber

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.maxConditionNumber

Definition at line 451 of file psfMatch.py.

◆ regularizationBorderPenalty

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.regularizationBorderPenalty
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="Value of the penalty for kernel border pixels",
default=3.0,
check=lambda x: x >= 0.0
)

Definition at line 485 of file psfMatch.py.

◆ regularizationType

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.regularizationType
static
Initial value:
= pexConfig.ChoiceField(
dtype=str,
doc="Type of regularization.",
default="centralDifference",
allowed={
"centralDifference": "Penalize second derivative using 2-D stencil of central finite difference",
"forwardDifference": "Penalize first, second, third derivatives using forward finite differeces"
}
)

Definition at line 461 of file psfMatch.py.

◆ subtractMeanForPca

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.subtractMeanForPca

Definition at line 453 of file psfMatch.py.

◆ useBicForKernelBasis

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.useBicForKernelBasis

Definition at line 454 of file psfMatch.py.

◆ usePcaForSpatialKernel

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.usePcaForSpatialKernel

Definition at line 452 of file psfMatch.py.

◆ useRegularization

lsst.ip.diffim.psfMatch.PsfMatchConfigDF.useRegularization
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Use regularization to smooth the delta function kernels",
default=True,
)

Definition at line 456 of file psfMatch.py.


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