LSSTApplications
17.0+124,17.0+14,17.0+73,18.0.0+37,18.0.0+80,18.0.0-4-g68ffd23+4,18.1.0-1-g0001055+12,18.1.0-1-g03d53ef+5,18.1.0-1-g1349e88+55,18.1.0-1-g2505f39+44,18.1.0-1-g5315e5e+4,18.1.0-1-g5e4b7ea+14,18.1.0-1-g7e8fceb+4,18.1.0-1-g85f8cd4+48,18.1.0-1-g8ff0b9f+4,18.1.0-1-ga2c679d+1,18.1.0-1-gd55f500+35,18.1.0-10-gb58edde+2,18.1.0-11-g0997b02+4,18.1.0-13-gfe4edf0b+12,18.1.0-14-g259bd21+21,18.1.0-19-gdb69f3f+2,18.1.0-2-g5f9922c+24,18.1.0-2-gd3b74e5+11,18.1.0-2-gfbf3545+32,18.1.0-26-g728bddb4+5,18.1.0-27-g6ff7ca9+2,18.1.0-3-g52aa583+25,18.1.0-3-g8ea57af+9,18.1.0-3-gb69f684+42,18.1.0-3-gfcaddf3+6,18.1.0-32-gd8786685a,18.1.0-4-gf3f9b77+6,18.1.0-5-g1dd662b+2,18.1.0-5-g6dbcb01+41,18.1.0-6-gae77429+3,18.1.0-7-g9d75d83+9,18.1.0-7-gae09a6d+30,18.1.0-9-gc381ef5+4,w.2019.45
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 std::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 (Eigen::MatrixXd mMat, Eigen::VectorXd bVec, bool fitForBackground) | |
KernelSolution (bool fitForBackground) | |
KernelSolution () | |
virtual | ~KernelSolution () |
virtual void | solve () |
virtual void | solve (Eigen::MatrixXd const &mMat, Eigen::VectorXd const &bVec) |
KernelSolvedBy | getSolvedBy () |
virtual double | getConditionNumber (ConditionNumberType conditionType) |
virtual double | getConditionNumber (Eigen::MatrixXd const &mMat, ConditionNumberType conditionType) |
Eigen::MatrixXd const & | getM () |
Eigen::VectorXd const & | getB () |
void | printM () |
void | printB () |
void | printA () |
int | getId () const |
Protected Attributes | |
int | _id |
Unique ID for object. More... | |
Eigen::MatrixXd | _mMat |
Derived least squares M matrix. More... | |
Eigen::VectorXd | _bVec |
Derived least squares B vector. More... | |
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 31 of file KernelSolution.h.
typedef lsst::afw::image::Image<lsst::afw::math::Kernel::Pixel> lsst::ip::diffim::KernelSolution::ImageT |
Definition at line 35 of file KernelSolution.h.
Definition at line 34 of file KernelSolution.h.
Definition at line 33 of file KernelSolution.h.
Enumerator | |
---|---|
NONE | |
CHOLESKY_LDLT | |
CHOLESKY_LLT | |
LU | |
EIGENVECTOR |
Definition at line 37 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 56 of file KernelSolution.h.
|
inline |
Definition at line 65 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 69 of file KernelSolution.h.
|
inline |
Definition at line 64 of file KernelSolution.h.
|
inline |
Definition at line 60 of file KernelSolution.h.
|
inline |
Definition at line 68 of file KernelSolution.h.
|
inline |
Definition at line 67 of file KernelSolution.h.
|
inline |
Definition at line 66 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 75 of file KernelSolution.h.
|
protected |
Derived least squares B vector.
Definition at line 74 of file KernelSolution.h.
|
protected |
Background terms included in fit.
Definition at line 77 of file KernelSolution.h.
|
protected |
Unique ID for object.
Definition at line 72 of file KernelSolution.h.
|
protected |
Derived least squares M matrix.
Definition at line 73 of file KernelSolution.h.
|
staticprotected |
Unique identifier for solution.
Definition at line 78 of file KernelSolution.h.
|
protected |
Type of algorithm used to make solution.
Definition at line 76 of file KernelSolution.h.