LSSTApplications  1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
BasisLists.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
12 #ifndef LSST_IP_DIFFIM_BASISSETS_H
13 #define LSST_IP_DIFFIM_BASISSETS_H
14 
15 #include "boost/shared_ptr.hpp"
16 
17 #include "Eigen/Core"
18 
19 #include "lsst/pex/policy/Policy.h"
20 #include "lsst/afw/math/Kernel.h"
21 
22 namespace lsst {
23 namespace ip {
24 namespace diffim {
25 
37  int width,
38  int height
39  );
40 
51  boost::shared_ptr<Eigen::MatrixXd> makeRegularizationMatrix(
53  );
54 
66  boost::shared_ptr<Eigen::MatrixXd> makeForwardDifferenceMatrix(
67  int width,
68  int height,
69  std::vector<int> const& orders,
70  float borderPenalty,
71  bool fitForBackground
72  );
73 
85  boost::shared_ptr<Eigen::MatrixXd> makeCentralDifferenceMatrix(
86  int width,
87  int height,
88  int stencil,
89  float borderPenalty,
90  bool fitForBackground
91  );
92 
109  lsst::afw::math::KernelList const &kernelListIn
110  );
111 
126  int halfWidth,
127  int nGauss,
128  std::vector<double> const& sigGauss,
129  std::vector<int> const& degGauss
130  );
131 
132 }}} // end of namespace lsst::ip::diffim
133 
134 #endif
lsst::afw::math::KernelList renormalizeKernelList(lsst::afw::math::KernelList const &kernelListIn)
Renormalize a list of basis kernels.
Definition: BasisLists.cc:420
Declare the Kernel class and subclasses.
a container for holding hierarchical configuration data in memory.
Definition: Policy.h:169
boost::shared_ptr< Eigen::MatrixXd > makeCentralDifferenceMatrix(int width, int height, int stencil, float borderPenalty, bool fitForBackground)
Build a central difference Laplacian regularization matrix for Delta function kernels.
Definition: BasisLists.cc:212
boost::shared_ptr< Eigen::MatrixXd > makeRegularizationMatrix(lsst::pex::policy::Policy policy)
Build a regularization matrix for Delta function kernels.
Definition: BasisLists.cc:151
lsst::afw::math::KernelList makeDeltaFunctionBasisList(int width, int height)
Build a set of Delta Function basis kernels.
Definition: BasisLists.cc:48
std::vector< boost::shared_ptr< Kernel > > KernelList
Definition: Kernel.h:542
boost::shared_ptr< Eigen::MatrixXd > makeForwardDifferenceMatrix(int width, int height, std::vector< int > const &orders, float borderPenalty, bool fitForBackground)
Build a forward difference regularization matrix for Delta function kernels.
Definition: BasisLists.cc:316
lsst::afw::math::KernelList makeAlardLuptonBasisList(int halfWidth, int nGauss, std::vector< double > const &sigGauss, std::vector< int > const &degGauss)
Build a set of Alard/Lupton basis kernels.
Definition: BasisLists.cc:79