|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
#include <KernelSolution.h>
Public Types | |
| typedef boost::shared_ptr < SpatialKernelSolution > | Ptr |
Public Types inherited from lsst::ip::diffim::KernelSolution | |
| enum | KernelSolvedBy { NONE = 0, CHOLESKY_LDLT = 1, CHOLESKY_LLT = 2, LU = 3, EIGENVECTOR = 4 } |
| enum | ConditionNumberType { EIGENVALUE = 0, SVD = 1 } |
| typedef boost::shared_ptr < KernelSolution > | Ptr |
| typedef lsst::afw::math::Kernel::Pixel | PixelT |
| typedef lsst::afw::image::Image < lsst::afw::math::Kernel::Pixel > | ImageT |
Public Member Functions | |
| SpatialKernelSolution (lsst::afw::math::KernelList const &basisList, lsst::afw::math::Kernel::SpatialFunctionPtr spatialKernelFunction, lsst::afw::math::Kernel::SpatialFunctionPtr background, lsst::pex::policy::Policy policy) | |
| virtual | ~SpatialKernelSolution () |
| void | addConstraint (float xCenter, float yCenter, boost::shared_ptr< Eigen::MatrixXd > qMat, boost::shared_ptr< Eigen::VectorXd > wVec) |
| void | solve () |
| lsst::afw::image::Image < lsst::afw::math::Kernel::Pixel > ::Ptr | makeKernelImage (lsst::afw::geom::Point2D const &pos) |
| std::pair < lsst::afw::math::LinearCombinationKernel::Ptr, lsst::afw::math::Kernel::SpatialFunctionPtr > | getSolutionPair () |
Public Member Functions inherited from lsst::ip::diffim::KernelSolution | |
| KernelSolution (boost::shared_ptr< Eigen::MatrixXd > mMat, boost::shared_ptr< Eigen::VectorXd > bVec, bool fitForBackground) | |
| KernelSolution (bool fitForBackground) | |
| KernelSolution () | |
| virtual | ~KernelSolution () |
| virtual void | solve (Eigen::MatrixXd mMat, Eigen::VectorXd bVec) |
| KernelSolvedBy | getSolvedBy () |
| virtual double | getConditionNumber (ConditionNumberType conditionType) |
| virtual double | getConditionNumber (Eigen::MatrixXd mMat, ConditionNumberType conditionType) |
| boost::shared_ptr < Eigen::MatrixXd > | getM () |
| boost::shared_ptr < Eigen::VectorXd > | getB () |
| void | printM () |
| void | printB () |
| void | printA () |
| int | getId () const |
Private Member Functions | |
| void | _setKernel () |
| Set kernel after solution. More... | |
| void | _setKernelUncertainty () |
| Not implemented. More... | |
Private Attributes | |
| lsst::afw::math::Kernel::SpatialFunctionPtr | _spatialKernelFunction |
| Spatial function for Kernel. More... | |
| bool | _constantFirstTerm |
| Is the first term constant. More... | |
| lsst::afw::math::LinearCombinationKernel::Ptr | _kernel |
| Spatial convolution kernel. More... | |
| lsst::afw::math::Kernel::SpatialFunctionPtr | _background |
| Spatial background model. More... | |
| double | _kSum |
| Derived kernel sum. More... | |
| lsst::pex::policy::Policy | _policy |
| Policy to control processing. More... | |
| int | _nbases |
| Number of basis functions. More... | |
| int | _nkt |
| Number of kernel terms. More... | |
| int | _nbt |
| Number of background terms. More... | |
| int | _nt |
| Total number of terms. More... | |
Additional Inherited Members | |
Protected Attributes inherited from lsst::ip::diffim::KernelSolution | |
| int | _id |
| Unique ID for object. More... | |
| boost::shared_ptr < Eigen::MatrixXd > | _mMat |
| Derived least squares M matrix. More... | |
| boost::shared_ptr < Eigen::VectorXd > | _bVec |
| Derived least squares B vector. More... | |
| boost::shared_ptr < Eigen::VectorXd > | _aVec |
| Derived least squares solution matrix. More... | |
| KernelSolvedBy | _solvedBy |
| Type of algorithm used to make solution. More... | |
| bool | _fitForBackground |
| Background terms included in fit. More... | |
Static Protected Attributes inherited from lsst::ip::diffim::KernelSolution | |
| static int | _SolutionId = 0 |
| Unique identifier for solution. More... | |
Definition at line 173 of file KernelSolution.h.
| typedef boost::shared_ptr<SpatialKernelSolution> lsst::ip::diffim::SpatialKernelSolution::Ptr |
Definition at line 175 of file KernelSolution.h.
| lsst::ip::diffim::SpatialKernelSolution::SpatialKernelSolution | ( | lsst::afw::math::KernelList const & | basisList, |
| lsst::afw::math::Kernel::SpatialFunctionPtr | spatialKernelFunction, | ||
| lsst::afw::math::Kernel::SpatialFunctionPtr | background, | ||
| lsst::pex::policy::Policy | policy | ||
| ) |
Definition at line 1333 of file KernelSolution.cc.
|
inlinevirtual |
Definition at line 184 of file KernelSolution.h.
|
private |
Set kernel after solution.
Definition at line 1538 of file KernelSolution.cc.
|
private |
Not implemented.
| void lsst::ip::diffim::SpatialKernelSolution::addConstraint | ( | float | xCenter, |
| float | yCenter, | ||
| boost::shared_ptr< Eigen::MatrixXd > | qMat, | ||
| boost::shared_ptr< Eigen::VectorXd > | wVec | ||
| ) |
Definition at line 1387 of file KernelSolution.cc.
| std::pair< afwMath::LinearCombinationKernel::Ptr, afwMath::Kernel::SpatialFunctionPtr > lsst::ip::diffim::SpatialKernelSolution::getSolutionPair | ( | ) |
Definition at line 1530 of file KernelSolution.cc.
| lsst::afw::image::Image< lsst::afw::math::Kernel::Pixel >::Ptr lsst::ip::diffim::SpatialKernelSolution::makeKernelImage | ( | lsst::afw::geom::Point2D const & | pos | ) |
Definition at line 1500 of file KernelSolution.cc.
|
virtual |
Reimplemented from lsst::ip::diffim::KernelSolution.
Definition at line 1511 of file KernelSolution.cc.
|
private |
Spatial background model.
Definition at line 200 of file KernelSolution.h.
|
private |
Is the first term constant.
Definition at line 197 of file KernelSolution.h.
|
private |
Spatial convolution kernel.
Definition at line 199 of file KernelSolution.h.
|
private |
Derived kernel sum.
Definition at line 201 of file KernelSolution.h.
|
private |
Number of basis functions.
Definition at line 204 of file KernelSolution.h.
|
private |
Number of background terms.
Definition at line 206 of file KernelSolution.h.
|
private |
Number of kernel terms.
Definition at line 205 of file KernelSolution.h.
|
private |
Total number of terms.
Definition at line 207 of file KernelSolution.h.
|
private |
Policy to control processing.
Definition at line 203 of file KernelSolution.h.
|
private |
Spatial function for Kernel.
Definition at line 196 of file KernelSolution.h.
1.8.5