LSST Applications g0fba68d861+5b9ba6aee1,g1ec0fe41b4+e220e2fb2f,g1fd858c14a+120b017347,g35bb328faa+fcb1d3bbc8,g4d2262a081+57a06a8609,g53246c7159+fcb1d3bbc8,g56a49b3a55+8d793c2a3d,g60b5630c4e+4e8d433789,g60dcce3b99+6eff471efc,g67b6fd64d1+fad15079a7,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8180f54f50+65cb53bb37,g8352419a5c+fcb1d3bbc8,g8852436030+ae791ba189,g89139ef638+fad15079a7,g9125e01d80+fcb1d3bbc8,g94187f82dc+4e8d433789,g989de1cb63+fad15079a7,g9ccd5d7f00+cce09d2c12,g9d31334357+4e8d433789,g9f33ca652e+323fd354f8,gabe3b4be73+1e0a283bba,gabf8522325+94c30d56e9,gb1101e3267+5e0f808207,gb58c049af0+f03b321e39,gb89ab40317+fad15079a7,gc0af124501+a88dc73679,gcf25f946ba+ae791ba189,gd6cbbdb0b4+8d7f1baacb,gdb1c4ca869+16879ca1a6,gde0f65d7ad+11b49afd66,ge1ad929117+4e8d433789,ge278dab8ac+4d6e48c014,ge410e46f29+fad15079a7,gf5e32f922b+fcb1d3bbc8,gf618743f1b+8ff1364817,gf67bdafdda+fad15079a7,w.2025.17
LSST Data Management Base Package
|
#include <KernelSolution.h>
Public Types | |
typedef std::shared_ptr< StaticKernelSolution< InputT > > | Ptr |
enum | KernelSolvedBy { NONE = 0 , CHOLESKY_LDLT = 1 , CHOLESKY_LLT = 2 , LU = 3 , EIGENVECTOR = 4 } |
enum | ConditionNumberType { EIGENVALUE = 0 , SVD = 1 } |
typedef lsst::afw::math::Kernel::Pixel | PixelT |
typedef lsst::afw::image::Image< lsst::afw::math::Kernel::Pixel > | ImageT |
Public Member Functions | |
StaticKernelSolution (lsst::afw::math::KernelList const &basisList, bool fitForBackground) | |
virtual | ~StaticKernelSolution () |
void | solve () |
virtual void | build (lsst::afw::image::Image< InputT > const &templateImage, lsst::afw::image::Image< InputT > const &scienceImage, lsst::afw::image::Image< lsst::afw::image::VariancePixel > const &varianceEstimate) |
virtual std::shared_ptr< lsst::afw::math::Kernel > | getKernel () |
virtual std::shared_ptr< lsst::afw::image::Image< lsst::afw::math::Kernel::Pixel > > | makeKernelImage () |
virtual double | getBackground () |
virtual double | getKsum () |
virtual std::pair< std::shared_ptr< lsst::afw::math::Kernel >, double > | getSolutionPair () |
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 Member Functions | |
void | _setKernel () |
Set kernel after solution. | |
void | _setKernelUncertainty () |
Not implemented. | |
Protected Attributes | |
Eigen::MatrixXd | _cMat |
K_i x R. | |
Eigen::VectorXd | _iVec |
Vectorized I. | |
Eigen::VectorXd | _ivVec |
Inverse variance. | |
std::shared_ptr< lsst::afw::math::Kernel > | _kernel |
Derived single-object convolution kernel. | |
double | _background |
Derived differential background estimate. | |
double | _kSum |
Derived kernel sum. | |
int | _id |
Unique ID for object. | |
Eigen::MatrixXd | _mMat |
Derived least squares M matrix. | |
Eigen::VectorXd | _bVec |
Derived least squares B vector. | |
Eigen::VectorXd | _aVec |
Derived least squares solution matrix. | |
KernelSolvedBy | _solvedBy |
Type of algorithm used to make solution. | |
bool | _fitForBackground |
Background terms included in fit. | |
Static Protected Attributes | |
static int | _SolutionId = 0 |
Unique identifier for solution. | |
Definition at line 83 of file KernelSolution.h.
|
inherited |
Definition at line 35 of file KernelSolution.h.
|
inherited |
Definition at line 34 of file KernelSolution.h.
typedef std::shared_ptr<StaticKernelSolution<InputT> > lsst::ip::diffim::StaticKernelSolution< InputT >::Ptr |
Definition at line 85 of file KernelSolution.h.
|
inherited |
Enumerator | |
---|---|
EIGENVALUE | |
SVD |
Definition at line 45 of file KernelSolution.h.
|
inherited |
Enumerator | |
---|---|
NONE | |
CHOLESKY_LDLT | |
CHOLESKY_LLT | |
LU | |
EIGENVECTOR |
Definition at line 37 of file KernelSolution.h.
lsst::ip::diffim::StaticKernelSolution< InputT >::StaticKernelSolution | ( | lsst::afw::math::KernelList const & | basisList, |
bool | fitForBackground ) |
Definition at line 195 of file KernelSolution.cc.
|
inlinevirtual |
Definition at line 89 of file KernelSolution.h.
|
protected |
Set kernel after solution.
Definition at line 423 of file KernelSolution.cc.
|
protected |
Not implemented.
Definition at line 463 of file KernelSolution.cc.
|
virtual |
Definition at line 261 of file KernelSolution.cc.
|
inlineinherited |
Definition at line 65 of file KernelSolution.h.
|
virtual |
Definition at line 235 of file KernelSolution.cc.
|
virtualinherited |
Definition at line 94 of file KernelSolution.cc.
|
virtualinherited |
Definition at line 98 of file KernelSolution.cc.
|
inlineinherited |
Definition at line 69 of file KernelSolution.h.
|
virtual |
Definition at line 215 of file KernelSolution.cc.
|
virtual |
Definition at line 243 of file KernelSolution.cc.
|
inlineinherited |
Definition at line 64 of file KernelSolution.h.
|
virtual |
Definition at line 252 of file KernelSolution.cc.
|
inlineinherited |
Definition at line 60 of file KernelSolution.h.
|
virtual |
Definition at line 223 of file KernelSolution.cc.
|
inlineinherited |
Definition at line 68 of file KernelSolution.h.
|
inlineinherited |
Definition at line 67 of file KernelSolution.h.
|
inlineinherited |
Definition at line 66 of file KernelSolution.h.
|
virtualinherited |
Definition at line 131 of file KernelSolution.cc.
|
virtual |
Reimplemented from lsst::ip::diffim::KernelSolution.
Definition at line 397 of file KernelSolution.cc.
|
protectedinherited |
Derived least squares solution matrix.
Definition at line 75 of file KernelSolution.h.
|
protected |
Derived differential background estimate.
Definition at line 110 of file KernelSolution.h.
|
protectedinherited |
Derived least squares B vector.
Definition at line 74 of file KernelSolution.h.
|
protected |
K_i x R.
Definition at line 105 of file KernelSolution.h.
|
protectedinherited |
Background terms included in fit.
Definition at line 77 of file KernelSolution.h.
|
protectedinherited |
Unique ID for object.
Definition at line 72 of file KernelSolution.h.
|
protected |
Vectorized I.
Definition at line 106 of file KernelSolution.h.
|
protected |
Inverse variance.
Definition at line 107 of file KernelSolution.h.
|
protected |
Derived single-object convolution kernel.
Definition at line 109 of file KernelSolution.h.
|
protected |
Derived kernel sum.
Definition at line 111 of file KernelSolution.h.
|
protectedinherited |
Derived least squares M matrix.
Definition at line 73 of file KernelSolution.h.
|
staticprotectedinherited |
Unique identifier for solution.
Definition at line 78 of file KernelSolution.h.
|
protectedinherited |
Type of algorithm used to make solution.
Definition at line 76 of file KernelSolution.h.