Class KernelSolution

Inheritance Relationships

Derived Types

Class Documentation

class KernelSolution

Subclassed by lsst::ip::diffim::SpatialKernelSolution, lsst::ip::diffim::StaticKernelSolution< InputT >

Public Types

enum KernelSolvedBy

Values:

NONE = 0
CHOLESKY_LDLT = 1
CHOLESKY_LLT = 2
LU = 3
EIGENVECTOR = 4
enum ConditionNumberType

Values:

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 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.

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.

Protected Static Attributes

int _SolutionId

Unique identifier for solution.