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 | |
typedef boost::shared_ptr < StaticKernelSolution< InputT > > | 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 | |
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 lsst::afw::math::Kernel::Ptr | getKernel () |
virtual lsst::afw::image::Image < lsst::afw::math::Kernel::Pixel > ::Ptr | makeKernelImage () |
virtual double | getBackground () |
virtual double | getKsum () |
virtual std::pair < boost::shared_ptr < lsst::afw::math::Kernel > , double > | 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 |
Protected Member Functions | |
void | _setKernel () |
Set kernel after solution. More... | |
void | _setKernelUncertainty () |
Not implemented. More... | |
Protected Attributes | |
boost::shared_ptr < Eigen::MatrixXd > | _cMat |
K_i x R. More... | |
boost::shared_ptr < Eigen::VectorXd > | _iVec |
Vectorized I. More... | |
boost::shared_ptr < Eigen::VectorXd > | _ivVec |
Inverse variance. More... | |
lsst::afw::math::Kernel::Ptr | _kernel |
Derived single-object convolution kernel. More... | |
double | _background |
Derived differential background estimate. More... | |
double | _kSum |
Derived kernel sum. More... | |
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... | |
Additional Inherited Members | |
Static Protected Attributes inherited from lsst::ip::diffim::KernelSolution | |
static int | _SolutionId = 0 |
Unique identifier for solution. More... | |
Definition at line 82 of file KernelSolution.h.
typedef boost::shared_ptr<StaticKernelSolution<InputT> > lsst::ip::diffim::StaticKernelSolution< InputT >::Ptr |
Definition at line 84 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 88 of file KernelSolution.h.
|
protected |
Set kernel after solution.
Definition at line 433 of file KernelSolution.cc.
|
protected |
|
virtual |
Definition at line 261 of file KernelSolution.cc.
|
virtual |
Definition at line 235 of file KernelSolution.cc.
|
virtual |
Definition at line 215 of file KernelSolution.cc.
|
virtual |
Definition at line 243 of file KernelSolution.cc.
|
virtual |
Definition at line 252 of file KernelSolution.cc.
|
virtual |
Definition at line 223 of file KernelSolution.cc.
|
virtual |
Reimplemented from lsst::ip::diffim::KernelSolution.
Reimplemented in lsst::ip::diffim::RegularizedKernelSolution< InputT >.
Definition at line 401 of file KernelSolution.cc.
|
protected |
Derived differential background estimate.
Definition at line 109 of file KernelSolution.h.
|
protected |
K_i x R.
Definition at line 104 of file KernelSolution.h.
|
protected |
Vectorized I.
Definition at line 105 of file KernelSolution.h.
|
protected |
Inverse variance.
Definition at line 106 of file KernelSolution.h.
|
protected |
Derived single-object convolution kernel.
Definition at line 108 of file KernelSolution.h.
|
protected |
Derived kernel sum.
Definition at line 110 of file KernelSolution.h.