LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <KernelSolution.h>
Public Types | |
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 | |
KernelSolution (boost::shared_ptr< Eigen::MatrixXd > mMat, boost::shared_ptr< Eigen::VectorXd > bVec, bool fitForBackground) | |
KernelSolution (bool fitForBackground) | |
KernelSolution () | |
virtual | ~KernelSolution () |
virtual void | solve () |
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 |
Protected Attributes | |
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 | |
static int | _SolutionId = 0 |
Unique identifier for solution. More... | |
Definition at line 30 of file KernelSolution.h.
typedef lsst::afw::image::Image<lsst::afw::math::Kernel::Pixel> lsst::ip::diffim::KernelSolution::ImageT |
Definition at line 34 of file KernelSolution.h.
Definition at line 33 of file KernelSolution.h.
typedef boost::shared_ptr<KernelSolution> lsst::ip::diffim::KernelSolution::Ptr |
Definition at line 32 of file KernelSolution.h.
Enumerator | |
---|---|
NONE | |
CHOLESKY_LDLT | |
CHOLESKY_LLT | |
LU | |
EIGENVECTOR |
Definition at line 36 of file KernelSolution.h.
|
explicit |
Definition at line 57 of file KernelSolution.cc.
|
explicit |
Definition at line 70 of file KernelSolution.cc.
|
explicit |
Definition at line 81 of file KernelSolution.cc.
|
inlinevirtual |
Definition at line 55 of file KernelSolution.h.
|
inline |
Definition at line 64 of file KernelSolution.h.
|
virtual |
Definition at line 94 of file KernelSolution.cc.
|
virtual |
Definition at line 98 of file KernelSolution.cc.
|
inline |
Definition at line 68 of file KernelSolution.h.
|
inline |
Definition at line 63 of file KernelSolution.h.
|
inline |
Definition at line 59 of file KernelSolution.h.
|
inline |
Definition at line 67 of file KernelSolution.h.
|
inline |
Definition at line 66 of file KernelSolution.h.
|
inline |
Definition at line 65 of file KernelSolution.h.
|
virtual |
Reimplemented in lsst::ip::diffim::SpatialKernelSolution, lsst::ip::diffim::RegularizedKernelSolution< InputT >, and lsst::ip::diffim::StaticKernelSolution< InputT >.
Definition at line 90 of file KernelSolution.cc.
|
virtual |
Definition at line 131 of file KernelSolution.cc.
|
protected |
Derived least squares solution matrix.
Definition at line 74 of file KernelSolution.h.
|
protected |
Derived least squares B vector.
Definition at line 73 of file KernelSolution.h.
|
protected |
Background terms included in fit.
Definition at line 76 of file KernelSolution.h.
|
protected |
Unique ID for object.
Definition at line 71 of file KernelSolution.h.
|
protected |
Derived least squares M matrix.
Definition at line 72 of file KernelSolution.h.
|
staticprotected |
Unique identifier for solution.
Definition at line 77 of file KernelSolution.h.
|
protected |
Type of algorithm used to make solution.
Definition at line 75 of file KernelSolution.h.