SpatialKernelSolution¶
-
class
lsst.ip.diffim.SpatialKernelSolution¶ Bases:
lsst.ip.diffim.KernelSolutionAttributes Summary
CHOLESKY_LDLTCHOLESKY_LLTEIGENVALUEEIGENVECTORLUNONESVDMethods Summary
addConstraint(self, xCenter, yCenter, qMat, …)getB(self)getConditionNumber(*args, **kwargs)Overloaded function. getId(self)getM(self)getSolutionPair(self)getSolvedBy(self)makeKernelImage(self, pos)printA(self)printB(self)printM(self)solve(self)Attributes Documentation
-
CHOLESKY_LDLT= <KernelSolvedBy.CHOLESKY_LDLT: 1>¶
-
CHOLESKY_LLT= <KernelSolvedBy.CHOLESKY_LLT: 2>¶
-
EIGENVALUE= <ConditionNumberType.EIGENVALUE: 0>¶
-
EIGENVECTOR= <KernelSolvedBy.EIGENVECTOR: 4>¶
-
LU= <KernelSolvedBy.LU: 3>¶
-
NONE= <KernelSolvedBy.NONE: 0>¶
-
SVD= <ConditionNumberType.SVD: 1>¶
Methods Documentation
-
addConstraint(self: lsst.ip.diffim.kernelSolution.SpatialKernelSolution, xCenter: float, yCenter: float, qMat: numpy.ndarray[numpy.float64[m, n]], wVec: numpy.ndarray[numpy.float64[m, 1]]) → None¶
-
getB(self: lsst.ip.diffim.kernelSolution.KernelSolution) → numpy.ndarray[numpy.float64[m, 1]]¶
-
getConditionNumber(*args, **kwargs)¶ Overloaded function.
- getConditionNumber(self: lsst.ip.diffim.kernelSolution.KernelSolution, conditionType: lsst.ip.diffim.kernelSolution.KernelSolution.ConditionNumberType) -> float
- getConditionNumber(self: lsst.ip.diffim.kernelSolution.KernelSolution, mMat: numpy.ndarray[numpy.float64[m, n]], conditionType: lsst.ip.diffim.kernelSolution.KernelSolution.ConditionNumberType) -> float
-
getId(self: lsst.ip.diffim.kernelSolution.KernelSolution) → int¶
-
getM(self: lsst.ip.diffim.kernelSolution.KernelSolution) → numpy.ndarray[numpy.float64[m, n]]¶
-
getSolutionPair(self: lsst.ip.diffim.kernelSolution.SpatialKernelSolution) → Tuple[lsst.afw.math.LinearCombinationKernel, lsst.afw.math.Function2D]¶
-
getSolvedBy(self: lsst.ip.diffim.kernelSolution.KernelSolution) → lsst.ip.diffim.kernelSolution.KernelSolution.KernelSolvedBy¶
-
makeKernelImage(self: lsst.ip.diffim.kernelSolution.SpatialKernelSolution, pos: lsst.geom.Point2D) → lsst.afw.image.image.ImageD¶
-
printA(self: lsst.ip.diffim.kernelSolution.KernelSolution) → None¶
-
printB(self: lsst.ip.diffim.kernelSolution.KernelSolution) → None¶
-
printM(self: lsst.ip.diffim.kernelSolution.KernelSolution) → None¶
-
solve(self: lsst.ip.diffim.kernelSolution.SpatialKernelSolution) → None¶
-